Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / September 2005

Tip: Looking for answers? Try searching our database.

Solaris 8 and Java 1.5 GUI problem

Thread view: 
Jaya Vytla - 27 Sep 2005 06:45 GMT
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
Roedy Green - 27 Sep 2005 09:35 GMT
>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
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Jaya Vytla - 27 Sep 2005 09:42 GMT
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?
Roedy Green - 27 Sep 2005 09:56 GMT
>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
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Jaya Vytla - 27 Sep 2005 10:32 GMT
Yeah but problem with i am nolonger to have that application code we
have only class files.
Jaya Vytla - 27 Sep 2005 10:59 GMT
I am getting following error with your Idea:

home\bss\\ibp\classes>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)
Roedy Green - 27 Sep 2005 19:18 GMT
>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.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Jaya Vytla - 28 Sep 2005 05:56 GMT
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~
Roedy Green - 28 Sep 2005 08:21 GMT
>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.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.