ok so thats what ive got
jTextField1.setBounds(136, 24, 17, 17);
jTextField1.setEditable(false);
jTextField1.setText("x");
jTextField1.setBorder(javax.swing.BorderFactory.createEmptyBorder());
jTextField1.setHorizontalAlignment(SwingConstants.CENTER);
jTextField1.setFont(new Font("Dialog", Font.PLAIN, 16));
jTextField1.setBackground(Color.WHITE);
jTextField1.setOpaque(false);
cp.add(jTextField1);
[...]
public void actionPerformed(ActionEvent e) {
if (e.getActionCommand() == "+") {
plus = true; // [...]
If e.getActionCommand() = + i want to change the text of the jTextField. Is that possible? What alternatives are there? thx in advance