My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 30 days

  • Dec 07, 2009
    issue 10 (Nimbus/GTK LnF: Search field looks disabled as soon as you t...) commented on by thrawnkb   -   It seems that the project is now unmaintained
    It seems that the project is now unmaintained
  • Nov 29, 2009
    issue 10 (Nimbus/GTK LnF: Search field looks disabled as soon as you t...) commented on by i30817   -   why isn't this fixed already?
    why isn't this fixed already?
  • Nov 28, 2009
    issue 16 (Use systemColors for background text) commented on by i30817   -   I just noticed that you can set the foreground text, so it's not critical. Still the default should be the laf color.
    I just noticed that you can set the foreground text, so it's not critical. Still the default should be the laf color.
  • Nov 23, 2009
    issue 16 (Use systemColors for background text) commented on by i30817   -   I meant foreground text in the title.
    I meant foreground text in the title.
  • Nov 23, 2009
    issue 16 (Use systemColors for background text) reported by i30817   -   What steps will reproduce the problem? 1. Try to use xswingx prompt with any dark look and feel (like substance for instance). What is the expected output? What do you see instead? I expect that by default swing components use a system color for fonts foreground (besides background). Background appears to be fine, but foreground is always grey. As system colors seem only to apply to the platform default look and feel (mutable but that is hidden) you might want to investigate how substance does it (appears derived) What version of the product are you using? On what operating system? Doesn't matter. Java 1.6 up 14 windows xp.
    What steps will reproduce the problem? 1. Try to use xswingx prompt with any dark look and feel (like substance for instance). What is the expected output? What do you see instead? I expect that by default swing components use a system color for fonts foreground (besides background). Background appears to be fine, but foreground is always grey. As system colors seem only to apply to the platform default look and feel (mutable but that is hidden) you might want to investigate how substance does it (appears derived) What version of the product are you using? On what operating system? Doesn't matter. Java 1.6 up 14 windows xp.

