Re: Creating custom LayoutManager in NetBeans?



"Andrew Thompson" <andrewthommo@xxxxxxxxx> said:
Juha Laiho wrote:
...
does anyone have experience on creating and using a custom LayoutManager

Yes.

in NetBeans (5.5)?

No. (well, not me)

...What needs to be written in addition to the actual
LayoutManager class in order to have NetBeans accept it?

I thought it just needed to be imported, unless you
are referring to using it in the 'form dezigner' or whatever
the NetBeaniacs call it.

That exactly is the pain point.. and it looks like, now that I have also
spent some time reading the NB mailing list archives, that this is not
necessarily trivial, and that the NB interface for importing custom layout
managers does change from time to time...

But.. are you sure you need a custom layout at all?
Had you considered/tried *nested* (core ) layouts
instead of a custom layout?

My target is a layout in the form of a circle (or an arc), and at
least so far I couldn't get an idea on how to use the regular layout
managers for that.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
.



Relevant Pages

  • Text File Import
    ... Access database. ... The layout of this text file contains a number and 5 ... dealing with this type of importing would be helpful. ...
    (microsoft.public.access.externaldata)
  • Import Errors
    ... I am importing data from a SAP system into Excel XP and ... then altering a dog's dinner of a layout into 5 neat ... column/field which report 11 conversion errors in 850 ...
    (microsoft.public.access.gettingstarted)
  • Import errors
    ... I am importing data from a SAP system into Excel XP and ... then altering a dog's dinner of a layout into 5 neat ... column/field which report 11 conversion errors in 850 ...
    (microsoft.public.access.externaldata)
  • RE: Inline frame problem
    ... On the page you are importing into the IFrame: ... (Or anything that fits your layout) ... JDR ...
    (microsoft.public.frontpage.programming)
  • Re: Desire to unify UI for HyperCard VisualBasic Java and HTMLform
    ... > how are VB layouts more flexible than the standard Java layout ... Well I suppose with extremely contorted mis-use of GridBagLayout you ... standard layout managers in the expected way, ... manager in Java, just manually place each component by explicit x,y ...
    (comp.programming)