add text to jlable

Solutions on MaxInterview for add text to jlable by the best coders in the world

showing results for - "add text to jlable"
Donovan
29 Jan 2016
1JLabel label = new JLabel("Whatever text");
2or 
3label.setText("Whatever Text");
queries leading to this page
add text to jlableadd text to jlable