There always has to be one top level peer to connect to the video hardware. I
think the correct is that Window, Dialog and Frame are heavyweight. I the awt
every component was heavyweight. With Swing, Java is doing the drawing for
button, scroller etc.
john
On 27-Sep-99 berry wrote:
>
>
>> >
Swing still has four heavyweight containers. These must have native
peers. They must.
At some point, there must be a window that has a corresponding native
platform window (Motif, Windows, whatever).
There must be some native window that can be displayed by the native
platform. Usually this
berry wrote:
> > > Another question:
> > >
> > > With Swing classes, at what point is native code actually
> > > called to do drwing . If you could tell me, I am wondering what classes
> it
> > > happens in and what is specifically happening. In 1.1 it would be
> > > the peer classes.
> >
> > I
> > Another question:
> >
> > With Swing classes, at what point is native code actually
> > called to do drwing . If you could tell me, I am wondering what classes
it
> > happens in and what is specifically happening. In 1.1 it would be
> > the peer classes.
>
> I know that one : )
> swing uses
At 8:48 PM -0400 9/25/99, berry wrote:
>Hi,
>
>I was wondering if anyone knows what this following
>code means?
>
>public Rectangle getBounds() {
>return JFrame.this.getBounds();
>}
Hi Berry. I didn't feel like anyone has given a clear enough response here,
so in case you still don't see
On Sat, 25 Sep 1999, berry wrote:
> Hi,
>
> I was wondering if anyone knows what this following
> code means?
>
> public Rectangle getBounds() {
> return JFrame.this.getBounds();
> }
Hmm... I would say it's getting the bounds of the frame containing the
rectangle. It doesn't look like
berry wrote:
> Hi,
>
> I was wondering if anyone knows what this following
> code means?
>
> public Rectangle getBounds() {
> return JFrame.this.getBounds();
> }
That sort of code is used in inner classes.
One of the swing programmers seems to make a habit of it.
If you have a lot of in
Hi,
I was wondering if anyone knows what this following
code means?
public Rectangle getBounds() {
return JFrame.this.getBounds();
}
>From what I can understand it is making an infinate series
of recursive calls. I find this kind of code all over Sun's
source.
Another question:
Wi