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

JGoodies table refresh

I have designed a form using JGoodies. In my From I have a Jtable. FormLayout layout = new FormLayout(…) ; CellConstraints cc = new CellConstraints() ; PanelBuilder builder = new PanelBuilder(layout); String[] columnNames = {"name","code"};…
parviin57
  • 106
  • 5
0
votes
1 answer

JGoodies JComboBox binding

How to bind JComboBox which holds String items to Integer value in bean using JGoodies I want to display in JComboBox names and bind it to some ID value for that name.
0
votes
2 answers

Swing: Expand a JTextField but not more than the max allowed characters

I have a situation where a JTextField should only be allowed to have 80 characters. The JTextField can grow with the frame. I would like the JTextField to grow but only to a size where it cam accomodate 80 characters even if the frame is expanded…
0
votes
2 answers

Java frame and action of a button

I am a newbie in Java, and I want to create the first step in a big system. I was trying to use Eclipse WindowsBuilder for this task, but I got a lot of code I don't understand, and furthermore, I don't know how to proceed... What I want to do is…
user3275222
  • 225
  • 3
  • 12
0
votes
1 answer

Howto get size of a cell in JGoodies FormLayout

I want to resize an image inside a JGoodies form layout according to the size the cell has, i.e. so that the image fits perfectly in the cell. If I understand correctly, there is no real component for the cell, the size is known only implicitly by…
jan
  • 2,741
  • 4
  • 35
  • 56
0
votes
0 answers

Jgoodies form with custom jpanel

I have a Jgoodies form, here it's code. public class MainForm{ MainForm(){ createUIComponents(); } public JPanel getMainPanel() { return mainPanel; } private void createUIComponents() { drawingPanel=new…
Sergey Scopin
  • 2,217
  • 9
  • 39
  • 67
0
votes
2 answers

Regarding bulding gui and widgets in java

I am a complete beginner in java. Although i have studied a lot of literature on the language (well sort of), this is my first real project. I was basically planning to make a simple clock widget and later plan to build Gui s. Until now, i had…
Plutonium smuggler
  • 329
  • 5
  • 6
  • 17
0
votes
1 answer

Dynamically resizable tables on a GUI

I have a GUI with a few JTextFields and JTables, and I would like to get the possibility to dynamically re-size the tables after running the application, so the user can increase the size of the tables by clicking on the border and dragging it. I am…
capovawi
  • 377
  • 8
  • 21
0
votes
1 answer

Set maximum width of JGoodies Panel to JScrollPane size

I am attempting to put a JGoodies panel into a JScrollPane with only a vertical scroll bar; any elements larger than the current JScrollPane width should be truncated. However I can't figure out a way to make this work Example of the effect I'm…
TheLQ
  • 14,830
  • 14
  • 69
  • 107
0
votes
1 answer

How to unbind a binding from JGoodies-Binding (2.9.0)

I have the rare use case, where the swing-view lives longer than the related presentation-model: The swing-view lives as long as the application lives, the presentation-model is replaced each time a new "run" is started in the application. The…
Peti
  • 1,670
  • 1
  • 20
  • 25
0
votes
1 answer

JGoodies JTextfield forces cursor to beginning of jtextfield

I bind my JTextfield by simply doing ValueModel valueModel = adapter.getBuferedModel(propertyName); JTextField textField = BasicComponentFactory.createLongField(valueModel, numberFormat); Whenever I mouse click in the JTextfield, it forces the…
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
0
votes
2 answers

Can I receive property change events with a buffered JGoodies formatted textfield?

I have a method which binds my JTextField to a bean in JGoodies public static JTextField bindDoubleTextField(PresentationModel adapter, String propertyName, boolean useBuffer) { ValueModel valueModel = getValueModel(adapter, propertyName,…
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
0
votes
1 answer

Java Swing and JGoodies

I developing a simple desktop system in Java My system will have a database that is connected to a front end. Now I want to use JGoodies for the design of the user interface. Is JGoodies an extension of the Swing GUI framework? Do I have to master…
faisal abdulai
  • 3,739
  • 8
  • 44
  • 66
0
votes
1 answer

JGoodies Binding: binding an object with JCombobox and default values

I have the following problem: I want to bind a JCombobox in my View with my model 'DomainModel', so that I can get later get it with 'AnotherModel'.getModel(); I wrote an own CellRenderer to make it look like 'ID - Name'. But when I select the…
0
votes
0 answers

Basic MVC based Swing application

So I hit the following problem: I want to initializate the Swing constructor with a controller instance from my App class. That is the place I init the repo and controller. When i want to pass to the swing Gui class, the controller parameter I…
Bogdan M.
  • 2,161
  • 6
  • 31
  • 53