🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12318

two way code viewing

#12318
From: Steve
Date: Wed, 20 Jan 1999 00:00
27 lines
1034 bytes
If I write this code, shouldn't  I see the buttons when i click the
Design Tab in the IDE?  I do see the buttons when I run the app.....

I have tried the Border and other Layouts......

public class Frame1 extends Frame
{
  //Construct the frame
  public Frame1()
  {
    super();
    setSize(200, 200);

    setLayout(new FlowLayout());
    setBackground(Color.darkGray);

    add(new Button("First"));
    add(new Button("Second"));
    add(new Button("Third"));
    add(new Button("Fourth"));


etc.......



Thanks Steve
Technical Details
Message-ID: <36A5F317.1D905ED6@teleworx.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e21339ea978821b0,start
X-Google-Attributes: gid111d45,public
From: Steve <spetersen@teleworx.com>
Subject: two way code viewing
Date: 1999/01/20
Message-ID: <36A5F317.1D905ED6@teleworx.com>
X-Deja-AN: 434832296
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing