Questions tagged [swingx]

Contains extensions to the Java Swing GUI toolkit, including new and enhanced components that provide functionality commonly required by rich client applications.

Contains extensions to the Java Swing GUI toolkit, including new and enhanced components that provide functionality commonly required by rich client applications. Note that this project has been discontinued in early 2013.

Highlights include:

  • List item
  • Sorting, filtering, highlighting for tables, trees, and lists
  • Find/ search
  • Auto-completion
  • Login/ authentication framework
  • TreeTable component
  • Collapsible panel component
  • Date picker component
  • Tip-of-the-Day component

While it was planned to have many of these features to be incorporated into the Swing toolkit, Swing itself has been put into maintenance mode, with JavaFX being the actively developed UI toolkit shipped with JDK.

The project was hosted on http://swingx.java.net/ until java.net itself was discontinued. Historical binary artifacts are available at https://mvnrepository.com/artifact/org.swinglabs.swingx

419 questions
4
votes
2 answers

JXCollapsiblePane from SwingX, not working correctly

I've recently found swingx and wanted to experiment with JXCollapsiblePane. But i cant get it to work. I've found this code: Action toggleAction = collapsiblePane.getActionMap(). get(JXCollapsiblePane.TOGGLE_ACTION); …
bunnyjesse112
  • 747
  • 6
  • 27
  • 44
4
votes
2 answers

how to register KeyStroke on JXDatePicker

I need to transfer focus onto another element when user press Enter key, so I succeded to register KeyStroke on most elements this way: this.getInputMap( ).put( KeyStroke.getKeyStroke( '\n' ), "transferFokus" ); this.getActionMap( ).put(…
ante.sabo
  • 3,141
  • 6
  • 28
  • 36
4
votes
3 answers

JTable in JScrollpane adjust height of the displayed component

I have a jtable within a jscrollpane. I use the jgoodies Form Layout and have put the scrollpane in a row that is set to "pref". This is how the table looks like right now: I am using swingx JXTable by the way and have set the visibleRowCount to 2.…
sethu
  • 8,181
  • 7
  • 39
  • 65
4
votes
5 answers

How to add SwingX palette in Window Builder?

I am using Windows Builder Pro in my Eclipse Helios. In NetBeans I know how to add SwingX palette. How can I add SwingX palette in Windows Builder?
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
4
votes
3 answers

JXTable with DefaultTableCellrenderer and alternate striping highlighter

I updated to SwingX-1.6.2 but found problems that didn't appear in 1.6. The colors of the JXTable cells looks odd. I use a highlighter with an alternate striping (HighlighterFactory.createAlternateStriping) for the colors and a subclass of…
Stephan
  • 4,395
  • 3
  • 26
  • 49
4
votes
2 answers

Is it possible to use a JXBusyLabel as a cell rendered in a JTable?

I would like to use the JXBusyLabel in a cell to notify the user that an event is currently taking place for the row where the JXBusyLabel is. For example, double clicking a row to open it would trigger the anymation of the JXBusyLabel. Does this…
ktulinho
  • 3,870
  • 9
  • 28
  • 35
4
votes
2 answers

JXTreeTable model doesn't allow to use insertNodeInto()

I am using a tree table model in my app which extends AbstractTreeTableModel in order to create a JXTreeTable. Below is my model. import org.jdesktop.swingx.treetable.AbstractTreeTableModel; import…
sher17
  • 607
  • 1
  • 12
  • 31
4
votes
1 answer

JXTable - Highlighter after filtering table

Info - for better formatting, I used code-formatting throughout the whole posting. Hi, I have a highlighted JXTable. Rows are highlighted, depending on the value of a specific column (c2). Everytime the value of column c2 changes, the color is…
Kai Mechel
  • 753
  • 8
  • 19
4
votes
1 answer

Prefuse example graph partly outside of JPanel

I want to use Prefuse to visualise a graph. I followed their tutorial and tried their sample application. Its sourcecode can be found here However, even if I simply copy the full code, the resulting graph does not look as displayed in the tutorial.…
anjuta
  • 333
  • 3
  • 12
4
votes
2 answers

GATE -Dgate.plugins.home option in your start-up script

i am using GATE.ac.uk. scr code in eclipse LUNA java 1.8. I have problem with execution for start the GATE application.it shows the error like this: "Error during initialisation : gatel:util.GateRuntimeException:Could not infer installed plug-ins…
4
votes
2 answers

Make JXTreeTable Entire Row Bold

I try to make the entire row in a JXTreeTable to become bold. final TableCellRenderer doubleOldTableCellRenderer = this.buyTreeTable.getDefaultRenderer(Double.class); final TableCellRenderer integerOldTableCellRenderer =…
Cheok Yan Cheng
  • 47,586
  • 132
  • 466
  • 875
4
votes
2 answers

JXTable listen to sort and sort a similar table the same way

I have a number of JXTables which all have the same columns (but different data). You can sort the data by clicking on one the header of one of the columns. What I want now, is that the other tables are sorted the same way when clicking on the…
Fortega
  • 19,463
  • 14
  • 75
  • 113
4
votes
2 answers

SwingX AutoCompleteDecorator JTextField Errors

I'm testing out the SwingX AutoCompleteDecorator, the code I'm using is this: import javax.swing.text.JTextComponent; import javax.swing.JFrame; import javax.swing.JTextField; import javax.swing.JPanel; import javax.swing.JList; import…
JustAnotherSoul
  • 350
  • 3
  • 14
4
votes
2 answers

Fest slows down while testing with swingx jxtreetable

I am not sure how to explain this. But I'll try.. Fest slows down to crawl while working with JXTreeTable of swingx. It doesn't slow down initially. It works fine for a while, but after a while when the same actions are repeated it slows down…
sethu
  • 8,181
  • 7
  • 39
  • 65
4
votes
1 answer

Installing SwingX 1.0 to NetBeans 6.7.1

Has anyone successfully installed SwingX to NetBeans' Palette? I'm following the instructions in SwingX Wiki, but with some glitches: The components appear in the Palette, but their icons won't show up correctly. If I add the componets shown by…
Joonas Pulakka
  • 36,252
  • 29
  • 106
  • 169