🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: a new JTree problem

#10772
From: Marcel van den Dungen
Date: Tue, 10 Aug 1999 00:00
20 lines
1129 bytes
hi

i found the solution, just needed to set the rowheight to zero



> 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: <37AFD244.1E422800@c-content.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37A8022F.2F9F9E2D@c-content.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,fc5ff5048ab4c9d7
X-Google-Attributes: gid111d45,public
From: Marcel van den Dungen <info@c-content.nl>
Subject: Re: a new JTree problem
Date: 1999/08/10
Message-ID: <37AFD244.1E422800@c-content.nl>
X-Deja-AN: 510960338
Content-Transfer-Encoding: 7bit
References: <37A8022F.2F9F9E2D@c-content.nl>
Organization: C-CONTENT b.v.
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing