+ 1
Is there any UI for java like swing
I can write graphic programs on computer but there is graphic only for html + css + javascript :(
6 Antworten
+ 1
Yes, you may use AWT, Swing (with different looks and feel) and JavaFX, which I think also has an equivalent to swing's look and feel
0
import javax.swing.*;
public class Program
{
public static void main(String[] args) {
JFrame f = new JFrame();
JLabel l = new JLabel ("hello");
f.add(l);
f.setVisible(true );
}
}
Time error
0
You ran it on an IDE, right?
0
In PC ide it works
0
But here not