• Post Reply Bookmark Topic Watch Topic
  • New Topic

swing platform independent?

 
ashis behera
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is swing platform independent?

if yes how?

if no reason!!!

please answer!!!
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Independent of what???
 
Campbell Ritchie
Marshal
Posts: 52543
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I can get the same Swing code to work on Linux and on Windows . . .
 
Rob Spoor
Sheriff
Posts: 20817
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both Swing and AWT are platform independant - as long as there is a JVM for that platform.

The thing about Swing that isn't completely platform independant is the look&feels - I've tried but wasn't able to get the GTK L&F to run under Windows, and I guess it will be equally hard to get the Windows L&F to run under any non-Windows OS.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!