Questions tagged [substance]

Substance is a modern, customizable and high-performing look & feel for Java applications that use the Swing UI toolkit. This look & feel is available for Java 9. Source code can be found at Source Code - https://github.com/kirill-grouchnikov/radiance/tree/master/flamingo

Substance look-and-feel is now part of the Radiance set of libraries. The project is being actively developed on Github. The current pace of the project is to have two releases per year.

https://github.com/kirill-grouchnikov/radiance

58 questions
14
votes
3 answers

Substance Look and Feel is making my colors brighter?

I'm trying to call setBackground on a JPanel, so that it matches the color of my JFrame, but the color is some how brighter than the one I type in. I've have tried setting HSB, RGB, HEX code, they all give me the same color, a brighter version of my…
Handsken
  • 639
  • 9
  • 26
9
votes
3 answers

swing substance look&feel download

Where do I download Substance L&F for Swing?
milan
  • 2,258
  • 2
  • 21
  • 36
8
votes
3 answers

Can I use two different look and feels in the same Swing application?

I'm using the Flamingo ribbon and the Substance Office 2007 look and feel. Of course now every control has this look and feel, even those on dialog boxes. What I want is something like in Office 2007, where the ribbons have their Office 2007 look,…
Daniel Rikowski
  • 66,219
  • 52
  • 237
  • 318
7
votes
3 answers

Java Substance look and feel problem

I have a problem with substance look and feel. I'm trying to set Office 2007 LAF as descibed here. try { UIManager.setLookAndFeel("org.pushingpixels.substance.api.skin.SubstanceOfficeBlue2007LookAndFeel"); }catch(Exception ex) …
2xMax
  • 1,460
  • 5
  • 19
  • 40
5
votes
2 answers

Substance and MacOS MenuBar

I have a Class MainWindow which extends JFrame. In MainWindow i have a JMenuBar. I want to show the MenuBar in OSX on top (next to the Apple Symbol). This only works, when i dont set a Substance Skin. Is it possible to use a Substance Skin and use…
w1ng
  • 304
  • 1
  • 2
  • 9
5
votes
1 answer

TitledBorder problem with Substance UI and custom JComponent

I'm using BorderFactory to create a titled border with a Substance UI themed Swing user interface, and I'm coming across the exception shown below. I tried with LineBorder and it works perfectly, but it appears that Substance UI is interfering…
Chris Dennett
  • 21,465
  • 8
  • 52
  • 84
4
votes
0 answers

Substance engine failed to load

When I try to import Substances in Unity, it shows me this message in the console: Substance engine failed to load UnityEngine.Debug:LogError(Object) Substance.Game.DLLHelpers:LoadDLL(String) …
4
votes
1 answer

Adding a button to the title bar using Substance LAF

I'm trying to add a button to my title bar. It doesn't seem to show and some reason hides the title words. In my JFrame I do: CustomTitlePane.editTitleBar(this); And my title class: public class CustomTitlePane extends SubstanceTitlePane { …
Daniel Ryan
  • 6,566
  • 4
  • 40
  • 60
4
votes
1 answer

Can't set a theme because of a stacktrace

I set my look and feel by doing this private void setSubstanceSkin(String theme) { try { UIManager.setLookAndFeel(new SubstanceBusinessBlackSteelLookAndFeel()); JFrame.setDefaultLookAndFeelDecorated(true); …
Tyluur
  • 95
  • 2
  • 9
3
votes
3 answers

Java Substance - Strange exception

I am using Substance look and feel version 6.0 in my Java Swing application. The application works fine for me, but some of the application users especially those using Windows 7 are getting a substance exception : java.lang.InternalError: Unable to…
Brad
  • 4,279
  • 9
  • 52
  • 91
3
votes
1 answer

Netbeans (Java): 3rd library works but how could I compile it into jar?

I'm using 3rd libraries (substance, trident) and I added them as libraries (I added the .jar's) to my project in Netbeans. This works also but if I use the builded jar outside the project directory it doesn't work like it should (the choosen UI…
Poru
  • 7,776
  • 19
  • 59
  • 87
3
votes
2 answers

How can I get the text color of a button using the Substance LaF?

In my Java application I have to custom-paint a control and for that I need to use the same font colors as JButton. (Enabled and disabled) I don't want to hard-code them, because the user can change the Substance skin at runtime. I'm aware of the…
Daniel Rikowski
  • 66,219
  • 52
  • 237
  • 318
3
votes
0 answers

How do I turn off animations in latest Substance Ribbon bar?

Background: I'm working in a java swing client that uses Substance 5.1 with Flamingo 4.1 and am trying to upgrade to the most recent version of the newly maintained project Insubstantial 7.2.1 Problem: It use to be that I could stop any and all…
Robbie
  • 802
  • 2
  • 7
  • 18
3
votes
0 answers

JXTreeTable Substance L&F paint issues

The first column of JXTreeTable is not painted on hover when using the substance look and feel. The problem persists when that same column is dragged to another position as well. Also the border is not painted as well. Is there any workaround for…
Praveen
  • 512
  • 1
  • 8
  • 17
3
votes
3 answers

HighlightPainter issue with Substance UI when using Monospaced font

I am using Highlighter.HighlightPainter interface for highlighting the lines of a text area. I used the source code from this website: Line Painter. It works just great, but when I used org.jvnet.substance.skin.SubstanceBusinessBlackSteelLookAndFeel…
Eng.Fouad
  • 107,075
  • 62
  • 298
  • 390
1
2 3 4