Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2009, 09:50 AM
Member
 
Join Date: Apr 2009
Posts: 1
Rep Power: 0
alphajoseph is on a distinguished road
Default drawing shapes in java help
friends
i need to draw shapes on a JPanel or consider a GUI

Is there any designer for this like the visual editor where you can drag and drop components onto the window????

I cant keep drawing from the program because it will be a tedious job for me as i have got a complicated diagram.

Any quick help is appreciated

Last edited by alphajoseph; 04-01-2009 at 01:13 PM.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 09-17-2009, 04:17 PM
Member
 
Join Date: Sep 2009
Posts: 16
Rep Power: 0
THEAniKan is on a distinguished road
Default
I can't really help U all that much, but it may be usefull if U drew out your diagram on paper, and then using trial and error, figured out all the points.

Or u could just draw the diagram in a image file, and just draw the image in the JPanel's draw event. Do do this, U'd have to make a new class that extends JPanel, and then use it in the place of a regular JPanel in ur main class.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 09-29-2009, 07:35 PM
Member
 
Join Date: Sep 2009
Posts: 5
Rep Power: 0
oxano is on a distinguished road
Default
About what kind of shapes are we talking about?
Ow just noticed the topic startes posted this in april. ^^
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting User Input to Drawing Shapes mlfatty AWT / Swing 2 03-04-2009 07:36 AM
randomly moving shapes marlon New To Java 1 02-25-2009 01:30 PM
Colors and shapes. Torgero New To Java 14 10-13-2008 06:25 PM
Help with basic shapes in java carl Java 2D 1 08-01-2007 12:40 AM
Help, basic shapes using java coco AWT / Swing 1 07-31-2007 09:52 PM


All times are GMT +2. The time now is 03:41 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org