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

JXDatePicker using SimpleDateFormat to format dd.MM.yy to dd.MM.yyyy with current century

as already explained I want to achieve, that when the user is editing a date within a JXDatePicker, he can choose, weather he types it again in the same format, which is by default dd.MM.yyyy or just dd.MM.yy. When he uses the short form I want the…
crusam
  • 6,140
  • 6
  • 40
  • 68
5
votes
2 answers

SwingX JXTable Boolean column have different color on highlight

I have a little problem with SwingX Components. In my Application I’m using a JXTable and on the table I register a MouseOver ColorHighlighter. The model of the table defines two columns; a String column and a Boolean column. The default renderers…
Seffel
  • 397
  • 2
  • 14
5
votes
1 answer

Is there a JTreeTable implementation that allows variable row height

I have been searching for a little while on this one. I need a JTreeTable that supports variable row height. Specifically, I want the rows that show the top level nodes to be taller than the child rows beneath them. I have been using the SwingX…
serg10
  • 31,923
  • 16
  • 73
  • 94
5
votes
2 answers

JDatePicker date formatting

I got the JDatePicker working, in my application, but want the date to be formatted as YYYY_MM_DD Currently the date's format is the default Wed Jul 08 15:17:01 ADT 2015 From this guide there's a class that formats the date as follows. package…
guy_sensei
  • 513
  • 1
  • 6
  • 21
5
votes
1 answer

prevent sorting of top 3 rows in jxtable

I have a JXtable. I would like to prevent the top 3 rows from being sorted. Basically the top 3 rows should always be on top and the remaining ones should be sorted according to their value. There is a similar question on SO but i am not sure how to…
codeNinja
  • 1,442
  • 3
  • 25
  • 61
5
votes
1 answer

How to download and compile SwingX

This must be mostly a newbie Maven question. Since SwingX migrated to Kenai, there are warnings all over the website that many links are broken.. so here is my best attempt. I went to…
Irina Rapoport
  • 1,404
  • 1
  • 20
  • 37
5
votes
1 answer

Custom TableCellRenderer/TreeTableCellRenderer doesn't render Table cells

I made this CustomCellRenderer class intended to be used in JXTreeTable and JXTable objects since I have many of these in my project. So this class implements TreeCellRenderer and TableCellRenderer interfaces: public class CustomCellRenderer extends…
dic19
  • 17,821
  • 6
  • 40
  • 69
5
votes
5 answers

Java Swing JXDatePicker

I'm using SwingX JXDatePicker and I can't figure out how to provide next/previous year buttons (as by default it only provides next/previous month buttons). Also, it seems that SwingX is not maintained anymore: should I be using a more recent…
Tom
  • 1,375
  • 3
  • 24
  • 45
5
votes
1 answer

Can I draw outside the component boundaries in swing?

Possible Duplicate: Drawing outside a component's bounds I'd like to make "good looking" interface using Swing (and SwingX) and i'm still struggling with creating nice shadows. I found that there is already a border do what i want (partially) in…
nathan
  • 1,111
  • 3
  • 18
  • 33
5
votes
1 answer

How to use the Progress Bar in Java (Netbeans GUI)

I am not too experienced with Java and am having trouble getting a progress bar to work. I am using Netbeans' built-in GUI maker. Currently my program reads in images from a directory into an image array. Obviously this takes a bit of time, thus I…
Matthew Mills
  • 103
  • 1
  • 3
  • 14
5
votes
1 answer

Trigger JXCollapsiblePane with mouse over

In the examples of SwingX which JXCollapsiblePane is used with a button, but I want to transpose it with mouse events. In my example, the JXCollapsiblePane is closed at the beginning. Only when the user comes with the mouse on the button to open the…
espirio
  • 189
  • 14
4
votes
1 answer

Handle long-running EDT tasks (f.i. TreeModel searching)

Trigger is a recently re-detected SwingX issue: support deep - that is under collapsed nodes as opposed to visible nodes only, which is the current behaviour - node searching. "Nichts leichter als das" with all my current exposure to SwingWorker:…
kleopatra
  • 51,061
  • 28
  • 99
  • 211
4
votes
2 answers

Is Apache Pivot a suitable alternative to Swing?

I've been taking a look at Apache Pivot and I'm wondering whether it is ready to be used as a Swing replacement (given that Swing and SwingX development goes ever so slow -- almost dormant). Has anyone tried it out? Do you know about any…
4
votes
1 answer

Date Time Picker like in Windows

I am looking for a component for Swing that would do the same thing that Windows 7 date and time pickers do (or be even better). They look so: And have following features I need: you cannot enter an invalid value (value is ignored as you type and…
Andrej
  • 1,679
  • 1
  • 26
  • 40
4
votes
1 answer

How to use MultiSplitLayout in SwingX?

I'm trying to use MultiSplitPane and MultiSplitLayout from SwingX. I know how to use MultiSplitLayout with the method parseModel (see http://today.java.net/pub/a/today/2006/03/23/multi-split-pane.html). But I don't understand the mechanism without…
paranoia25
  • 626
  • 1
  • 5
  • 23
1 2
3
27 28