-
-
Save uncoded-ro/3755e4329492c1244f72640adce6a862 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ro.virtualcampus.gui; | |
import javax.swing.*; | |
public class InterfataGrafica { | |
public static void main(String args[]) { | |
JFrame fereastra = new JFrame("Interfata grafica"); | |
fereastra.setSize(300, 100); | |
fereastra.setLocation(200, 200); | |
fereastra.getContentPane().add(new JLabel("Eticheta fereasta principala")); | |
fereastra.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | |
fereastra.setVisible(true); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment