Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4427

Re: Strange problem with

From "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this>
Subject Re: Strange problem with
Message-ID <6ngjd2FljpiuU1@mid.individual.net> (permalink)
Newsgroups comp.lang.java.gui
References <2ea23d94-03d4-4f99-a11b-26b7bb9a8a51@n33g2000pri.googlegroups.com>
Date 2011-04-27 15:50 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Deepanshu, 06.11.2008 15:16:
> Hi All,
> 
>   I have a strange problem with my JAVA GUIs running on GNOME desktop.
> The GUIs appear broken(No static text is displayed) when I am running
> my application with Java 1.4 or 1.5 but appear to be running fine when
> I use Java1.6. The dialogs are created using JOptionDialog and the
> parent frame(JFrame) has a look and feel set by getSystemLookAndFeel.
> The issues got fixed to an extent by using metalLookAndFeel but still
> dialogs are not behaving correctly.
> 
> When using Java 1.4 or 1.5 if I resize the dialog then the information
> on the dialog shows up but this is creating application entirely
> unusable.
> 
> Unfortunately, I am unable to post any code on the forum :(
> 
> In case anybody has come across such issue earlier or can point me to
> some way to fix it will be highly appreciated.
> 

In my experience the GTK Look & Feel that is selected on the Gnome Desktop behaves completely different compared e.g. to the Metal Look & Feel. I had several cases were the order of events during creation of my Windows and Panels were different compared to other look and feels and thus certain objects were not yet initialized which led to NPEs during startup and opening of windows.

Thomas

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Strange problem with JAVA "Deepanshu" <deepanshu@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
  Re: Strange problem with "Hendrik Maryns" <hendrik.maryns@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
    Re: Strange problem with "Deepanshu" <deepanshu@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
  Re: Strange problem with "Nigel Wade" <nigel.wade@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
  Re: Strange problem with "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
    Re: Strange problem with "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
      Re: Strange problem with "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
        Re: Strange problem with "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
  Re: Strange problem with "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
    Re: Strange problem with "Deepanshu" <deepanshu@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
      Re: Strange problem with "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000

csiph-web