Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 23,807 times

Contents

Related Categories

Programming with Swing - Introduction

Michael H

Introduction

Swing or otherwise known as the Java Foundation Classes, is a group of GUI classes very similar to the AWT (Abstract Window Toolkit). What makes it different however is that while every AWT component has it's native counterpart, Swing components don't and are totally made up of Java code. This is what makes AWT component a "heavyweight" and a Swing/JFC component "lightweight". If you've ever tried to create a Windows program you know how hard it can be to make a nice looking window without having messy and long code. Swing provides for almost everything you'd want for your windows. So having talked a little about Swing, let's get coding!

Comments

  • Closing button on internal frame

    Posted by manojacharya on 14 Nov 2005

    Hello,
    I want to add a closing button to the internal frame. I am not able to do it. Plz help.javascript:smilie(':confused:')
    confused

  • Java - MDI - ChildFrames

    Posted by BG3000 on 28 Oct 2004

    Hi.

    I have an ChildFrame inside of an DesktopFrame. I want to insert a JButton into the ChildFrame. But this JButton turns out to be very tiny in that child frame. If I maximize the child frame, t...

  • Posted by munas on 13 Sep 2004

    jho....

    just call your child frames as follows

    public class MainFrame extends JFrame
    {
    ChildFrame1 child1;
    public MainFrame()
    {
    final JDesktopPane desktop = new JDesktopPane();
    ...

  • JAVA MDI

    Posted by jho on 05 Aug 2004

    i have a JFrame named MainFrame which also uses JDesktoPane. I created 2 JInternalFrame class named ChildFrame1 and ChildFrame2. When I can click the menu on the mainframe, it shows the childframe1. I...