For example here is my multiply button
public void actionPerformed(ActionEvent b)
x = Integer.parseInt(aTextField1.getText());
y = Integer.parseInt(aTextField2.getText());
z = x * y;
String c = new String(x + " x " + y + " = " + z);
aButton3.setPreferredSize(new Dimension(x, y));
This is just one of my 7 buttons used, I wont quote them all for space, but I needed a button which will use the .toHexString and .toBinaryString to the 'atextField3'
THe user will enter data in text field a, then in text field b and then recieve an answer along the lines of "12 + 12 = 24" in text field c. In the field d I want to get the answer from text field c and change that into binary. Also the text field c MUST have "12 + 12 = 24" in it without fail
If any help can be issued, I'll be majorly greatful, thanks!
[ March 17, 2006: Message edited by: Johnny Gambles ]
Does that help?