+ 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 :(

16th Dec 2018, 1:07 PM
Katsu Ryuu |
Katsu Ryuu | - avatar
6 Respuestas
+ 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
16th Dec 2018, 1:15 PM
voidneo
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
16th Dec 2018, 1:44 PM
Katsu Ryuu |
Katsu Ryuu | - avatar
0
You ran it on an IDE, right?
16th Dec 2018, 1:59 PM
voidneo
0
In PC ide it works
16th Dec 2018, 4:37 PM
Katsu Ryuu |
Katsu Ryuu | - avatar
0
But here not
16th Dec 2018, 4:37 PM
Katsu Ryuu |
Katsu Ryuu | - avatar