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

61 questions
2
votes
0 answers

Disabling the rollover effect on tables with the Substance L&F

Is there a way to disable the rollover effect of the Substance look and feel on the hovered rows of a table? I tried to disable the animation but the rows are still…
Emmanuel Bourg
  • 9,601
  • 3
  • 48
  • 76
2
votes
1 answer

Override default foreground color for Flamingo's JCommandButton

I'm using Flamingo/Substance in a Swing application and can't figure out a simple way to affect the text color for a JCommandButton. Explicitly setting the foreground color seems to have no effect: JCommandButton button = new…
Jacob Wallace
  • 887
  • 2
  • 12
  • 24
2
votes
0 answers

white balancing algorithm based on user input substance pixelprocessor

I'm trying to implement a white balancing workflow similar to what you see in Photoshop if you open a RAW image file. That is: Open RAW file Dialog opens that allows user to sample a color from the image (usually one chooses a color that has a…
CSS001
  • 21
  • 1
2
votes
0 answers

Substance material random seed button randomize connect to unity UI button to change in play

I have a Substance material and I want to connect a Unity UI button by script to the Substance material Random Seed the Randomize button in the inspector in runtime. how to I do that? Can´t find anyone doing that. I know how to connect the slider to…
Bon
  • 21
  • 3
2
votes
1 answer

Substance 6.1 upgrade gives Substance delegate used when Substance is not the current LAF exception

I'm trying to upgrade my app to use the latest drop of substance L&F but the problem is that I got the Following exception Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Substance delegate used when Substance is not the…
Feras Odeh
  • 9,136
  • 20
  • 77
  • 121
2
votes
1 answer

Setting Substance Titlebar Font

I'm trying to change the font of my Substance applet. In the documentation over at Substance look and feel - dark skins the titlebars have a custom font. I've read through the documentation for anything about setting the font, without any…
2
votes
1 answer

Substance look and feel not working

I'm having problem setting substance look n feel in Java. I have JDK 1.8 installed on my PC. i have imported these jar files: laf-widget-5.0.jar substance-6.0.jar trident.jar When I run my program, it gives me a series of errors. Here's my…
2
votes
1 answer

Substance L&F not working

I want to use the Substance L&F library in my Java application, so I downloaded the .jar files and added them to the project classpath. Then I want to set the L&F in the application's main() function like this: SwingUtilities.invokeAndWait(new…
Matthias
  • 9,817
  • 14
  • 66
  • 125
2
votes
2 answers

Remove content padding on JTabbedPane in Substance LAF

I'm doing some experiments with Substance LAF and I'm trying to remove padding between tabs. With default ui I used: UIManager.getDefaults().put("TabbedPane.contentBorderInsets", new…
user629926
  • 1,910
  • 2
  • 18
  • 43
2
votes
1 answer

Applying Look and Feel on JOptionPane.showMessageDialog

I'm using a LAF (Look and Feel) with Substance. It's perfect, except for JOptionPane.showMessageDialog. I want it to inherit the LAF's appearance, it gets its custom background from Windows, but not for the bar (at the corner, where you see the…
user1870879
2
votes
2 answers

Change text color of Substance LookAndFeel

I'm trying to change the text color of the Substance Look and Feel (in fact I'm using the SubstanceGraphiteGlassLookAndFeel . I don't know how to do that...
paranoia25
  • 626
  • 1
  • 5
  • 23
2
votes
2 answers

JOptionPane gives an error

I want to handle some exceptions using JOptionPanes. This is the main method: public class MainRun { public static void main(String args[]){ java.awt.EventQueue.invokeLater(new Runnable() { public void run() { try { …
Anjula
  • 1,690
  • 23
  • 29
2
votes
1 answer

Netbeans and Insubstantial

I recently saw that there was an approach to integrate the Substance LAF with Netbeans that was abandoned in 2008. Now, the active development is made within the Insubstantial - project and since 2008, a lot of advances where made. Everytime i see…
dajood
  • 3,758
  • 9
  • 46
  • 68
1
vote
1 answer

How to get JInternalFrame Titlebar properly styled by Insubstantial

I have a problem with the style of JInternalFrames under Insubstantial 7.0. I'm working with Eclipse and WindowBuilder for Swing. In the Widowbuilder Preview, JInternalFrames, that are dropped to a DesktopPane, have a nice shiny titlebar(using…
dajood
  • 3,758
  • 9
  • 46
  • 68
1
vote
2 answers

Problem with substance look and feel

I have downloaded the recent library by substance and i have downloaded the addons also for supporting SwingX components. I am still getting the following error when i run my application UIDefaults.getUI() failed: no ComponentUI class for: …
Deepak
  • 6,684
  • 18
  • 69
  • 121