File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTable doesn't show in an executable JAR file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable doesn Watch "JTable doesn New topic

JTable doesn't show in an executable JAR file

Jeffry Kristianto Yanuar
Ranch Hand

Joined: Oct 01, 2007
Posts: 759
Hi, My name is Jeffry, I have a problem with my application.

I create the application that contain the JTable with the data in it. When I run this application with NetBeans, Everything is OK (the JTable is showed with the data in it). When I build this application into the executable JAR file and I run that JAR file with mouse (double-click), The JTable is'n showed (The JFrame is still showed). And when I run that JAR file with command-line, the JTable is showed up with the data in it just like I run the application with NetBeans.

Can you help me with this thing please ?

This is my thesis project so It's very important to me.


Jeffry Kristianto Yanuar
It is sorta covered in the JavaRanch Style Guide.
subject: JTable doesn't show in an executable JAR file