Win a copy of Spring Boot in Practice this week in the Spring forum!

Kirill Grouchnikov

Greenhorn
+ Follow
since Aug 03, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kirill Grouchnikov

If this is happening only under Substance, please continue this discussion on the project "users" mailing list or the project forums. I will need to see a small (<100 lines) test application that reproduces this problem. Please note that i do not monitor the JavaRanch forums.

Thanks
Kirill
13 years ago
*Every* animation effect in Substance can be configured to be enabled / disabled for a specific control, component or control class. So you can enable the spring effects only on the specific buttons of your choice.

Not to mention the fact that the spring animation effect (like many others) are disabled by default, so what's the point?
14 years ago
It depends on the following two:
1. Decorated / undecorated mode of your JFrame (setDefaultLookAndFeelDecorated, isUndecorated)
2. Look and feel that you're using

If your frames are not decorated (by default they are not), then you get the title pane from OS. If OS doesn't support proper RTL painting, or Java doesn't set it right on the native window, then you're out of luck.

If your frames are decorated, then the title pane is painted by the current LAF (some LAFs do not support decorated mode, such as WindowsLookAndFeel). In this case you should ask the developers of the specific LAF if it supports RTL titles or not.

Kirill
15 years ago
The default theme of Substance look-and-feel [1] can be used to provide something similar to Aqua. In addition, the Quaqua look-and-feel [2] provides much better emulation, but it's officially supported only on Mac. The main reasons for MacLookAndFeel not being available on Windows, as well as WindowsLookAndFeel not being available on Mac is that the implementation uses native API to render the controls.

[1] https://substance.dev.java.net
[2] http://www.randelshofer.ch/quaqua/download.html
15 years ago
How did you get the superscript to work? If you're using a specific Unicode character for that, you'll just have to find the matching Unicode for the subscript character. Note that this still may fail if this symbol is not found in the matching font that is used to paint the title pane (depends whether you're running under OS-decorated or LAF-decorated mode).
15 years ago
Because you are accessing internal components that differ between look-and-feel implementations.
15 years ago
Since you're not removing the existing listener, the second Tab hit is processed by it. Since the first Tab hit has selected all the text, the existing listener just replaces the current selection with Tab symbol.
15 years ago
Substance LAF [1] supports this. Try version 3.0RC or 3.1dev. Double click on the title pane maximizes the internal frame, while double click on the icon closes the internal frame.

[1] https://substance.dev.java.net
15 years ago
You would hope that a "Senior Java programmer" knows not to name a class with lowercase letters only... Not talking about optimization at all...
16 years ago
Hi,

I'm the developer of Substance LAF. Please register to the Users mailing list of Substance [1] and direct your questions there - do not reply to this post. This way you will get the answers straight from the source (although most of the answers can be obtained by reading the documentation and the test applications).

Kirill

[1] https://substance.dev.java.net/servlets/ProjectMailingListList
16 years ago