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

SwingX how to get child components of JXMonthView?

Anyone had experience with using SwingX? I want to use JXMonthView and modify its components. I can use it without a sweat. But when I try to actually get my hands on the underlying child components I fail. I would like to change the font style…
Boro
  • 7,913
  • 4
  • 43
  • 85
3
votes
1 answer

Stop DropShadowBorder console logging

I have a basic class that extends JButton, and used SwingX's DropShadowBorder to add a simple border. The problem is it displays a time fraction in milliseconds every time I hover the cursor over the button. Is there any way to disable this logging?…
arturopuente
  • 93
  • 1
  • 1
  • 8
3
votes
3 answers

What is the width of a "column" for a JTextField?

Per the JTextField doc, you can set the width of the field delineated in “columns”, but cannot find a definition for “columns”. Moreover, doing something like this: new JTextField("abc", 3); Results in a text field of width populated with the…
user3092671
  • 108
  • 2
  • 6
3
votes
2 answers

Java Hidden JTabbedPane

I want when I click on tab1 or tab2. Japel display will hide or show,I want the results shown in Figure 2.I use the command jPanel2.setPreferredSize(new Dimension(0, 0)); Ex: If I have 10,I need setPreferredSize for 10 japanel with each tab.I want…
Ma Tâm
  • 307
  • 4
  • 20
3
votes
0 answers

JXCollapsiblePane toggle not handled correctly

i try to use JXCollapsiblePane (SwingX version 1.6.5.1) in a Java 7 Swing application. When writing a small test app i see the following problems: the toggle button is not in sync with the collapsible pane, i.e. i first have to click the button and…
valley
  • 157
  • 1
  • 13
3
votes
2 answers

NetBeans GUI builder cannot find SwingX classes

I've been thrown into an existing software development project that is using Maven in a NetBeans Java project. I've fetched the source from the blessed git repo into a freshly installed NetBeans 8. If I build and run it, it runs. :-) I have to edit…
3
votes
1 answer

JXTreeTable in combination with TreeCellRender and selectedBackground with ColorHighlighter

I' m trying to set a custom selectionBackground to rows in a JXTreeTable. This works if I'm not setting a custom TreeCellRenderer. If I set it additionally like in my example the selectionBackground of the text of the node is the default one. Any…
user4022746
3
votes
1 answer

JXMapViewer change orientation to Heading Up

I am trying to use JXMapViewer (from swingx-ws) with Open Street Maps. I was wondering if it would be possible to display the map tiles in the JXMapViewer based on heading up, rather than on North up. For example, the normal car GPS navigation…
Charlie
  • 31
  • 2
3
votes
2 answers

Is it better to have Event Listeners in separate classes?

I have been told by my teacher that having a separate class for the actionListener is best. In the separate class, should I just make one actionListener method eg. public void actionPerformed(ActionEvent e) { if(e.getSource() == myButton) { …
cornchips007
  • 43
  • 1
  • 5
3
votes
0 answers

How to implement a Filter/Searchfield in JXTreeTable? What is good practice?

I have a class TreeNode which has some attribitues and a ArrayList of children. For this class I have my own TreeModel which extends AbstractTreeTableModel. The created tree is displayed correctly. Now I want to add a search field which searches…
janor
  • 179
  • 1
  • 10
3
votes
2 answers

jxtable with on gridline that is thicker

I have a jxtable. It has horizontalGridLines enabled. here is what it looks like. I want the horizontal gridline to be thicker. See the desired look below. The line after the 2nd row should have a thicker divider.
codeNinja
  • 1,442
  • 3
  • 25
  • 61
3
votes
0 answers

How to use swingx in Netbeans 7.4

I have downloaded swingx-all-1.6.4.jar from java.net swingx downloads I want to use the components inside this library as components on Palette window of Netbeans 7.4. I mean I want to drag&drop swingx components like other swing companents in…
Fer
  • 1,962
  • 7
  • 29
  • 58
3
votes
0 answers

How to dispose a tabbed pane component completely from a JTabbedPane

I have added a few tabs to a JTabbedPane. Each tab contains a JPanel. I now remove the tab by calling JTabbedPane.remove([tab index]). This removes the tab and everything is fine, except that when I profile the app, the JPanel added to the…
sethu
  • 8,181
  • 7
  • 39
  • 65
3
votes
1 answer

Hide a column in JXTable?

I'm using a JXTable and I want to programmatically hide a column. Is there any convenient methode to do this (without setting miniman/maximal/preferd width) ? Thanks.
isoman
  • 742
  • 2
  • 9
  • 34
3
votes
1 answer

JXTreeTable Editable Example?

Is there any working example for Editable JxTreeTable.. I did tried some methods. But no luck... Only first column is editable. How can I make all columns editable? Sorry guys, Here is my src code: /* * To change this template, choose Tools |…
Baskar.M
  • 561
  • 1
  • 6
  • 25