Link to home
Start Free TrialLog in
Avatar of ivan rosa
ivan rosaFlag for United States of America

asked on

Java program

I kindly need to Write a graphical application overriding the paint method of the JFrame class. Inside it, cast the Graphics object to a Graphics2D object and draw a dashed, rounded rectangle. The length of the dashes should be no longer than the length of the spaces between the dashes. The Hint they gave me is : Look up the Graphics2D, BasicStroke, and RoundRectangle2D.Double classes in the Java Class
Library.
Avatar of mccarl
mccarl
Flag of Australia image

What do you have so far?  We can't write the code for you, you need to have a go and then ask specific questions on points that you are stuck on.
Avatar of ivan rosa

ASKER

unfortunately I got nothing, this is just school homework... and I literally pasted like itbwas giving into me, and since I don't know where to start I was hoping somebody gave me any ideas...
ASKER CERTIFIED SOLUTION
Avatar of Am P
Am P
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial