Binding of JText fields value to Info Class
Posted
by
Faizan Ahmed
on Stack Overflow
See other posts from Stack Overflow
or by Faizan Ahmed
Published on 2012-09-09T09:34:03Z
Indexed on
2012/09/09
9:37 UTC
Read the original article
Hit count: 206
Is there any way to automatic binding of Swing JTextFields to Info Class. e.g
private JTextField receiptId;
private JTextField Id;
public class Info {
private string receiptId;
private String id;
// Getters and Setters
}
Is there any way when I entered values from Swing page then automatically values bind with my Info class? After that I can pass my Info object to other classes instead of sending all Text Fields.
© Stack Overflow or respective owner