| View previous topic :: View next topic |
| Author |
Message |
Jaya Vytla Guest
|
Posted: Tue Sep 27, 2005 5:45 am Post subject: Solaris 8 and Java 1.5 GUI problem |
|
|
Hi,
I got small problem regarding GUI after updating my JAVA version 1.4 to
1.5 in sun sparc solaris 8.
Java application GUI looking like shaded window (full black color and
buttons blinking while mouse over). Earlier this application working
fine with java 1.3 and java 1.4.
My observation is application GUI fine from remote login (from windows
system with using of exceed or Reflection X) it's happened worst on
solaris system only.
Any body has any idea about this problem.
Thanks for your time.
Regards,
Jaya
|
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Tue Sep 27, 2005 8:35 am Post subject: Re: Solaris 8 and Java 1.5 GUI problem |
|
|
On 26 Sep 2005 22:45:18 -0700, "Jaya Vytla" <vjayaram (AT) gmail (DOT) com> wrote
or quoted :
| Quote: | Any body has any idea about this problem.
|
You need to give more clues than the colour of the screen.
How about?
1. an SSCCE. See http://mindprod.com/jgloss/snippet.html
2. an error message.
3. a stack trace
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
|
|
| Back to top |
|
 |
Jaya Vytla Guest
|
Posted: Tue Sep 27, 2005 8:42 am Post subject: Re: Solaris 8 and Java 1.5 GUI problem |
|
|
Yeah Roedy..
Images are looking fine but remaining working area like frames, lables,
command buttons and combo boxes looking like black shaded objects
insted of standerd windows color.
Is there any problem with Java swings?
|
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Tue Sep 27, 2005 8:56 am Post subject: Re: Solaris 8 and Java 1.5 GUI problem |
|
|
On 27 Sep 2005 01:42:53 -0700, "Jaya Vytla" <vjayaram (AT) gmail (DOT) com> wrote
or quoted :
| Quote: | Images are looking fine but remaining working area like frames, lables,
command buttons and combo boxes looking like black shaded objects
insted of standerd windows color.
|
Maybe this is somebody's idea of a wonderfully sexy Look and Feel??
Try explicitly choosing a L&F. See http://mindprod.com/jgloss/laf.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
|
|
| Back to top |
|
 |
Jaya Vytla Guest
|
Posted: Tue Sep 27, 2005 9:32 am Post subject: Re: Solaris 8 and Java 1.5 GUI problem |
|
|
Yeah but problem with i am nolonger to have that application code we
have only class files.
|
|
| Back to top |
|
 |
Jaya Vytla Guest
|
Posted: Tue Sep 27, 2005 9:59 am Post subject: Re: Solaris 8 and Java 1.5 GUI problem |
|
|
I am getting following error with your Idea:
homebss\ibpclasses>java -Dswing.defaultlaf=com.incors.plaf.kunststo
ff.KunststoffLookAndFeel AutoScheduler.AutoScheduler
Exception in thread "main" java.lang.Error: can't load
com.incors.plaf.kunststof
f.KunststoffLookAndFeel
at javax.swing.UIManager.initializeDefaultLAF(Unknown Source)
at javax.swing.UIManager.initialize(Unknown Source)
at javax.swing.UIManager.maybeInitialize(Unknown Source)
at javax.swing.UIManager.getUI(Unknown Source)
at javax.swing.JPanel.updateUI(Unknown Source)
at javax.swing.JPanel.<init>(Unknown Source)
at javax.swing.JPanel.<init>(Unknown Source)
at javax.swing.JPanel.<init>(Unknown Source)
at javax.swing.JRootPane.createGlassPane(Unknown Source)
at javax.swing.JRootPane.<init>(Unknown Source)
at javax.swing.JFrame.createRootPane(Unknown Source)
at javax.swing.JFrame.frameInit(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at AutoScheduler.AutoScheduler.<init>(AutoScheduler.java:54)
at AutoScheduler.AutoScheduler.main(AutoScheduler.java:785)
|
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Tue Sep 27, 2005 6:18 pm Post subject: Re: Solaris 8 and Java 1.5 GUI problem |
|
|
On 27 Sep 2005 02:59:19 -0700, "Jaya Vytla" <vjayaram (AT) gmail (DOT) com> wrote
or quoted :
| Quote: | Exception in thread "main" java.lang.Error: can't load
com.incors.plaf.kunststof
|
You don't have that LAF installed. Pick one of the Sun ones.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
|
|
| Back to top |
|
 |
Jaya Vytla Guest
|
Posted: Wed Sep 28, 2005 4:56 am Post subject: Re: Solaris 8 and Java 1.5 GUI problem |
|
|
Yeah thanks for your help Roedy...
I got you about LAF.
How can I install LAF's in Sun and where can i brought those..
Thanks for your care.
Regards,
Jaya~
|
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Wed Sep 28, 2005 7:21 am Post subject: Re: Solaris 8 and Java 1.5 GUI problem |
|
|
On 27 Sep 2005 21:56:02 -0700, "Jaya Vytla" <vjayaram (AT) gmail (DOT) com> wrote
or quoted :
| Quote: | How can I install LAF's in Sun and where can i brought those.
|
some come with the JDK. Those you just use the way I show at
http://mindprod.com/jgloss/laf.html
either with the -D command line or with a call in your kickoff main.
For ones you download, read the instructions at the download site.
Chances are, all you do is put a jar in the ext directory.
See http://mindprod.com/jgloss/classpath.html
I was playing with some earlier today. The SkinLF people have bundled
up a number of L&Fs with a menu to let the user select his favourite.
It is probably safest to pick a L&F at the start of an app and stick
with it, though I think in theory you are supposed to be able to flip
in mid flight.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
|
|
| Back to top |
|
 |
|