• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

"Java Applet Window" message

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm not good at gui and i just found a small unwanted problem with my gui. i used a couple JOptionPane/JDialogs to display success/error messages.
when the user does everything right, the message boxes show up correctly. but when some exceptions happen (like i shut down server), then the message boxes always have a "Java Applet Window" status-bar-like line at the bottom of them(not wanted), and then the message boxes become resizable(not wanted). even after i reset server correctly or use local db, the status bar is still there unless i restart everything(registry/server/client).
any ideas? thanks a lot!
 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:
I had also this problem. Use try catch block. If exception does not occur then only use your JOption OR JDialogs, it will solve your problem.
Hope it helps. -Bal
 
It means our mission is in jeapordy! Quick, read this tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic