
xswingx
Vote for SwingX Issue 306 if you want xswingx to be integrated into SwingX
xswingx can help you... * Add prompts to any text component. * Add child components to any text field. (Called buddies. Wonder why? Read the FAQ.) * Add a search field to your UI (and let it look and behave like native - or not).
View GettingStarted to get started or try the WebStart Demo to get an idea of what this is all about.
Want to know how it works and why you should use it? Read the FAQ.
Highlights
- Super easy to use - clean, lightweight design; unit tested and documented
- Real beans - use with your favorite GUI editor
Prompt Support * Customize colors, fonts and focus behavior (hide, highlight, or show the prompt when focused) * Everything's in the UI - don't worry about unwanted DocumentEvent's * Works with every JTextComponent - JTextField, JTextArea, JFormattedTextField
Buddy Support**new** * Add any component to the left or right side of any JTextField.
Search Field**improved** * Looks like native - automatically takes the style appropriate for your current look and feel. * Easy search - just register an ActionListener. * Instant or Regular search - search while typing, when pressing enter, or clicking the search button. * Delayed search (while typing) - don't search after each keystroke. * Set a popup menu - and let the search field worry about the rest. * Built in recent searches popup menu.improved * Customizable - change icons, margins, layout style,... improved (because now based on the new buddy support.) * Native search field support on Mac OS X 10.5.new
Quick Start
To add a prompt to your existing text component simply call
PromptSupport.setPrompt("Prompt", textComponent);
To add a child component to your existing text component you can use
BuddySupport.addLeft(myBuddy, textComponent);
You can also use the JXTextField
, JXTextArea
, or JXFormattedTextField
classes with your favorite GUI editor.
Use the JXSearchField
class (not JSearchField
) to create a search field which automatically takes the style appropriate for your current Look and Feel.
Learn more
Project Information
- License: GNU Lesser GPL
- 45 stars
- svn-based source control
Labels:
swing
java
components