Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

basic concept for swing

 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, goood day, can someone please guide me on basic of swing application , i currently have a project for desktop application , which suppose have multiple pages ..

to create an application, we need to create a window first right? then panel ? then apply layout ..and add components like button and so on ..

i'm not really clear on the above mentioned concept, is that any article or references for these ?


thank you very much for guidance
 
tito bayuadji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swing is quite massive topic(exagerate mode on ), but the bottom line is to make an application you make instead of window you make a frame, than add a component on it.

perhaps you can browse java.sun.com or javadesktop.org
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can start from here.

http://java.sun.com/docs/books/tutorial/uiswing/

 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for reply , can i say the botton line with this ?

window --> frame ---> panel --> components ?
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to finish ur swing in just one line

window --> frame ---> panel --> components ?


There are many more things to learn in swing

 
Stephen Boston
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frame then Panel then Components.

Maybe this will help.
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for warm reply ...and sample from Stephen Boston ...thank you very much
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!