Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AWT or SWIN G in GUI?  RSS feed

 
nikunj jhala
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

1) i have done programming with Swing. but actually i want to know which package is actually used in real application (if java is used to develop windows Application) to develop gui??

2) i know that swing has it's own look & feel . all that theroy points i know very well that swing tool kit is non peer based tool kit, but clear my concept technically that swing component get what ever default look (color,size,font etc) that are not provided by Operation System means Swing is not attached with OS there for we said that SWING is not platform depanded???
clear my view is it correct what i observer or Not ? give your view.

thanks
 
Joe Vahabzadeh
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, when I've been working on projects, it's always been Swing.

The only thing that I was a part of that used AWT was in the very early days of Java when Swing wasn't developed. At least that was the reason I was given, although I didn't do the GUI on that myself, so I may have misunderstood.



As to your second point - if I understand you correctly, you're right, Swing is not platform dependent. It can be set to use the OS's native look and feel, but that is the programmer's option, not a requirement.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!