🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19678

Re: URGENT --- add( ) not working

#19678
From: Paul Murray
Date: Tue, 13 Jan 1998 00:00
17 lines
1193 bytes
>I try to switch myself from Visual J ++ to JBuilder.
>The first and stupid problem I meet in JBuilder is that
>the add( ) is not working properly. The compiler gives me this
><  method add(java.awt.TextArea) not found in class orderServer.orderServer
> >
>in which orderServer is the class I defined.
>
>Is that anything went wrong with class path or etc ??? How to fix it.


Ok - what layout manager are you using? If you use BorderLayout, the command
is
myPanel.add(myTextArea, BorderLayout.CENTER);
where the second param tells add where within the panel this textarea
component is to go. The default layout manager in JBuilder is XYLayout,
which is a proprietayr borland class. I avoid it.
Technical Details
Message-ID: <69d3ta$a5b1@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bd1dda$a27207a0$5637bcca@soonhwee.tm.net.my>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8f276af99bcc6907
X-Google-Attributes: gidf74b3,public
From: "Paul Murray" <pmurray@bigpond.com>
Subject: Re: URGENT --- add( ) not working
Date: 1998/01/13
Message-ID: <69d3ta$a5b1@forums.borland.com>
X-Deja-AN: 315208548
References: <01bd1dda$a27207a0$5637bcca@soonhwee.tm.net.my>
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: N/A
Newsgroups: borland.public.jbuilder.java.language