Earlier this year

  • Nov 06, 2009
    issue 15 (Mavenize xswingx and publish delivery on maven repository) commented on by ouaibsky   -   Notes that this jar does not contain demo classes. May we need a more complex maven layout to manage prompt.jar, xswingx.jar and demo.jar. I can look at this when this basic pom will work. Christophe
    Notes that this jar does not contain demo classes. May we need a more complex maven layout to manage prompt.jar, xswingx.jar and demo.jar. I can look at this when this basic pom will work. Christophe
  • Nov 06, 2009
    issue 15 (Mavenize xswingx and publish delivery on maven repository) commented on by ouaibsky   -   Find below a pom sample, ready to upload on oss.repository and with swingx dependency. Notes that compilation failed due to error with swingx 1.6 ... to fix. Regards install maven: http://maven.apache.org/download.html copy this pom file into xswingx directory and run > mvn clean package. Regards Christophe
    Find below a pom sample, ready to upload on oss.repository and with swingx dependency. Notes that compilation failed due to error with swingx 1.6 ... to fix. Regards install maven: http://maven.apache.org/download.html copy this pom file into xswingx directory and run > mvn clean package. Regards Christophe
  • Nov 06, 2009
    issue 15 (Mavenize xswingx and publish delivery on maven repository) commented on by ouaibsky   -   Documentation to get a private maven repository is at: https://docs.sonatype.com/display/NX/OSS+Repository+Hosting#OSSRepositoryHosting-SyncToCentral
  • Nov 06, 2009
    issue 15 (Mavenize xswingx and publish delivery on maven repository) reported by ouaibsky   -   This is an enhancement. The main advantage is to deploy your delivery with dependencies rules and other developers are automatically up-to-date.. I can help you to create a pom.xml for this project and show you how to request a dedicated repository which is auto synchronyze with maven central repository. Regards
    This is an enhancement. The main advantage is to deploy your delivery with dependencies rules and other developers are automatically up-to-date.. I can help you to create a pom.xml for this project and show you how to request a dedicated repository which is auto synchronyze with maven central repository. Regards
  • Nov 06, 2009
    issue 9 (support for swingx 0.9.4) commented on by ouaibsky   -   maybe can you update to swingx 1.6 (last release compatible with java 1.6 ?
    maybe can you update to swingx 1.6 (last release compatible with java 1.6 ?
  • Nov 05, 2009
    issue 14 (Nullpointerexception at instantiating a JXSearchField) commented on by christof...@e-mundo.de   -   I saw, that this issue was already posted at point 8. I patched it and now it works fine. Do you plan a new release where this issue will be fixed? When?
    I saw, that this issue was already posted at point 8. I patched it and now it works fine. Do you plan a new release where this issue will be fixed? When?
  • Nov 04, 2009
    issue 14 (Nullpointerexception at instantiating a JXSearchField) reported by christof...@e-mundo.de   -   What steps will reproduce the problem? 1. Create new JXTextField JXSearchField searchField = new JXSearchField(); What is the expected output? What do you see instead? Expect a SearchField in my JPanel. Instead -> NullpointerException What version of the product are you using? On what operating system? xswingx-0.2 + swingx-1.0 on Windows XP Please provide any additional information below. Causing Code: JXSearchField searchField = new JXSearchField(); Stacktrace: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.jdesktop.xswingx.JXSearchField.customSetUIProperty (JXSearchField.java:748) at org.jdesktop.xswingx.JXSearchField.customSetUIProperty (JXSearchField.java:726) at org.jdesktop.xswingx.plaf.SearchFieldUI.installDefaults (SearchFieldUI.java:211) at org.jdesktop.xswingx.plaf.SearchFieldUI.installUI (SearchFieldUI.java:72) at javax.swing.JComponent.setUI(JComponent.java:673) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322) at org.jdesktop.xswingx.plaf.TextUIWrapper.replaceUIIfNeeded (TextUIWrapper.java:70) at org.jdesktop.xswingx.plaf.TextUIWrapper$DefaultWrapper.replaceUIIfNeeded (TextUIWrapper.java:167) at org.jdesktop.xswingx.plaf.TextUIWrapper.install (TextUIWrapper.java:51) at org.jdesktop.xswingx.JXSearchField.setUseNativeSearchFieldIfPossible (JXSearchField.java:516) at org.jdesktop.xswingx.JXSearchField.<init> (JXSearchField.java:173) at org.jdesktop.xswingx.JXSearchField.<init> (JXSearchField.java:161)
    What steps will reproduce the problem? 1. Create new JXTextField JXSearchField searchField = new JXSearchField(); What is the expected output? What do you see instead? Expect a SearchField in my JPanel. Instead -> NullpointerException What version of the product are you using? On what operating system? xswingx-0.2 + swingx-1.0 on Windows XP Please provide any additional information below. Causing Code: JXSearchField searchField = new JXSearchField(); Stacktrace: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.jdesktop.xswingx.JXSearchField.customSetUIProperty (JXSearchField.java:748) at org.jdesktop.xswingx.JXSearchField.customSetUIProperty (JXSearchField.java:726) at org.jdesktop.xswingx.plaf.SearchFieldUI.installDefaults (SearchFieldUI.java:211) at org.jdesktop.xswingx.plaf.SearchFieldUI.installUI (SearchFieldUI.java:72) at javax.swing.JComponent.setUI(JComponent.java:673) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322) at org.jdesktop.xswingx.plaf.TextUIWrapper.replaceUIIfNeeded (TextUIWrapper.java:70) at org.jdesktop.xswingx.plaf.TextUIWrapper$DefaultWrapper.replaceUIIfNeeded (TextUIWrapper.java:167) at org.jdesktop.xswingx.plaf.TextUIWrapper.install (TextUIWrapper.java:51) at org.jdesktop.xswingx.JXSearchField.setUseNativeSearchFieldIfPossible (JXSearchField.java:516) at org.jdesktop.xswingx.JXSearchField.<init> (JXSearchField.java:173) at org.jdesktop.xswingx.JXSearchField.<init> (JXSearchField.java:161)
  • Sep 14, 2009
    issue 10 (Nimbus/GTK LnF: Search field looks disabled as soon as you t...) commented on by rickblommers   -   Solution is: in org.jdesktop.xswingx.plaf.PromptTextUI Change the update() method to: /** * Calls super.{@link #update(Graphics, JComponent)}, which in turn calls * the paint method of this object. */ @Override public void update(Graphics g, JComponent c) { if (shouldPaintPrompt( (JTextComponent)c )) { super.update(g, c); } else { delegate.update(g, c); } } Btw. Thanks for this library!
    Solution is: in org.jdesktop.xswingx.plaf.PromptTextUI Change the update() method to: /** * Calls super.{@link #update(Graphics, JComponent)}, which in turn calls * the paint method of this object. */ @Override public void update(Graphics g, JComponent c) { if (shouldPaintPrompt( (JTextComponent)c )) { super.update(g, c); } else { delegate.update(g, c); } } Btw. Thanks for this library!
  • Jun 02, 2009
    issue 12 (Remove swingx dependency) commented on by thrawnkb   -   the domain swinglabs exists The section Document & files does contains releases In fact, release 1.0 has just been released 1.0 compiles and works fine here
    the domain swinglabs exists The section Document & files does contains releases In fact, release 1.0 has just been released 1.0 compiles and works fine here
  • May 04, 2009
    issue 8 ("SearchField.layoutStyle" not in the UIManager) commented on by digz6666   -   Thank you it works in swingx 0.9.7 and substance 5.2dev
    Thank you it works in swingx 0.9.7 and substance 5.2dev
  • May 04, 2009
    issue 13 (NullPointerExeption with Substance Look and Feel?) commented on by digz6666   -   I'm also facing this issue.
    I'm also facing this issue.
  • Mar 19, 2009
    issue 12 (Remove swingx dependency) commented on by hans.na...@gmx.de   -   it doesn't help to repeatedly deny this. Face it: swingx IS dead. Simply try to use it: - the java.net project page at https://swingx.dev.java.net/ is unmaintained - the referred domain http://swinglabs.org/ does not exist anymore - the section Documents & files doesn't contain anything - instead there is only "automated builds" with a whole bunch of different undocumented builds - even the "Release build" contains unresolved symbols - etc. I simply call this dead... And to repeat myself: It would be a pity if xswingx would suffer from a dead swingx.
    it doesn't help to repeatedly deny this. Face it: swingx IS dead. Simply try to use it: - the java.net project page at https://swingx.dev.java.net/ is unmaintained - the referred domain http://swinglabs.org/ does not exist anymore - the section Documents & files doesn't contain anything - instead there is only "automated builds" with a whole bunch of different undocumented builds - even the "Release build" contains unresolved symbols - etc. I simply call this dead... And to repeat myself: It would be a pity if xswingx would suffer from a dead swingx.
  • Mar 11, 2009
    issue 13 (NullPointerExeption with Substance Look and Feel?) commented on by thrawnkb   -   check bug 8. It is the same, and in the comments is the solution (you will need to edit the code) It seems that this project in now unmaintained, could the developer(s) if this is right?
    check bug 8. It is the same, and in the comments is the solution (you will need to edit the code) It seems that this project in now unmaintained, could the developer(s) if this is right?
  • Mar 11, 2009
    issue 12 (Remove swingx dependency) commented on by thrawnkb   -   swingx is not discontinued, the only change is that the person Sun paid to work full time on it, is no more. There are many volunteers that still work on it
    swingx is not discontinued, the only change is that the person Sun paid to work full time on it, is no more. There are many volunteers that still work on it
  • Mar 10, 2009
    issue 13 (NullPointerExeption with Substance Look and Feel?) reported by denizkiyisi   -   What steps will reproduce the problem? 1. JXSearchField sf = new JXSearchField(); sf.setLayoutStyle(LayoutStyle.VISTA); 2. 3. What is the expected output? What do you see instead? Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.jdesktop.xswingx.JXSearchField.customSetUIProperty(JXSearchField.java:748) at org.jdesktop.xswingx.JXSearchField.customSetUIProperty(JXSearchField.java:726) at org.jdesktop.xswingx.plaf.SearchFieldUI.installDefaults(SearchFieldUI.java:211) at org.jdesktop.xswingx.plaf.SearchFieldUI.installUI(SearchFieldUI.java:72) at javax.swing.JComponent.setUI(JComponent.java:673) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322) at org.jdesktop.xswingx.plaf.TextUIWrapper.replaceUIIfNeeded(TextUIWrapper.java:70) at org.jdesktop.xswingx.plaf.TextUIWrapper$DefaultWrapper.replaceUIIfNeeded(TextUIWrapper.java:167) at org.jdesktop.xswingx.plaf.TextUIWrapper.install(TextUIWrapper.java:51) at org.jdesktop.xswingx.JXSearchField.setUseNativeSearchFieldIfPossible(JXSearchField.java:516) at org.jdesktop.xswingx.JXSearchField.<init>(JXSearchField.java:173) at org.jdesktop.xswingx.JXSearchField.<init>(JXSearchField.java:161) What version of the product are you using? On what operating system? Netbeans 6.5, Substance Look and Feel 5.1, JDK6, SwingX, Win XP SP2 Please provide any additional information below. I'm using very simple but with Substance laf uncompatible.
    What steps will reproduce the problem? 1. JXSearchField sf = new JXSearchField(); sf.setLayoutStyle(LayoutStyle.VISTA); 2. 3. What is the expected output? What do you see instead? Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.jdesktop.xswingx.JXSearchField.customSetUIProperty(JXSearchField.java:748) at org.jdesktop.xswingx.JXSearchField.customSetUIProperty(JXSearchField.java:726) at org.jdesktop.xswingx.plaf.SearchFieldUI.installDefaults(SearchFieldUI.java:211) at org.jdesktop.xswingx.plaf.SearchFieldUI.installUI(SearchFieldUI.java:72) at javax.swing.JComponent.setUI(JComponent.java:673) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322) at org.jdesktop.xswingx.plaf.TextUIWrapper.replaceUIIfNeeded(TextUIWrapper.java:70) at org.jdesktop.xswingx.plaf.TextUIWrapper$DefaultWrapper.replaceUIIfNeeded(TextUIWrapper.java:167) at org.jdesktop.xswingx.plaf.TextUIWrapper.install(TextUIWrapper.java:51) at org.jdesktop.xswingx.JXSearchField.setUseNativeSearchFieldIfPossible(JXSearchField.java:516) at org.jdesktop.xswingx.JXSearchField.<init>(JXSearchField.java:173) at org.jdesktop.xswingx.JXSearchField.<init>(JXSearchField.java:161) What version of the product are you using? On what operating system? Netbeans 6.5, Substance Look and Feel 5.1, JDK6, SwingX, Win XP SP2 Please provide any additional information below. I'm using very simple but with Substance laf uncompatible.
  • Jan 06, 2009
    issue 8 ("SearchField.layoutStyle" not in the UIManager) commented on by junqueira.raphael   -   need to fix JXSearchFieldAddon to swingx-0.9.XX fixed here as : public final class JXSearchFieldAddon extends AbstractComponentAddon { public static final String SEARCH_FIELD_SOURCE = "searchField"; public static final String BUTTON_SOURCE = "button"; public JXSearchFieldAddon() { super("JXSearchField"); } @Override protected void addBasicDefaults(final LookAndFeelAddons addon, final DefaultsList defaults) { super.addBasicDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.layoutStyle", LayoutStyle.MAC, "SearchField.icon", getIcon("basic/resources/search.gif"), "SearchField.rolloverIcon", getIcon("basic/resources/search_rollover.gif"), "SearchField.pressedIcon", getIcon("basic/resources/search.gif"), "SearchField.popupIcon", getIcon("basic/resources/search_popup.gif"), "SearchField.popupRolloverIcon", getIcon("basic/resources/search_popup_rollover.gif"), "SearchField.clearIcon", getIcon("basic/resources/clear.gif"), "SearchField.clearRolloverIcon", getIcon("basic/resources/clear_rollover.gif"), "SearchField.clearPressedIcon", getIcon("basic/resources/clear_pressed.gif"), "SearchField.buttonMargin", new InsetsUIResource(1, 1, 1, 1), "SearchField.popupSource", BUTTON_SOURCE})); //webstart fix UIManagerExt.addResourceBundle("org.jdesktop.xswingx.plaf.basic.resources.SearchField"); // UIManager.getDefaults().addResourceBundle("org.jdesktop.xswingx.plaf.basic.resources.SearchField"); } @Override protected void addMetalDefaults(final LookAndFeelAddons addon, final DefaultsList defaults) { super.addMetalDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.buttonMargin", new InsetsUIResource(0, 0, 1, 1) })); } @Override protected void addWindowsDefaults(final LookAndFeelAddons addon, final DefaultsList defaults) { super.addWindowsDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.promptFontStyle", Font.ITALIC, "SearchField.layoutStyle", LayoutStyle.VISTA, "SearchField.icon", getIcon("windows/resources/search.gif"), "SearchField.rolloverIcon", getIcon("windows/resources/search_rollover.gif"), "SearchField.pressedIcon", getIcon("windows/resources/search_pressed.gif"), "SearchField.popupIcon", getIcon("windows/resources/search_popup.gif"), "SearchField.popupRolloverIcon", getIcon("windows/resources/search_popup_rollover.gif"), "SearchField.popupPressedIcon", getIcon("windows/resources/search_popup_pressed.gif"), "SearchField.clearIcon", getIcon("windows/resources/clear.gif"), "SearchField.clearRolloverIcon", getIcon("windows/resources/clear_rollover.gif"), "SearchField.clearPressedIcon", getIcon("windows/resources/clear_pressed.gif"), "SearchField.useSeperatePopupButton", Boolean.TRUE, "SearchField.popupOffset", -1 })); // Do it like 'Windows Media Player' in XP: // Replace the border line with the search button line on rollover. // But not in classic mode! if (UIManager.getLookAndFeel().getClass().getName().indexOf("Classic") == -1) { defaults.add("SearchField.buttonMargin", new InsetsUIResource(0, -1, 0, -1)); } else { defaults.add("SearchField.buttonMargin", new InsetsUIResource(0, 0, 0, 0)); } } @Override protected void addMotifDefaults(final LookAndFeelAddons addon, final DefaultsList defaults) { super.addMotifDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.icon", getIcon("macosx/resources/search.png"), "SearchField.rolloverIcon", getIcon("macosx/resources/search.png"), "SearchField.pressedIcon", getIcon("macosx/resources/search.png"), "SearchField.popupIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.popupRolloverIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.popupPressedIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.clearIcon", getIcon("macosx/resources/clear.png"), "SearchField.clearRolloverIcon", getIcon("macosx/resources/clear_rollover.png"), "SearchField.clearPressedIcon", getIcon("macosx/resources/clear_pressed.png") })); } @Override protected void addMacDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addMacDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.icon", getIcon("macosx/resources/search.png"), "SearchField.rolloverIcon", getIcon("macosx/resources/search.png"), "SearchField.pressedIcon", getIcon("macosx/resources/search.png"), "SearchField.popupIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.popupRolloverIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.popupPressedIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.clearIcon", getIcon("macosx/resources/clear.png"), "SearchField.clearRolloverIcon", getIcon("macosx/resources/clear_rollover.png"), "SearchField.clearPressedIcon", getIcon("macosx/resources/clear_pressed.png"), "SearchField.buttonMargin", new InsetsUIResource(0, 0, 0, 0), "SearchField.popupSource", SEARCH_FIELD_SOURCE})); } // Workaround: Only return true, when the current LnF is Windows or // PlasticXP. protected boolean isWindows(final LookAndFeelAddons addon) { return super.isWindows(addon) || (UIManager.getLookAndFeel().getClass().getName().indexOf("Windows") != -1 || UIManager.getLookAndFeel().getClass().getName().indexOf("PlasticXP") != -1); } private void addAll(final DefaultsList defaults, final List<Object> parList) { assert( 0 == parList.size() % 2 ); for (int locIt = 0; locIt < parList.size(); ) { defaults.add(parList.get(locIt), parList.get(locIt + 1)); locIt += 2; } } private IconUIResource getIcon(final String resourceName) { final URL url = JXSearchFieldAddon.class.getResource(resourceName); if (url == null) { return null; } else { return new IconUIResource(new ImageIcon(url)); } } }
    need to fix JXSearchFieldAddon to swingx-0.9.XX fixed here as : public final class JXSearchFieldAddon extends AbstractComponentAddon { public static final String SEARCH_FIELD_SOURCE = "searchField"; public static final String BUTTON_SOURCE = "button"; public JXSearchFieldAddon() { super("JXSearchField"); } @Override protected void addBasicDefaults(final LookAndFeelAddons addon, final DefaultsList defaults) { super.addBasicDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.layoutStyle", LayoutStyle.MAC, "SearchField.icon", getIcon("basic/resources/search.gif"), "SearchField.rolloverIcon", getIcon("basic/resources/search_rollover.gif"), "SearchField.pressedIcon", getIcon("basic/resources/search.gif"), "SearchField.popupIcon", getIcon("basic/resources/search_popup.gif"), "SearchField.popupRolloverIcon", getIcon("basic/resources/search_popup_rollover.gif"), "SearchField.clearIcon", getIcon("basic/resources/clear.gif"), "SearchField.clearRolloverIcon", getIcon("basic/resources/clear_rollover.gif"), "SearchField.clearPressedIcon", getIcon("basic/resources/clear_pressed.gif"), "SearchField.buttonMargin", new InsetsUIResource(1, 1, 1, 1), "SearchField.popupSource", BUTTON_SOURCE})); //webstart fix UIManagerExt.addResourceBundle("org.jdesktop.xswingx.plaf.basic.resources.SearchField"); // UIManager.getDefaults().addResourceBundle("org.jdesktop.xswingx.plaf.basic.resources.SearchField"); } @Override protected void addMetalDefaults(final LookAndFeelAddons addon, final DefaultsList defaults) { super.addMetalDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.buttonMargin", new InsetsUIResource(0, 0, 1, 1) })); } @Override protected void addWindowsDefaults(final LookAndFeelAddons addon, final DefaultsList defaults) { super.addWindowsDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.promptFontStyle", Font.ITALIC, "SearchField.layoutStyle", LayoutStyle.VISTA, "SearchField.icon", getIcon("windows/resources/search.gif"), "SearchField.rolloverIcon", getIcon("windows/resources/search_rollover.gif"), "SearchField.pressedIcon", getIcon("windows/resources/search_pressed.gif"), "SearchField.popupIcon", getIcon("windows/resources/search_popup.gif"), "SearchField.popupRolloverIcon", getIcon("windows/resources/search_popup_rollover.gif"), "SearchField.popupPressedIcon", getIcon("windows/resources/search_popup_pressed.gif"), "SearchField.clearIcon", getIcon("windows/resources/clear.gif"), "SearchField.clearRolloverIcon", getIcon("windows/resources/clear_rollover.gif"), "SearchField.clearPressedIcon", getIcon("windows/resources/clear_pressed.gif"), "SearchField.useSeperatePopupButton", Boolean.TRUE, "SearchField.popupOffset", -1 })); // Do it like 'Windows Media Player' in XP: // Replace the border line with the search button line on rollover. // But not in classic mode! if (UIManager.getLookAndFeel().getClass().getName().indexOf("Classic") == -1) { defaults.add("SearchField.buttonMargin", new InsetsUIResource(0, -1, 0, -1)); } else { defaults.add("SearchField.buttonMargin", new InsetsUIResource(0, 0, 0, 0)); } } @Override protected void addMotifDefaults(final LookAndFeelAddons addon, final DefaultsList defaults) { super.addMotifDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.icon", getIcon("macosx/resources/search.png"), "SearchField.rolloverIcon", getIcon("macosx/resources/search.png"), "SearchField.pressedIcon", getIcon("macosx/resources/search.png"), "SearchField.popupIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.popupRolloverIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.popupPressedIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.clearIcon", getIcon("macosx/resources/clear.png"), "SearchField.clearRolloverIcon", getIcon("macosx/resources/clear_rollover.png"), "SearchField.clearPressedIcon", getIcon("macosx/resources/clear_pressed.png") })); } @Override protected void addMacDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addMacDefaults(addon, defaults); addAll(defaults, Arrays.asList(new Object[] { "SearchField.icon", getIcon("macosx/resources/search.png"), "SearchField.rolloverIcon", getIcon("macosx/resources/search.png"), "SearchField.pressedIcon", getIcon("macosx/resources/search.png"), "SearchField.popupIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.popupRolloverIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.popupPressedIcon", getIcon("macosx/resources/search_popup.png"), "SearchField.clearIcon", getIcon("macosx/resources/clear.png"), "SearchField.clearRolloverIcon", getIcon("macosx/resources/clear_rollover.png"), "SearchField.clearPressedIcon", getIcon("macosx/resources/clear_pressed.png"), "SearchField.buttonMargin", new InsetsUIResource(0, 0, 0, 0), "SearchField.popupSource", SEARCH_FIELD_SOURCE})); } // Workaround: Only return true, when the current LnF is Windows or // PlasticXP. protected boolean isWindows(final LookAndFeelAddons addon) { return super.isWindows(addon) || (UIManager.getLookAndFeel().getClass().getName().indexOf("Windows") != -1 || UIManager.getLookAndFeel().getClass().getName().indexOf("PlasticXP") != -1); } private void addAll(final DefaultsList defaults, final List<Object> parList) { assert( 0 == parList.size() % 2 ); for (int locIt = 0; locIt < parList.size(); ) { defaults.add(parList.get(locIt), parList.get(locIt + 1)); locIt += 2; } } private IconUIResource getIcon(final String resourceName) { final URL url = JXSearchFieldAddon.class.getResource(resourceName); if (url == null) { return null; } else { return new IconUIResource(new ImageIcon(url)); } } }

