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
211
votes
6 answers

Swing vs JavaFx for desktop applications

I have a very big program that is currently using SWT. The program can be run on both Windows, Mac and Linux, and it is a big desktop application with many elements. Now SWT being somewhat old I would like to switch to either Swing or JavaFX. And I…
Quillion
  • 6,346
  • 11
  • 60
  • 97
91
votes
1 answer

What is the status of SwingLabs (SwingX) post acquisition

I found this older discussion: Does anyone use the "swingx" extensions to Swing?, but I am wondering the current status of SwingLabs, SwingX. A bunch of the download addresses etc are all broken, for example: https://swingx.dev.java.net the first…
Dilum Ranatunga
  • 13,254
  • 3
  • 41
  • 52
56
votes
10 answers

How can I create a "modern looking" Java desktop application?

Similar questions to this are asked periodically, but many of these answers are outdated. I need to build a cross-platform desktop application in Java with a GUI of comparable quality to contemporary desktop apps. Swing is the default choice, but I…
sanity
  • 35,347
  • 40
  • 135
  • 226
34
votes
10 answers

Filtering on a JTree

Problem Applying filtering on a JTree to avoid certain nodes/leaves to show up in the rendered version of the JTree. Ideally I am looking for a solution which allows to have a dynamic filter, but I would already be glad if I can get a static filter…
Robin
  • 36,233
  • 5
  • 47
  • 99
30
votes
2 answers

Replace a class within the Java class library with a custom version

The class BasicLabelUI in javax/swing/plaf/basic is affected by a confirmed bug. In my application I need functionality provided by the fixed version (filed for v9). Due to both legal and technical reasons, I'm still bound to the affected JDK…
bogus
  • 867
  • 6
  • 14
  • 24
17
votes
2 answers

How to use jXDatePicker with maskFormatter?

I would like to use a jxdatepicker with maskFormatter. I tried MaskFormatter maskFormatter = new MaskFormatter ("##/##/####"); JFormattedTextField field=new JFormattedTextField (maskFormatter); jXDatePicker.setEditor (field); and MaskFormatter…
Billydan
  • 395
  • 1
  • 7
  • 25
16
votes
1 answer

Subclassing DefaultRowSorter to allow tree-table sorting

In this question, I asked how it was possible to make a JXTreeTable (SwingX) sort its top element. I took a look at the library (aephyr) suggested by mKorbel and tried to combine it with JXTreeTable (I created a new class named JXSortableTreeTable…
ixM
  • 1,244
  • 14
  • 29
14
votes
1 answer

Put new component on JXTaskPane

The JXTaskPane used in Java Swing has a title bar. There is a expand/shrink button in it. I would like to be able to add my own actions in the titlebar that would appear beside the expand/shrink button. How can I do this? I try myself many times,…
DEVANG SHARMA
  • 2,662
  • 5
  • 33
  • 52
11
votes
3 answers

How to use Ctrl+Z and Ctrl+Y with all Text Components?

In fact i know how to implement using CTRL+Z (Undo) and CTRL+Y (Redo) with one JTextField. But i have hundreds of Text Components in my Swing application, so is there a way to apply this for all Text Components in my application, so when i click…
Brad
  • 4,457
  • 10
  • 56
  • 93
10
votes
4 answers

Map API for Java Swing

I want to visualise the geographic map in the swing application. I found only swingx map api. Do you know other open-source map api?
ibrahimyilmaz
  • 18,331
  • 13
  • 61
  • 80
8
votes
2 answers

How to make a JXTreeTable sort its top elements

I'm aware (I've looked at the sources ;) ) that sorting on JXTreeTable has been disabled. However, I would like to allow sorting on all columns based only on the values of the direct children of the root node. Say I have a structure like this: Name …
ixM
  • 1,244
  • 14
  • 29
8
votes
2 answers

Why is JXTable losing input where JTable is not?

When I'm using a JXTable to render and edit my data, some input into the CellEditors gets lost. If I click on the Resizing-Divider of the JXTable-ColumnHeader or change the width of the JFrame, the CellEditor gets terminated without commiting the…
bobndrew
  • 395
  • 10
  • 32
8
votes
6 answers

Does anyone use the "swingx" extensions to Swing?

I've seen "swingx" mentioned and referred to here. However, every time I try to visit the site: http://swinglabs.org/ It's down! Is this still an active, viable project? Or is it outdated and abandoned?
user122299
7
votes
1 answer

How do I invoke an immediate update to a Java GUI? (conflict with Thread.sleep())

I am making the game Memory, when you pick two cards and if they match you get to keep them, otherwise you turn them back. If you then remember cards you have already chosen, you can venture a better guess on the next two cards. The problem I have…
Eric Thoma
  • 5,905
  • 6
  • 30
  • 40
7
votes
0 answers

Is java Swingx (Swinglabs) a dead project?

I am not able to find an official site about it, just a github repository (https://github.com/tmyroadctfig/swingx) that point to http://swingx.dev.java.net/ that doesn't exists any more, all the links points to java.net. What is the state of this…
res1
  • 3,482
  • 5
  • 29
  • 50
1
2 3
27 28