Forums Register Login

View not coming after certain screen

+Pie Number of slices to send: Send
Hi,

I am very new to swing.

I am having a class call Navigation View which has two button. Each button will take us to the next screen.

The issues is when run the application from Netbeans, it works fine but when I download from the webserver as a webstart and run the jnlp file, it doesn't take me beyond the Navigation View. Any button I click, there is no response.

I have used jDesktop in this application. All the views are JFrame.

Following is the code for the action performed on the button pressed in the Navigation view.


Following is the code inside "ClientApplication.getApplication()"

Please help me to understand and solve this problem.
+Pie Number of slices to send: Send
Some more clue i got.

I have two threads getting executed from the FileView JFrame.

If I have these two threads executed from the constructor of the FileView then I dont see any the screen.

If I have these two threads started outside the constructor then I can see the View by these two threads are not executed. Weird

I am not sure why Swing is behaving like this.

PLease help me out with this.
+Pie Number of slices to send: Send
 

Anant Jagania wrote:I have two threads getting executed from the FileView JFrame.

If I have these two threads executed from the constructor of the FileView then I dont see any the screen.

If I have these two threads started outside the constructor then I can see the View by these two threads are not executed. Weird

I am not sure why Swing is behaving like this.


You aren't doing any user interface updates from those threads, are you? Please read concurrency in Swing.
Morning came much too soon and it brought along a friend named Margarita Hangover, and a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1220 times.
Similar Threads
Which Package to Import to Use FacesContext's getRequestMap()?
jsessionid in URL
EL in views and outcomes?
navigation issue
Problem with Trinidad's Dialog box.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:18:38.