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


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

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-23 15:20 +0100
Organization Aioe.org NNTP Server
Message-ID <87d2lrtd1k.fsf@nl106-137-194.student.uu.se> (permalink)
References (1 earlier) <528fe95a$0$300$14726298@news.sunsite.dk> <87zjow2e6r.fsf@nl106-137-194.student.uu.se> <1kt3bf3swppwe.1k08zyw3omlb4.dlg@40tude.net> <87vbzj7rnu.fsf@nl106-137-194.student.uu.se> <1lkh4tr8f99a2.z8drr6vlan4p.dlg@40tude.net>

Show all headers | View raw


Joerg Meier <joergmmeier@arcor.de> writes:

> That should be no problem. Just make sure it is on
> the class path. I believe the link I pasted in my
> earlier post also shows that scenario. I don't think
> you can set specific details from the command line,
> but maybe you can get an open source look and feel,
> change it to your liking, and then use that in the
> future.

This, which they mention, doesn't seem to work:

java -cp .\;./syntheticaBlackEye.jar -jar uppaal.jar

I wonder if that theme inherits from another theme,
which I don't have? It doesn't complain, but nothing
happens.

This, as mentioned, works:

java -Dswing.defaultlaf=com.sun.java.swing.plaf.motif.MotifLookAndFeel -jar uppaal.jar

I tried

su -c 'find / -name \*motif\*'

so that I could perhaps configure the theme itself, but
it only came up with a Qt C header file (?) and some
cursor images (?), as well as some package manager
data.

Last, in the configuration file I quoted in the OP, I
have found that I can add certain things without it
complaining, as

<entry key="Button.textShiftOffset" value="100"/>
<entry key="Table.gridColor" value="red"/>

But I can't test to see if it works because I don't
know the name of the white field, that I try to make
black.

Check out this dump:

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

Thanks again.


-- 
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