siva
siva

Reputation: 1145

JNLP not loading properly during loadtime

I have a Swing app, that I start using JNLP. When I start using JNLP, the UI does not load fully. Like only the top task-bar loads but when the button in the task-bar is clicked, which is used to connect to Database, then the whole app loads properly. It's like only the portion required are loaded rest of the window is blank which is undesirable.

I believe this is not to do with the networking latency since I have my jars in my system itself.

Can somebody help me why this one occurs and how to resolve this?

Upvotes: 0

Views: 156

Answers (2)

siva
siva

Reputation: 1145

the app works fine when the missing jar was added

Upvotes: 0

Andrew Thompson
Andrew Thompson

Reputation: 168825

  • Ensure all GUI construction & update is performed on the EDT. See Concurrency in Swing for more details.
  • Be sure to check the JNLP using JaNeLA.

Upvotes: 2

Related Questions