aspose file tools*
The moose likes Beginning Java and the fly likes Java Art Program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Art Program" Watch "Java Art Program" New topic
Author

Java Art Program

brat mart
Greenhorn

Joined: Jul 22, 2007
Posts: 2
ok i got help from a different forum.. and i think they are messing with me on the answer.. i am on a mac right now and am unable to run the code to see/

here is the problem then ill post the code they gave me.. can some one tell me if they screwed me over please.

Design a Java art program that will give an artist a great variety of capabilities to draw, use images and use animations to create a dynamic multimedia art display

here is the code that was given to me

Edit by marc weber: Removed code. See my response below.
[ July 22, 2007: Message edited by: marc weber ]
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by brat mart:
...i am on a mac right now and am unable to run the code...

Welcome to JavaRanch!

Hmmm... A Mac should make it all the easier to run, because Java should be fully installed and ready to go.

Yes, they were messing with you. You don't want to run this code. Between the constructor and the run method you have an infinite series of calls that will keep creating and starting new threads forever (or until you run out of memory), positioning new JFrames randomly on your screen. Furthermore, that byte array ca3 is a "hidden" message that will show up as a JLabel. It says, "You shouldn't wait til the last minute to do your Java projects!"

We won't mess with you here, but you will need to show some effort. What, specifically, is your question about this project? Where is the code that you've written, and where are you having problems?
[ July 22, 2007: Message edited by: marc weber ]

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

"brat mart,"

Please check your private messages (by clicking on "My Profile").

Thanks,
Marc
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Art Program