Skip to main content

Featured

Game Development Tutorials In Android

Game Development Tutorials In Android Hi Guys,                 We are shortly started Game Development Tutorials in Android Studio. So everyone supports me and share this blogs to your friends. Guys, At this time everyone is freely available to source code and we are provide a video for step by step game developments. you are learn free and feel free to support us. Guys, if you have any question to me, so feel free to comment us. I will try to answer all the question as long as possible.                                                     Thank's                                                                          ...

Java Desktop Application Development Part - I Live

Minor Project in Java

Now we are going to develop desktop application using AWT CLASSES in java, we teach you new way for developing java application with very easy way. First of all we design a Frame in java after doing other task. so when you ready to get started the java desktop application development.

                                       PART - I

Example for Creating a Frame Using Java AWT Container


import java.awt.*;

class MyFrame 
{
     Frame f;
     public MyFrame()  //Creating a Constructor
     {
         f = new Frame("This is My First Frame");
         f.setLocation(30,40); //set frame location
         f.setSize(300,400); //set frame location
         f.setVisible(true);
     }
     public static void main(String args[])
    {
         new MyFrame();  //Creating an Object
    }
}

Save this file : MyFrame.java

Compile this file : javac MyFrame.java

Run this file : java MyFrame


Created by : Mr. BSCHANDEL


If this information is important to you , and you want to , I will continue writing some more details of programming language, so click on the advertising, available on this page. This is motivate me for writing some more blogs.


Comments