substance

swing substance look&feel download

﹥>﹥吖頭↗ 提交于 2019-12-22 04:09:51
问题 Where do I download Substance L&F for Swing? 回答1: The incredibly sloppy java.net transition has discarded the old download links, they're gone gone gone. Kirill's solution is simply to post the code to GitHub. See his blog post about it. As a consequence, I have forked the distro to do maintenance and upkeep. Read my blog post about it. 回答2: May be at substance.dev.java.net Also here you will find source code for all and can also download them all. Also see here. 回答3: You can Insubstantial

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

好久不见. 提交于 2019-12-17 18:47:08
问题 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, but other controls keep their native Vista/XP look. Is it possible to assign certain controls a different look and feel? Perhaps using some kind of chaining or a proxy look and feel? 回答1: I just discovered: Since Substance 5.0 the SKIN_PROPERTY is

Java - Allow using backspace in an editable JComboBox with Substance L&F

♀尐吖头ヾ 提交于 2019-12-12 01:09:06
问题 I am using Substance L&F and I have set a JComboBox to editable so that i can select the value that i want from its popup, or type a new value in its Editor. Typing a new value works fine, but if i want to delete a miss-typed letter from the Combo editor, and i click Backspace to do that it selects the letters in the editor instead of erasing them. Here is a screenshot : I want the Combo editor to work like a JTextField when typing keyboard letters or Backspace or Delete in it, so is there a

Change text color of Substance LookAndFeel

人盡茶涼 提交于 2019-12-09 03:22:47
问题 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... 回答1: Ultimately you have to mess with the color schemes. Since you are using the Graphite Glass skin, messing with the color schemes is considerably easier since they values are not set in Java code. If you copy he file /org/pushingpixels/substance/api/skin/graphite.colorschemes into your classpath, you can go into the various scheme

Substance and MacOS MenuBar

ぃ、小莉子 提交于 2019-12-05 08:36:59
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 The MacOS MenuBar? My Code: //Set Menu for MacOS System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty("com.apple.mrj.application.apple.menu.about.name", name); try { SwingUtilities.invokeAndWait(new Runnable() { public void run() { SubstanceSkin skin = new GraphiteGlassSkin(); SubstanceLookAndFeel.setSkin(skin); //WORKS WHEN I

swing substance look&feel download

泪湿孤枕 提交于 2019-12-05 02:08:38
Where do I download Substance L&F for Swing? The incredibly sloppy java.net transition has discarded the old download links, they're gone gone gone. Kirill's solution is simply to post the code to GitHub. See his blog post about it . As a consequence, I have forked the distro to do maintenance and upkeep. Read my blog post about it . May be at substance.dev.java.net Also here you will find source code for all and can also download them all. Also see here . You can Insubstantial (an excellent fork of the Substance L&F) at http://insubstantial.posterous.com/ 来源: https://stackoverflow.com

Change text color of Substance LookAndFeel

你说的曾经没有我的故事 提交于 2019-12-01 10:28:58
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... Ultimately you have to mess with the color schemes. Since you are using the Graphite Glass skin, messing with the color schemes is considerably easier since they values are not set in Java code. If you copy he file /org/pushingpixels/substance/api/skin/graphite.colorschemes into your classpath, you can go into the various scheme definitions and change the colorForeground entries to be whatever you want. Possibly black ( #FFFFFF ) or the

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

谁都会走 提交于 2019-11-28 08:40:52
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, but other controls keep their native Vista/XP look. Is it possible to assign certain controls a different look and feel? Perhaps using some kind of chaining or a proxy look and feel? I just discovered: Since Substance 5.0 the SKIN_PROPERTY is available. It allows assigning different skins to different JRootPanes (i.e. JDialog , JFrame ,