Questions tagged [jgoodies]

The JGoodies Swing Suite provides components and solutions that complement Swing to solve common user interface tasks. It advocates a UI production process that lets you save time and money while ensuring consistent and elegant design.

The JGoodies Swing Suite provides components and solutions that complement Swing to solve common user interface tasks. It advocates a UI production process that lets you save time and money while ensuring consistent and elegant design. More info at http://www.jgoodies.com/products/swing-suite/ .

93 questions
1
vote
1 answer

How to bind a float or double with JGoodies

I have done binding with ints and longs with no probelems. I just use BasicComponentFactory.createIntegerField or LongField. There is no such thing for floats or doubles. Is there a way to do bind these primitives?
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
1
vote
2 answers

Jgoodies demo source code not available

In the JGoodies download page at http://www.jgoodies.com/downloads/demos/ they say "The Showcase provides tutorial examples including sources for the Binding, Forms, and Validation." however they only allow some .jnlp to be web started. Where are…
saimiris_devel
  • 667
  • 1
  • 6
  • 19
1
vote
1 answer

JGoodies: Binding multiple swing components to a single model field

I'm trying to create a "duration" field on a swing gui I'm developing. To do this, I've got 3 JSpinner components. Days, Hours and Minutes. JSpinner durationDaySpinner; JSpinner durationHourSpinner; JSpinner durationMinuteSpinner; If possible I'd…
Ben
  • 6,567
  • 10
  • 42
  • 64
1
vote
1 answer

Java import jgoodies.forms.factories.* cannot be resolved. (Eclipse Luna)

I've inherited code that uses: import com.jgoodies.forms.factories.FormFactory; I'm attempting to build the project. I've added the jgoodies-forms-1.8.0*.jar files to a 'lib' directory that I made at the same level as the 'JRE System Library' and…
Geoffrey Hale
  • 10,597
  • 5
  • 44
  • 45
1
vote
2 answers

JGoodies list binding

Does the JGoodies list binding support binding list contents to a list object in the model? I know I can add listeners to the list model and domain model and coordinate changes between the two fairly easily, but I wasn't sure if JGoodies would do…
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
1
vote
1 answer

Validating a buffered value in JGoodies Binding

I use the code: JTextField textField = BasicComponentFactory.createFormattedTextField(valueModel, numberFormatter); This causes the JTextfield to work very nicely, it automatically changes 512.1!5 to 512.1 with no errors when I commit the trigger…
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
1
vote
1 answer

I'm having trouble with com.jgoodies.forms.factories.FormFactory

When I ran my code on Eclipse, I had this error message The import com.jgoodies.form.factories.FormFactory cannot be resolved. My other import com.jgoodies didn't have any error. What can I do to solve this problem?
user2978067
  • 11
  • 1
  • 3
1
vote
1 answer

Read-only binding and one-way converters using JGoodies binding

I am attempting to use JGoodies Binding 2.9.1 to bind the enabled property of a JTextField to an enum property. I want this to be a one-way operation: when the property changes, I want the JTextField to become enabled or disabled, but I never want…
sourcenouveau
  • 29,356
  • 35
  • 146
  • 243
1
vote
0 answers

Customizing JTable's JTabelHeader

I have an application with several custom JXTables (an extension of JTable) that are updated to reflect information stored in a database. I would like to add components at the top of the table, above the column headers, that would allow the user to…
hotforfeature
  • 2,558
  • 1
  • 16
  • 24
1
vote
1 answer

C++ bindings to jGoodies?

Thus far the best C++ UI libraries I've run into are Qt, GTK, and wxWidgets; Are there existing libraries similar to jGoodies or 'better'. I am interested in mature (yet simple) technologies.
Israel ANY
  • 359
  • 6
  • 16
1
vote
1 answer

JGoodies DefaultFormBuilder - add a row dynamically

In my form there is a JComboBox, and depending on what is selected I would like to add some additional rows (labels and JTextFields) to the form just below the JComboBox and push the rest of the fields that many rows lower. Is this possible with…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
0
votes
2 answers

JGoodies binding, no commit on focus lost and no commit on every character typed

In the JGoodies Bindings API (Link to API), there is a commitOnFocusLost parameter: commitOnFocusLost - true to commit text changes on focus lost, false to commit text changes on every character typed I want the behavior where there is no commit…
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
0
votes
1 answer

JGoodies Binding: How to bind two ValueModels?

The simplified case is I have ValueHolder a = new ValueHolder(); ValueHolder b = new ValueHolder(); I am looking for [some JGoodies Class].[method](a,b); That will connect those ValueModels and keep them mutually updated I can not find among all…
Boris Daich
  • 2,431
  • 3
  • 23
  • 27
0
votes
1 answer

Issues with JTextField size behavior using JGoodies.FormLayout

I'm trying to lay out a basic JPanel using JGoodies.FormLayout and I'm running into an issue where the JTextField components I place remain at minimum size regardless of anything I do to attempt to resolve the issue. Without further…
ecfedele
  • 306
  • 3
  • 15
0
votes
1 answer

Increase the thickness of the border of the focused area in swing

I have a problem with Java Swing and the LAF. I am using JGoodies and I tried to increase the thickness of the border of the focused area. I tried it via the UIDefault but there is no such option. example of the Border Can you give me a hint how to…