Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to run swing application

 
Siddhesh Desai
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all i am very new with swing in my web base application i want to insert drag and drop facility using swing is anybody tell me about it?how to compile and where i have to run apllication also what jdk it required?
please help me
vivek
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this is a web-based application, that means that the Java code will run on the server, not the desktop; Swing has to run on the user's desktop.

You could consider using an applet in your web-based application, though. An applet is Java code that is sent to the browser to be executed. Not all users will have Swing-capable browsers, though, so it's generally something you'd want to avoid.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic