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
1
vote
1 answer

Is there any way to remove this search icon and bar from JMenuBar using Substance?

I am working with Substance and Swing, and learnt that when x amount of menu and sub menu items are added into a menu, Substance automatically will go ahead and add a magnifying glass icon and a search bar on the menu bar for you. It's useful for…
Z Codes
  • 11
  • 2
1
vote
1 answer

Java window not maximising properly on screen with no taskbar using Substance LAF

I've just noticed that when I maximise a frame on my second screen - which has no taskbar - then it ends up with approximately the bounds one would expect if the taskbar was there. I've just noticed this having switched to Windows 7. Previously in…
PeterT
  • 1,454
  • 1
  • 12
  • 22
1
vote
1 answer

JColorChooser with Substance look and feel, Java 7

I'm writing an application that uses the Substance look and feel along with a JColorChooser. This works fine with Java 6, but on trying things out with Java 7 it really doesn't JColorChooser's: java.lang.NullPointerException at…
Michael Berry
  • 70,193
  • 21
  • 157
  • 216
1
vote
1 answer

Unity3d: Using sbar in unity 2018.1

I have just downloaded a procedural road material asset from the asset store. But when I import i get this error. How can I use them? Unity Version: 2018.1.0b6 I have downloaded substance in unity by Allegorithmic, but it still doesn't work. I am…
user9211718
1
vote
1 answer

IllegalArgumentException: No interpolator found for float during implementing Substance LAF

I have tried to implement Substance LAF. I have also downloaded Trident library. Application will normally start (with LAF chosen from package structure) but when I try to used menus in JMenuBar I get exception below. I have found very similar…
Yarl
  • 728
  • 1
  • 7
  • 26
1
vote
2 answers

Substance UI & undecorated JDialog/JFrame

I have noticed that while using the Substance UI for Java that when I set a new JFrame or JDialog to undecorated it is not honored. e.g. frame.setUndecorated(true); frame.setVisible(true); When run under Substance shows a decorated frame. When run…
Syntax
  • 2,155
  • 2
  • 23
  • 34
1
vote
1 answer

Change JOptionPane and JFrame titlebar font

I have to specify the Jframe and JOptionPane elements' title bar to a Cambodian(unicode) text data. The default font(dialog) doesn't render the text correctly, and I want to override the default font to something else. Please give a hand, how can I…
user2889419
1
vote
2 answers

Substance look and feel

Im having trouble with adding substance look and feel, this is my first time trying it, i want to add the graphite glass one but it doesn't work heres my code: package loader; import java.applet.Applet; import java.awt.BorderLayout; import…
1
vote
1 answer

Mimic default behaviour of row rendering in a JTable

In my Java 7 application I use a Swing JTable with two columns. The left column uses a DefaultTableCellRenderer where the setHorizontalAlignment() is set to centered, whereas the right column uses no specific renderer. That right column shows each…
Matthias
  • 9,817
  • 14
  • 66
  • 125
1
vote
1 answer

Successfully updating Look and Feel but still having errors

I am trying to update my look and feel without any errors, but I can't figure out what I am doing wrong. This is my Window class: public class Window extends JFrame { private static final long serialVersionUID = 1L; public Window() { …
user1834464
1
vote
0 answers

JXTitledPanel gradient effect

I'm using the SwingX JXTitledPanel and I'd like to have a gradient effect as shown in the SwingX demo. My current understanding is that it is up to the Look & Feel manager (I'm using Insubstance) to decide if any gradient should be applied. Is this…
Tom
  • 1,375
  • 3
  • 24
  • 45
1
vote
0 answers

how to use substance look and feel button animations?

I've installed substance look and feel in my java program and it works. But i download a test file of the look and feel from GitHub and I saw that they have custom animations for their buttons and checkboxes when they are selected. I'm curious how…
1
vote
1 answer

Added new pushingpixal theme, but no change

my run.bat: @echo off @title test java -Dfile.encoding=Cp1252 -classpath bin;lib/libs.jar;lib/substance-6.0.jar;lib/trident-1.2.jar; Loader pause my frame: void openFrame() { try { …
0x29A
  • 911
  • 1
  • 8
  • 13
0
votes
2 answers

Load Insubstantial Swing Plugins to Eclipse

How do I load the Insubstantial Swing plugins to Eclipse? I refer to the plugins here: http://insubstantial.posterous.com/
louis xie
  • 1,352
  • 2
  • 12
  • 22
0
votes
1 answer

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Rectangle width and height must be > 0

I have a peculiar situation here in an application I've programmed using a Substance LookAndFeel. In my application, as seen in the screenshot below, I have three JMenus in the MenuBar. The one all the way on the right (Take Screenshot) is…
Waffle
  • 73
  • 1
  • 6