I have a JFrame with a bunch of different JTextField and so on. How to collect data entered by user, without setting actions for each of this components?
Note: I create this JTextField using "inline" code, like this:
layout.row().grid(new JLabel("Density")).add(new JTextField("1"))
.spanRow();
layout.row().grid(new JLabel("Minimal size"))
.add(new JTextField("1")).spanRow();