|
-
July 9th, 2009, 01:32 PM
#1
GUI .jar problems
Hi,
I've been trying to construct a GUI using netbeans. However, today was the 1st time I ran it via the .jar file. The GUI loaded up fine, but the minute I tried to make it load a file and hit next, I got this error:
Code:
(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
The place I got this error is within a Jtextarea where I display the console System output. The irnonic thing is that it does do what its supposed to (loads data into a mySQL table), but it gives me this problem. And I have no idea why.
Before, it was giving me a slightly different error when I was using setCursor, I erased that part of the code hoping that it was giving the error. But unfortunately not ....
Despite that output, I am able to go around the other features of my GUI. But the output message in the textarea never gets updated, it stays the same as above. Even though, it should as I perform different functions ...
Last edited by worldChanger; July 9th, 2009 at 01:41 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|