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

Swing JTable - Change background color of a row in function of the previous row

I have a swing JXTable and the requirement is that background color must change if a field differs from the previous row. Here is an example : Row 0 : var = 1 -> Background BLUE Row 1 : var = 1 -> Background BLUE Row 2 : var = 2 -> Background…
FlorianB
  • 31
  • 4
0
votes
1 answer

Add panel dynamically

I have in my form JList component, and I want when user select item from JList to add a new panel on existing JLayeredPanel with item's name. There is my panel: package forme; /** * * @author Administrator */ public class PanelProcesses…
bralek
  • 23
  • 6
0
votes
1 answer

Jxcollapsible pane not collapsing

I am trying to collapse the JXCollapsiblePane by setting the JXCollapsiblePane.setCollapsed(true). But it doesn't seem to work.. What can be a possible reason?
Nigel Thomas
  • 1,881
  • 8
  • 30
  • 50
0
votes
0 answers

Extending JXDatePicker for Time JComboBoxes

So I'm trying to extend the JXDatePicker to include a Time element. I have replaced the link panel at the bottom of the JXDatePicker pane with a couple of labels and a couple of drop down boxes (JComboBox), one for hour and one for minute. …
MeanwhileInHell
  • 6,780
  • 17
  • 57
  • 106
0
votes
1 answer

Implementing clolored free-hand lines with SWING

Hy! I want to draw free lines in a JFrame. I implemented it in a class which extends JPanel. Its definition looks like this: public class Draw extends JPanel implements MouseMotionListener, MouseListener I added to the class Draw a void method…
0
votes
1 answer

Find and remove a JXTaskpane from a JXTaskPaneContainer

I have a model view controller application. The view contains a JXTaskContainer with several JXTaskPane. The JXTaskPane has a delete button that will remove it from the container. How can I find the right JXTaskPane and then delete it from the…
Pukka
  • 11
  • 3
0
votes
2 answers

Why JScrollPane does not work when containing a JXPanel?

I made a really simple test case: I have a global containing panel with a BorderLayout (panel1) This global panel contains a JScrollPane (scroll1) This JScrollPane contains a panel with a BoxLayout set on PAGE_AXIS (panel2) And then i have this…
nathan
  • 1,111
  • 3
  • 18
  • 33
0
votes
1 answer

How to add a new row to JXTable at runtime?

I am using JXTable to display a list of records. When I click "Refresh" button, I want the JXTable to be refreshed to display the newly inserted records. And also when I click "Add new Row" button, a new row must be added to JXTable. How can I…
brainless
  • 5,698
  • 16
  • 59
  • 82
0
votes
2 answers

Setting the date format in JXTable cell

On this thread I've figured out how to add a JXDatePicker in to a JXTable (or JTable) cell. But I've a small issue now. DatePicker pops up and works fine according to my need. But I can't change the display format of the date in the cell. It shows…
Anubis
  • 6,995
  • 14
  • 56
  • 87
0
votes
0 answers

JXTreeTable - turn a child node into a parent node after deleting parent

I have a JXTreeTable with parent and child rows. I have a situation where I need to delete the parent, and move the child up to the level of the other parents. Is there a way to do this?
Rex
  • 801
  • 1
  • 17
  • 26
0
votes
1 answer

Why does a RolloverRenderer uses the wrong cell context

The issue I have was hard to reproduce but I hope someone here can give me a hint on how to solve this. I've written a ComponentProvider that takes a String value an creates an clickable cell decorated with a icon if the String contains a…
Moritz
  • 405
  • 2
  • 8
0
votes
1 answer

JXTreeTable - my node is editable but other cells are not

This is really confusing me. I will show my code so far. I am trying to make certain field's editable. That is the end goal, but I just tried to put in a JCheckBox just to test. But even that doesn't seem to work. Can you please take a look at this.…
Mathew Kurian
  • 5,949
  • 5
  • 46
  • 73
0
votes
1 answer

How to add vertical scrollbar to Jpanel which is having SpringLayout in Java?

I have below snippet of code in which TestClass is extending jPanel which is using SpringLayout, in which I'm not able to add vertical scrollbar. Could you please help me guys? public class TestClass extends JPanel { private…
techiepark
  • 343
  • 2
  • 7
  • 23
0
votes
1 answer

SwingX identifies only listed word from array of words , and won't let other words to get chosen

I'm trying to add auto-completion to my current code , so after countless times I decided to try SwingX. The code compiles , works ,however I still have some "minor" issues . Here is my code : public class GuiHandler extends javax.swing.JFrame…
JAN
  • 21,236
  • 66
  • 181
  • 318
0
votes
1 answer

implementing the closeButton actoin in JXMapKit

I need to add functionality to the close button in my class that extends the JXMapKit (like saving the location and *EXIT_ON_CLOSE* ). The main() method is just a copy-paste of the original main method of the JXMapKit. I have the following simple…
Vedant Agarwala
  • 18,146
  • 4
  • 66
  • 89
1 2 3
27
28