Older

  • Nov 10, 2008
    issue 12 (Remove swingx dependency) reported by hans.na...@gmx.de   -   What steps will reproduce the problem? 1. try to incorporate xswingx into your own program What is the expected output? What do you see instead? while xswingx itself is very nice and well designed it strongly suffers from its dependency to swingx. Swingx is not maintained anymore, with all the bad effects: no current builds, builds itself inconsistent (e.g. containing unresolved symbols), etc. It is even admitted by SUN in the forums that swingx is dead: http://forums.java.net/jive/thread.jspa?messageID=313969 So please: offer xswingx as standalone lib without the dependency to swingx. It would be a pitty if xswingx would suffer from a dead swingx. What version of the product are you using? On what operating system? latest as of today Please provide any additional information below.
    What steps will reproduce the problem? 1. try to incorporate xswingx into your own program What is the expected output? What do you see instead? while xswingx itself is very nice and well designed it strongly suffers from its dependency to swingx. Swingx is not maintained anymore, with all the bad effects: no current builds, builds itself inconsistent (e.g. containing unresolved symbols), etc. It is even admitted by SUN in the forums that swingx is dead: http://forums.java.net/jive/thread.jspa?messageID=313969 So please: offer xswingx as standalone lib without the dependency to swingx. It would be a pitty if xswingx would suffer from a dead swingx. What version of the product are you using? On what operating system? latest as of today Please provide any additional information below.
  • Nov 10, 2008
    issue 11 (Gap between icon and input part of search field too small wi...) reported by hans.na...@gmx.de   -   What steps will reproduce the problem? 1. start your webstart demo at http://stud4.tuwien.ac.at/~e0304333/xswingx2/launch.jnlp 2. choose lnf GTK and/or Nimbus 3. go to search field tab 4. start typing into the search field What is the expected output? What do you see instead? The visual gap between the search icon (magnifier) and the first character of the search string is way too small (looks like 0 px). Instead, there should be some sensible gap What version of the product are you using? On what operating system? latest as of today Please provide any additional information below. This happens with both 1.6.10 and 1.6.7 as well as Windows and Linux
    What steps will reproduce the problem? 1. start your webstart demo at http://stud4.tuwien.ac.at/~e0304333/xswingx2/launch.jnlp 2. choose lnf GTK and/or Nimbus 3. go to search field tab 4. start typing into the search field What is the expected output? What do you see instead? The visual gap between the search icon (magnifier) and the first character of the search string is way too small (looks like 0 px). Instead, there should be some sensible gap What version of the product are you using? On what operating system? latest as of today Please provide any additional information below. This happens with both 1.6.10 and 1.6.7 as well as Windows and Linux
  • Nov 10, 2008
    issue 10 (Nimbus/GTK LnF: Search field looks disabled as soon as you t...) reported by hans.na...@gmx.de   -   What steps will reproduce the problem? 1. start your webstart demo at http://stud4.tuwien.ac.at/~e0304333/xswingx2/launch.jnlp 2. choose lnf GTK and/or Nimbus 3. go to search field tab 4. start typing into the search field What is the expected output? What do you see instead? with GTP and Nimbus LnF the search field's background turns gray (like disabled) as soon as you type in the first character. Instead it should still look like an editable field. What version of the product are you using? On what operating system? Latest as of today Please provide any additional information below. PS: good piece of sw!
    What steps will reproduce the problem? 1. start your webstart demo at http://stud4.tuwien.ac.at/~e0304333/xswingx2/launch.jnlp 2. choose lnf GTK and/or Nimbus 3. go to search field tab 4. start typing into the search field What is the expected output? What do you see instead? with GTP and Nimbus LnF the search field's background turns gray (like disabled) as soon as you type in the first character. Instead it should still look like an editable field. What version of the product are you using? On what operating system? Latest as of today Please provide any additional information below. PS: good piece of sw!
  • Sep 22, 2008
    issue 9 (support for swingx 0.9.4) commented on by thrawnkb   -   It also works with swingx 0.9.3, but in 0.9.4, some deprecated methods were removed
    It also works with swingx 0.9.3, but in 0.9.4, some deprecated methods were removed
  • Sep 22, 2008
    issue 8 ("SearchField.layoutStyle" not in the UIManager) commented on by thrawnkb   -   This is related to issue 9
    This is related to issue 9
  • Sep 22, 2008
    issue 9 (support for swingx 0.9.4) reported by thrawnkb   -   What steps will reproduce the problem? 1. try to use swingx 0.9.4 What is the expected output? What do you see instead? There are several compilation problems What version of the product are you using? On what operating system? xswingx 0.2 with swingx 0.9.4 Please provide any additional information below. It works with swingx 0.9.2 Issue 8 is related to this
    What steps will reproduce the problem? 1. try to use swingx 0.9.4 What is the expected output? What do you see instead? There are several compilation problems What version of the product are you using? On what operating system? xswingx 0.2 with swingx 0.9.4 Please provide any additional information below. It works with swingx 0.9.2 Issue 8 is related to this
  • Sep 16, 2008
    issue 8 ("SearchField.layoutStyle" not in the UIManager) reported by thrawnkb   -   What steps will reproduce the problem? 1. Appears always when creating the SearchPanel What is the expected output? What do you see instead? As it is null, it throws later a NPE What version of the product are you using? On what operating system? 0.2 Please provide any additional information below. I got this error since several days, before it worked fine. I dont know which changes I did that screwed this up Stack Trace: java.lang.NullPointerException at org.jdesktop.xswingx.JXSearchField.customSetUIProperty (JXSearchField.java:748) at org.jdesktop.xswingx.JXSearchField.customSetUIProperty (JXSearchField.java:726) at org.jdesktop.xswingx.plaf.SearchFieldUI.installDefaults (SearchFieldUI.java:211) at org.jdesktop.xswingx.plaf.SearchFieldUI.installUI (SearchFieldUI.java:72) at javax.swing.JComponent.setUI(JComponent.java:673) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322) at org.jdesktop.xswingx.plaf.TextUIWrapper.replaceUIIfNeeded (TextUIWrapper.java:70) at org.jdesktop.xswingx.plaf.TextUIWrapper $DefaultWrapper.replaceUIIfNeeded(TextUIWrapper.java:167) at org.jdesktop.xswingx.plaf.TextUIWrapper.install (TextUIWrapper.java:51) at org.jdesktop.xswingx.JXSearchField.setUseNativeSearchFieldIfPossible (JXSearchField.java:516) at org.jdesktop.xswingx.JXSearchField.<init> (JXSearchField.java:173) at org.jdesktop.xswingx.JXSearchField.<init> (JXSearchField.java:161)
    What steps will reproduce the problem? 1. Appears always when creating the SearchPanel What is the expected output? What do you see instead? As it is null, it throws later a NPE What version of the product are you using? On what operating system? 0.2 Please provide any additional information below. I got this error since several days, before it worked fine. I dont know which changes I did that screwed this up Stack Trace: java.lang.NullPointerException at org.jdesktop.xswingx.JXSearchField.customSetUIProperty (JXSearchField.java:748) at org.jdesktop.xswingx.JXSearchField.customSetUIProperty (JXSearchField.java:726) at org.jdesktop.xswingx.plaf.SearchFieldUI.installDefaults (SearchFieldUI.java:211) at org.jdesktop.xswingx.plaf.SearchFieldUI.installUI (SearchFieldUI.java:72) at javax.swing.JComponent.setUI(JComponent.java:673) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322) at org.jdesktop.xswingx.plaf.TextUIWrapper.replaceUIIfNeeded (TextUIWrapper.java:70) at org.jdesktop.xswingx.plaf.TextUIWrapper $DefaultWrapper.replaceUIIfNeeded(TextUIWrapper.java:167) at org.jdesktop.xswingx.plaf.TextUIWrapper.install (TextUIWrapper.java:51) at org.jdesktop.xswingx.JXSearchField.setUseNativeSearchFieldIfPossible (JXSearchField.java:516) at org.jdesktop.xswingx.JXSearchField.<init> (JXSearchField.java:173) at org.jdesktop.xswingx.JXSearchField.<init> (JXSearchField.java:161)
 
Hosted by Google Code