Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.*;
- public
- class Helloapp extends Frame
- {
- public Helloapp()
- {
- //super("Hello");
- setSize(500,300);
- setVisible(true);
- }
- public void paint(Graphics qDC)
- {
- Font font = new Font("SansSerif", Font.BOLD,36);
- qDC.setFont(font);
- qDC.drawString("To jest aplikacja",120,100);
- }
- public static void main(String args[])
- {
- new Helloapp();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement