Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Swing / AWT / SWT and the fly likes how to run swing application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to run swing application" Watch "how to run swing application" New topic

how to run swing application

Siddhesh Desai

Joined: Jun 28, 2004
Posts: 9
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
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189

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.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: how to run swing application