🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

a new JTree problem

#10895
From: Marcel van den Dungen
Date: Wed, 04 Aug 1999 00:00
14 lines
983 bytes
hi again,

i'm having a problem with the JTree again. i have implemented the
treecellrenderer interface, with instead of the textfield of
defaultcellrenderer using a jpanel.
now i'm trying to put jpanels of size 100 by 100 or so in the tree. i do
this by overriding the getpreferresize method and returning the
dimension of 100 by 100.
only the panels all show up in the tree with a size of 100 by 16 or so.
can anyone please help me out here. i have no clue on how to continue.

tia
greetings
casper
Technical Details
Message-ID: <37A8022F.2F9F9E2D@c-content.nl>
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,fc5ff5048ab4c9d7,start
X-Google-Attributes: gid111d45,public
From: Marcel van den Dungen <info@c-content.nl>
Subject: a new JTree problem
Date: 1999/08/04
Message-ID: <37A8022F.2F9F9E2D@c-content.nl>
X-Deja-AN: 508705698
Content-Transfer-Encoding: 7bit
Organization: C-CONTENT b.v.
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing