Avatar of ivan rosa
ivan rosa
Flag 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.
JavaProgramming

Avatar of undefined
Last Comment
Am P

8/22/2022 - Mon
mccarl

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.
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
Am P

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy