• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems on making desktop application using java

 
Ranch Hand
Posts: 38
Oracle Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how do i make a desktop application when org.jdesktopapplication package doesnt exist. i already checked my libraries. the specific swing library is inexistent
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
joseph dela cruz
Ranch Hand
Posts: 38
Oracle Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suggest you go through the Swing tutorial and start building GUIs starting with the simplest screen.
 
joseph dela cruz
Ranch Hand
Posts: 38
Oracle Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 38
Oracle Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ahhhh ty ty i havent read that page ty for the link
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome.
 
reply
    Bookmark Topic Watch Topic
  • New Topic