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
7
votes
2 answers

How to edit a JXTreeTable cell in only one mouse click?

I want to use a JComboBox as a cell editor in a JXTreeTable. It works fine with a standard DefaultCellEditor (i.e. with a click count to start equal to 2). Now I want the column to be editable on only one click. So I added a…
Marc de Verdelhan
  • 2,501
  • 3
  • 21
  • 40
7
votes
2 answers

How to change the bg color of JXTaskPaneContainer

I want to change blue background color to white of taskpanecontainer. I have used below line but nothing is effected by this line. UIManager.put("TaskPaneContainer.background", Color.LIGHT_GRAY); Please give me some idea to change bg color. …
user591790
  • 545
  • 2
  • 15
  • 33
7
votes
1 answer

How to highlight every other row in JTable with swingx 1.6

I need to highlight every other row in my JTable. With old version of swingx it could be done like this: table.setHighlighters(new HighlighterPipeline(new Highlighter[] { new AlternateRowHighlighter( color1, color2,color3 })); but now,…
Dakarth
  • 83
  • 7
6
votes
1 answer

SwingX JXTable: use ColorHighlighter to color rows based on a "row object"

I'm using JXTable and I know how to do this based on DefaultRenderers for JTable, but I want to know how to do it in a way that's JXTable-friendly based on HighlighterPipeline. I have a list of objects displayed in a table, and each row represents…
Jason S
  • 184,598
  • 164
  • 608
  • 970
6
votes
1 answer

Is there any [un]official info about SwingX-WS 1.1 and its development status?

I've been keeping an eye for almost a year on swingx-ws (on SwingX website, via Google and whatnot [1,2, etc.]), to see if version 1.1 eventually made it to become a released milestone (I'm using v1.0 but there are some JXMapViewer bugs that,…
Unai Vivi
  • 3,073
  • 3
  • 30
  • 46
6
votes
3 answers

What happened to swing labs or swingx-ws? JXMapKit for Java

I am new to java and have been looking at few tutorials around GIS or geogrpahical GUI java applications. Many of them mention and seem to require swingx-ws or swing labs componet and classes. I have managed to track down some old versions, but they…
Rhys
  • 2,807
  • 8
  • 46
  • 68
6
votes
4 answers

How to add text area on JOptionPane

Currently I have a JOptionPane. On clicking a button I am executing following line. JOptionPane.showInputDialog(this,"Enter your message","Messages",2); It opens a popup with a text box. This text box accepts around 40/50 characters. In fact my…
java_enthu
  • 2,279
  • 7
  • 44
  • 74
6
votes
3 answers

Sorting JXTable with SwingX

I am using JXTable which is from SwingX components. If I use setSortable(boolean flag) method then it will enable or disable sorting for all columns. As of my requirement I want to disable sorting for a few columns and enable sorting for other…
user711466
  • 109
  • 1
  • 3
6
votes
1 answer

Date ranges in swingx's JXDatePicker?

Does anyone know if it's possible to selected multiple days with swingx's jxdatepicker? I'm using swingx version 1.6.1 (which looks to be the latest).
Seth
  • 5,596
  • 8
  • 42
  • 56
6
votes
3 answers

Slippy maps for Java Swing GUIs: SwingX-WS

This post's purpose is to gather in one place all useful info and material needed in order to implement slippy maps in a Swing application using the SwingX-WS library, now that the SwingLabs website is no more -- in spite of the fact that, however,…
Unai Vivi
  • 3,073
  • 3
  • 30
  • 46
6
votes
4 answers

How to add a horizontal gap with a JLabel

I have a JLabel (actually, it is a JXLabel). I have put an icon and text on it. Now I wand to add some spacing on the left side of the component, like this: I DON'T accept suggestion to move the JLabel or add spacing…
michelemarcon
  • 23,277
  • 17
  • 52
  • 68
6
votes
1 answer

How do I know if an item of an auto-complete decorated JComboBox is mouse clicked?

I'm using the SwingX AutoCompleteDecorator for a JComboBox. The autocomplete feature works beautifully... But I have trouble to identify the moment of the final user selection; to persist my data seldom. Let me try to explain: The combobox fires…
bobndrew
  • 395
  • 10
  • 32
6
votes
2 answers

How to make JScrollPane scroll 1 line per mouse wheel step?

I have a JScrollPane whose content pane is a JXList. When I use the mouse wheel on the list, the list steps three (3) items at a time. This also works for a table, regardless of row height. How can I change this so that - regardless of platform -…
xmjx
  • 1,163
  • 1
  • 7
  • 18
5
votes
1 answer

Issue with a JComboBox in a JXTable

I am trying to make a column in a JXTable to be a combo box. Its difficult to explain the problem I am facing. When you click on the drop down, at times the drop down does not stay open long enough for you to choose the value. It just closes and…
sethu
  • 8,181
  • 7
  • 39
  • 65
5
votes
2 answers

How to get a double-clicked TreeTableNode?

I'm working with Eclipse and I've got a question about JXTreeTables. I want a window, showing some information about the node, to pop up, when a node is double-clicked. Now, is it possible to get the double-clicked node of the JXTreeTable or null if…
user107043
  • 97
  • 7
1
2
3
27 28