Skip to main content

Help ME learn Java (Series 1)

Hello dudes / dudettes

      In this new series, I have new hobby to expand, like cooking, or gardening, or riding a bike. Its Java.

Image result for what the fuck is that face
Sorry for the expletives. but same

        I know its a bit weird to be talking Java today but I'm studying about that right know so someone can help me about Java Swing

       What Java Swing basically is making a screen of the program, the canvass which you input your program in. Java Swing is the interface like you see.
BUT!!
        I don't really know about it, But I know something alittle like this the basics.

Making a page is a bit difficult you need this.



SwingUtilities.invokeLater(() -> {
            JFrame frame=new JFrame("^-^");
            JButton b=new JButton("This a Test");
            b.setBounds(130,100,100,40);
            frame.add(b);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(400,500);
            frame.setLayout(null);
            frame.setVisible(true);
        });
I dont know but I need to know who to use to make input. But as the next episode I try to make it to do more


Signed by:
The Thinkerer

Comments

  1. how to install java in laptop in a easy way???

    ReplyDelete
    Replies
    1. Hi Karylle, Search jdk downloads in the net and the link from oracle.com has you covered. I suggest downloading Jdk 8 (32bit or 64bit depending on you laptop) for some stability

      -The Thinkerer

      Delete
  2. Where did you learn Java Swing?

    ReplyDelete
    Replies
    1. Hello Bilyo, I learn it while searching in google. I stumbled to it while reading things about java. Hope that helps!

      -The Thinkerer

      Delete

Post a Comment

Feel Free To Comment in any language you want ^-^