R
R
roman38472014-03-28 12:50:56
Java
roman3847, 2014-03-28 12:50:56

How to replace one component with another in Java Swing on button click?

For example, replace the button with JLabel. What is the principle?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fat Lorrie, 2014-03-28
@Free_ze

Delete the button object, create the label and position it in the same place. Your CO.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question