• Post Reply Bookmark Topic Watch Topic
  • New Topic

component help...  RSS feed

 
ashutosh mondal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..
Can anyone pleases help me with the following scenario..

well i am new to swings... i have to develop a window such that i can display some geometrical shape on click of one button and when i click another button the some geometrical transformation should be applied to the same figure and it should be displayed... how and where do i display the shape?? should i use a canvas??

Thanks
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Canvas is mostly used with AWT GUIs, not Swing GUIs. You can do the drawing on a JPanel.

By the way, SwingIsAProperNoun.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!