File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Problems on making desktop application using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problems on making desktop application using java" Watch "Problems on making desktop application using java" New topic
Author

Problems on making desktop application using java

joseph dela cruz
Ranch Hand

Joined: May 17, 2012
Posts: 38

how do i make a desktop application when org.jdesktopapplication package doesnt exist. i already checked my libraries. the specific swing library is inexistent
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

First off, org.jdesktopapplication isn't a Swing (not 'swing') package or library. Second, it isn't necessary for creating a desktop application.

I fail to understand your problem.


luck, db
There are no new questions, but there may be new answers.
joseph dela cruz
Ranch Hand

Joined: May 17, 2012
Posts: 38

i just cant make a desktop application whenever i built it in netbeans or built it in cmd it just shows nothing. do i have to put someting in command line arguments? i just dont know how to do it
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1076
    
  10

I suggest you go through the Swing tutorial and start building GUIs starting with the simplest screen.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
joseph dela cruz
Ranch Hand

Joined: May 17, 2012
Posts: 38

i already looked there i even tried to learn to swing manually. i can already make an application with swing manually but if i have to run them i have to press shift F6 in netbeans. now i want to learn how to deploy them in a distributable manner and i do not know how to do it please help what do i lack? am i doing something wrong?. what is it that org.jdesktopapplication have that when its built it runs unlike in a regular build it wont run
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1076
    
  10

If you have gone through the tutorial and are able to build and run Swing applications, then you would have found that there is no 'org.jdesktop' stuff there. So, I don't understand the question about that.

Shift + F6 is just a shortcut in the NetBeans IDE to run the 'current' file which has a main method. It is same as executing the command line 'java <<MainClassName>>'.

To distribute this application, you need to build an executable jar file. You can learn all about jar files in this tutorial
joseph dela cruz
Ranch Hand

Joined: May 17, 2012
Posts: 38

ahhhh ty ty i havent read that page ty for the link
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1076
    
  10

You're welcome.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems on making desktop application using java
 
Similar Threads
Context Share between 2 Web Apps
Standalone applications
importing one desktop application in other
Expert advice on keeping the value of a Vector in memory.
Java Flash Integration