• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add buttons by swing

 
syed quadri
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i want to add buttons by using swing i dont know how to add buttons in the frame any budy can explain how to add buttons in a frame.....
 
Tony Docherty
Bartender
Posts: 2971
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Swing forum.
 
Tony Docherty
Bartender
Posts: 2971
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
syed quadri wrote:hi i want to add buttons by using swing i dont know how to add buttons in the frame any budy can explain how to add buttons in a frame.....

Please TellTheDetails (← click).
Do you want to create a program with a GUI which has buttons in it or do you want to add new buttons once the GUI is displayed ie in response to a user action.
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or you can go through Tutorial and learn basics of developing GUI with Swing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic