jgoodies

jgoodies bindings + coalescing frequent changes

I have a java app that updates data at a variable rate (received from a fairly high-speed data stream out of my control, but up to 120Kbytes/sec), and I would like to display statistics like the # of bytes/packets received, using a dialog box. I'm looking into JGoodies bindings and got something preliminarily working with artificial dat...

jgoodies bindings + indirect changes

I'm having a brain cramp trying to understand the appropriate way to use JGoodies bindings in my application. I have a class Article which is a bean that has read-only properties. Article is a "plain" bean, and doesn't manage property listeners, since the properties don't ever change. I have a Swing JPanel which I would like to use to d...

JGoodies memory leak?? - Out of Memory Exception when Spring tries to display the view

I am getting an Out of Memory exception sometimes during or after the validation of component happens. I was trying to profile a large validation result <= 20000, and it worked, so I went bigger. The exception occurs at values > 20000, does anyone know of any inherent jgoodies memory leaks, with the validation framework, the component ...

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. ...

jgoodies binding: using a JTextField with a formatted number?

I am trying to bind a JTextField to a bean's field that is a double using JGoodies Binding: JTextField myJTextField = ... BeanAdapter adapter = ... Bindings.bind(myJTextField, ConverterFactory.createStringConverter(adapter.getValueModel("amplitude"), new DecimalFormat("0.00000"))); This works, at least in the bean ...

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 that. I could only find list binding that dealt with list selection events. ...

Java + Jgoodies binding: radio button binding

I'm stumped... I'm trying to use JGoodies binding to bind a radiobutton to an Enum property. I can't seem to get it to work. Below is a simple example, it's a table of beans each with an immutable number and a mutable "adjective" property. The radiobuttons are bound to the "adjective" property. Clicking on the radio buttons does change t...

JGoodies HashMap

Hi, I'm trying to build a chart program using presentation model. Using JGoodies for data binding was relatively easy for simple types like strings or numbers. But I can't figure out how to use it on a hashmap. I'll try to explain how the chart works and what my problem is: A chart consists of DataSeries, a DataSeries consists of Data...

Data binding library with support for generics and SWT/JFace?

JFace Databinding doesn't support generics, so it isn't particularly type-safe. And apparently it never will, since they wish to preserve Java 1.3 support. JGoodies supports generics since 2.0.0. Has anyone ported JGoodies 2 to SWT/JFace? Or is there another library which allows both? ...

How to change values of panel on selecting a row in a table : jgoodies

Hi, I am using Jgoodies binding to bind the table with my data. What listener i should implement so that when a cell is selected the values in a panel are changed. My model class of table extends AbstractTableAdapter which is an Jgoodies binding class. thanks ...

jgoodies how to remove component added with PanelBuilder?

Hi, I am using com.jgoodies.forms.builder.PanelBuilder to add Buttons and rows. Then I call PanelBuilder.getPanel() and attach the panel to a JPopupMenu. Is there a way to remove and reattach some of the attached components from the Panel that PanelBuilder has produced: I want to blend in/out one of the attached Buttons dynamically a...

Align Swing Components across Panels

We have a JPanel wich contains multiple JPanels wich contain JComponents (let's say JLabels and JTextboxes) Inside each of the internal JPanels we use JGoodies Layout in order to ensure proper alignement of all Labels. But of course we would like to have all the Labels aligned independently on which subpanel they are. How could we do...

how to handle focus lost and focus gain event using "shift + tab" and "tab"?

I want the ability to gain the focus on the next focusable component on clicking tab and to get the focus back on the previous component on shift + tab. So need a help on how to achieve the same. thanks ...