File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I'm trying to draw something, but it doesn't show up

 
Andrew McCarthy
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm in a java class at my college, and for the lab I had to come up with a code that would make a spirograph (technically an epicycloid). But the code I came up with just opens a blank screen. Can anyone tell me what it needs in order to show the lines? (If you go to Wikipedia and look up epicycloid, there will be an example of what I'm trying to do)

 
Paul Clapham
Sheriff
Pie
Posts: 20177
25
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That entirely depends on how your StdDraw class works. It isn't part of the standard Java API, so you can't really expect people to know about it.
 
Andrew McCarthy
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah, I see. Alright, thank you very much.
 
Paul Clapham
Sheriff
Pie
Posts: 20177
25
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not that you shouldn't post a question about it... I meant that you should post the code for that class, or if you don't have that then you should post the specs for the methods, or something like that.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic