my swing theme

R

Roedy Green


It has a Vista-like look with those variegated backgrounds.

The font you chose for the menus looks a little anemic and pixely. A
font with clear type anti-aliasing would probably come out better at
such small sizes. You might do as I do and select that font based on
platform. see http://mindprod.com/products1.html#COMMON11

You have three unlabeled chicklets in the top right corner of each
internal frame. How is the user supposed to know which chicklet does
what?
--
Roedy Green Canadian Mind Products
http://mindprod.com

No flying machine will ever fly from New York to Paris.
~ Orville Wright (born: 1871-08-19 died: 1948-10-30 at age: 77) 1908 We see that same conservative pessimism in those crafting today’s computers and computer tools. They are overwhelmed by the details of producing even today’s solutions. You need young, over-confident people who don’t know too much to chart the course ahead. This is especially true of global warming where the current generation has entirely given up hope of a green planet and sustainable human survival.
 
J

John B. Matthews

peter said:
Yes, please download it from
http://code.google.com/p/petersoft-java-style-2/downloads/list thanks

Hi Roedy Green, thanks for your comment

Is all that Borland and Sun code required? Is it all LGPL, as the site
suggests? I see you're using Subversion for version control; why not
commit the code so people can browse it? I see you're using WinRAR to
archive the source; as Java is cross-platform, why not add a more widely
supported format, such as jar, tar or zip? I see you're using a
self-signed, expired certificate, as I do; is that intentional? Your
demo applet requests unrestricted access; is that essential?
 
A

Andrew Thompson

...Your
demo applet requests unrestricted access; is that essential?

I cannot speak for the OP. However I noticed that
any non-Sun PLAF will be subject to the "Warning
Java Applet" banner on free floating elements such
as a JDialog or JOptionPane, as well as on any GUI
element that might conceivably fall outside the main
GUI (e.g. a long JComboBox, tool tips..).

As for the PLAF. How big is the binary? Most PLAFS
I have seen fall down entirely on the size required
to download them. The size/bytes-wait ratio has
scuppered most PLAFs in my opinion. Only the JGoodies
PLAFs are 'small enough combined with useful enough'
to justify distributing them.
 
J

John B. Matthews

<[email protected]
m>,
Andrew Thompson said:
I cannot speak for the OP. However I noticed that
any non-Sun PLAF will be subject to the "Warning
Java Applet" banner on free floating elements such
as a JDialog or JOptionPane, as well as on any GUI
element that might conceivably fall outside the main
GUI (e.g. a long JComboBox, tool tips..).

I appreciate your thoughts on this. I guess I was surprised that
a demo of this sort would require unrestricted access. I guess I
was hoping for something useful even if permission were denied.
Something like one of these:

<http://sites.google.com/site/drjohnbmatthews/subway>
<http://mindprod.com/applet/wassup.html>
As for the PLAF. How big is the binary? Most PLAFS
I have seen fall down entirely on the size required
to download them. The size/bytes-wait ratio has
scuppered most PLAFs in my opinion. Only the JGoodies
PLAFs are 'small enough combined with useful enough'
to justify distributing them.

Indeed, the OP's archive is a hefty 5551346 bytes, much of which
appears to be Borland classes and Sun code for the entire
SwingSet2 demo.
 
P

peter

<[email protected]
m>,



I appreciate your thoughts on this. I guess I was surprised that
a demo of this sort would require unrestricted access. I guess I
was hoping for something useful even if permission were denied.
Something like one of these:

<http://sites.google.com/site/drjohnbmatthews/subway>
<http://mindprod.com/applet/wassup.html>


Indeed, the OP's archive is a hefty 5551346 bytes, much of which
appears to be Borland classes and Sun code for the entire
SwingSet2 demo.

Dear all
After remove the borland jar, now the jar file is 2.8MB.
Thanks John B. Matthews, I will pack it in zip format from now on.

I tried to run netbean with my L&F, but the outlook doesn't seem
good, take a look here http://hk-forum.kingofcoders.com/attachment.php?aid=12&nothumb=yes
, may be because netbean used many self-built-swing-control. It is
hard to theme them, but I will try some more time. Except netbean,
what famous software is using swing?
thanks
from Peter
 
M

Martin Gregorie

I tried to run netbean with my L&F, but the outlook doesn't seem
good, take a look here
http://hk-forum.kingofcoders.com/attachment.php?aid=12&nothumb=yes , may
be because netbean used many self-built-swing-control. It is hard to
theme them, but I will try some more time. Except netbean, what famous
software is using swing?
I don't use any IDEs at all - just a text editor, javac, jar and ant. In
my opinion any third party Java package should be usable in this
environment on any platform. It must not have dependencies on any
particular IDE. If a package can be used without an IDE, that pretty much
guarantees that it can be used with any current or future IDE.

Additionally, it should not be dependent on any specific platform unless
it implements capabilities that could never be useful anywhere else. If
it has this type of restriction this MUST be clearly spelled out in the
package overview and class documentation. Any other dependencies outside
the standard JDK must also be made clear.

When I tried to run it using Opera 10.0 under Linux (Fedora 10) and Java
1.6.0_07 it failed to run, locking up Opera in the process, so I suspect
that it does in fact have undeclared dependencies.
 
A

Andrew Thompson

<[email protected]
m>,



I appreciate your thoughts on this. I guess I was surprised that
a demo of this sort would require unrestricted access.

I will commonly refuse permissions on trusted code
I am helping strangers with (or demos from strangers)
just to see how the sandboxed form behaves (this only
works with applets).

To get rid of the warning in a webstart app., only
requires j2ee-application-client-permissions AFAIR.
Indeed, the OP's archive is a hefty 5551346 bytes, much of which
appears to be Borland classes and Sun code for the entire
SwingSet2 demo.

5.5 Meg?! (The OP reports now 2.8 Meg).

Just to put that in some perspective, compare
it to the JGoodies looks 2.1.4, which provides
18 separate color schemes, each in up to three
themes, in a binary that is just over 400Kb.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

my swing theme 3
java L&F with some new UI component 4
peter-swing 28
please try my swing L&F 4
swing component? 7
a new java look&feel 6
thread vs fork? 8
famous software that use swing? 5

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top