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


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

Re: Set colors of Java program in XML file

From Emanuel Berg <embe8573@student.uu.se>
Newsgroups comp.lang.java.gui
Subject Re: Set colors of Java program in XML file
Date 2013-11-24 16:16 +0100
Organization Aioe.org NNTP Server
Message-ID <87li0dhlt3.fsf@nl106-137-194.student.uu.se> (permalink)
References (5 earlier) <1lkh4tr8f99a2.z8drr6vlan4p.dlg@40tude.net> <87d2lrtd1k.fsf@nl106-137-194.student.uu.se> <1hmd7pcqshzlm.7wmrab3d2ina$.dlg@40tude.net> <87wqjzgex3.fsf@nl106-137-194.student.uu.se> <u5cqlkfq44ky.kth7fjszqzi8.dlg@40tude.net>

Show all headers | View raw


Joerg Meier <joergmmeier@arcor.de> writes:

>> Tried this:
>>
>> java -cp syntheticaBlackEye.jar:uppaal.jar com.uppaal.gui.Main
>>
>> and while it didn't complain, it didn't work either.
>
> You didn't add an apropriate -Dswing.defaultlaf=
> parameter - the theme you are trying to use should
> specify which class to put in that.

I actually tried that (before my post), but it didn't
work, so I thought I shouldn't have it. The reason it
didn't work was that the theme inherited from another
theme, which I didn't have (then). So in principle, you
were exactly right, as *this* works:

java -cp synthetica.jar:syntheticaBlackEye.jar:uppaal.jar -Dswing.defaultlaf=de.javasoft.plaf.synthetica.SyntheticaBlackEyeLookAndFeel com.uppaal.gui.Main

However, take a look at this screenshot:

http://user.it.uu.se/~embe8573/black_uppaal.png

Is there a theme that makes that area black? Could I
change the theme in the jar file I have?

>> Are there any other Java core classes that I might
>> try?  That is the only thing that worked so far.
>
> I'm not sure what you are asking here.

Others, like motif, that are for example
green-on-black.

-- 
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united:  http://user.it.uu.se/~embe8573

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


Thread

Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-23 00:19 +0100
  Re: Set colors of Java program in XML file Arne Vajhøj <arne@vajhoej.dk> - 2013-11-22 18:31 -0500
    Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-23 00:45 +0100
      Re: Set colors of Java program in XML file Joerg Meier <joergmmeier@arcor.de> - 2013-11-23 02:45 +0100
        Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-23 03:03 +0100
        Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-23 03:55 +0100
          Re: Set colors of Java program in XML file Joerg Meier <joergmmeier@arcor.de> - 2013-11-23 13:21 +0100
            Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-23 15:20 +0100
              Re: Set colors of Java program in XML file Joerg Meier <joergmmeier@arcor.de> - 2013-11-23 17:46 +0100
                Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-23 19:18 +0100
                Re: Set colors of Java program in XML file Joerg Meier <joergmmeier@arcor.de> - 2013-11-23 20:02 +0100
                Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-24 16:16 +0100
                Re: Set colors of Java program in XML file Joerg Meier <joergmmeier@arcor.de> - 2013-11-24 18:19 +0100
                Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-24 23:20 +0100
                Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-25 22:08 +0100
                Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-25 22:21 +0100
                Re: Set colors of Java program in XML file Joerg Meier <joergmmeier@arcor.de> - 2013-11-25 23:21 +0100
  Re: Set colors of Java program in XML file Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 22:12 -0500
    Re: Set colors of Java program in XML file Emanuel Berg <embe8573@student.uu.se> - 2013-11-23 04:21 +0100
      Re: Set colors of Java program in XML file Lew <lewbloch@gmail.com> - 2013-12-02 15:51 -0800

csiph-web