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

How to make transparent background color of an image that displayed through jxImageview

I made a JxImageView object and set an image to it, now i got white color as its background which is not in the original image. i just want to remove the white color from the viewport.
Bijoy
  • 399
  • 2
  • 7
  • 15
2
votes
2 answers

JXTable: how to query state on column models?

I am writing some UI persistence methods for an application. I'm trying to expand to a JXTable with a fixed set of N columns in the table model. How can I get and set the following information for column #k in the JXTable, where k is the column…
Jason S
  • 184,598
  • 164
  • 608
  • 970
2
votes
1 answer

SwingX fading effect on JXFrame?

I tried the demo of the swingx framework (http://swingx.java.net/). When you close the main window you have a great fading effect. I tried to reach this effect with the JXFrame but it has just the normal closing effect. Anyone has an idea?
Anthea
  • 3,741
  • 5
  • 40
  • 64
2
votes
0 answers

How do I remove a SwingX AutoCompleteDecorator?

I am using a SwingX AutoCompleteDecorator on the JTextField of a DefaultCellEditor. However, I'm using the same Editor on multiple columns of the table. The auto-complete suggestions will have to differ between columns, as would the…
Mike Adler
  • 1,199
  • 9
  • 24
2
votes
1 answer

Parsing the JXDatePicker in order to insert into Java DB Date field?

I'd like to insert the value derived from this JXDatePicker into a Date field in Java DB. How should I get ONLY date off this controller in a way that time is represented as dd/mm/yyyy and nothing else??!
Sam
  • 2,702
  • 5
  • 31
  • 45
2
votes
1 answer

JXTable Highlighter

I would like to highlight data in a JXTable based on the previous data in the table. The data exists in "blocks" but the number of rows in each block of data varies based on a variety of factors; what I would like to do is alternately highlight…
user986713
  • 143
  • 1
  • 1
  • 6
2
votes
2 answers

Using invokeLater or invokeAndWait to wait for a response from another GUI

This method is supposed to merge two the definitions of two entries for a single in a glossary. It creates an instance of the GlossaryEntryMergeUI class (extension of JFrame), which walks the user through the merging process. The user clicks a…
user984165
  • 292
  • 1
  • 4
  • 13
2
votes
1 answer

JTreeTable display problem

I've the following problem.. I've created a JTreeTable and a model which extends AbstractTreeTableModel. The problem is that my data are shown only if I call the fireTreeStructureChanged() method after each inserting operation. In…
marco
  • 295
  • 3
  • 13
2
votes
1 answer

Combining JXTable with RXTable

Problem I want the capabilities of JXTable with the "select all on edit" behavior of RXTable. Doing a simple override would be fine but the double click function of the RXTable doesn't work with JXTable. When using the Button Action mode it's…
Robbie
  • 892
  • 2
  • 7
  • 19
2
votes
1 answer

JXMultiSplitPane going bonkers when I switch tabs

I'm using JXMultiSplitPane (from SwingX 1.6.2) to implement a three-pane horizontal interface. In the center pane is a JTabbedPane with two tabs: one with a JTextArea (in a JScrollPane, of course) used for entering Markdown code and the other a…
James Jensen
  • 363
  • 3
  • 8
2
votes
3 answers

In Java Swing (using swingx) how to sort rows in one table in same order as another table

I have a table with x num of rows, I have a second table with the same number of rows but different columns and metadata, they have different table models. but each row represents the same object (a song). I want to synchronize row sorting between…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
2
votes
3 answers

Veil LoadingImage or LoadingPanel over JFrame

Is there any component in Swing(X) by which we can place a veil loading image over a panel or frame making it transparent during some lengthy background processing?
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
2
votes
2 answers

JXMultiSplitPane causes repaint during slider adjustment?

I seem to be getting frequent repaint requests during adjustment of the splitter in JXMultiSplitPane. (see program below) Why? I have setContinuousLayout(false). Just to clarify: I understand the repaint should occur after the split-panes are…
Jason S
  • 184,598
  • 164
  • 608
  • 970
2
votes
4 answers

Is there a way to call JXTable.packAll() in a way that does not lock up the swing thread?

I am displaying lots of data in JXTable from the SwingX project. After loading the data, I call packAll() on the table but with 200 hundred columns and 30,000 records it might take 5 seconds or more. I'm calling this from the swing thread which…
Jay Askren
  • 10,282
  • 14
  • 53
  • 75
2
votes
2 answers

Painting cells certain colours depending on value within previous row JXTreeTable

I've got a JXTreeTable with a custom cell renderer. I am attempting to get the background colour of a row to change when a field in a row is different from the field in the previous row. Say for example that the row contains "1" as the ID. If the…
Bonnotbh
  • 515
  • 7
  • 24