[izpack-users] Debugging Panel
miraodb at hotmail.com
Mon Mar 6 17:36:45 CET 2006
Better think twice before posting ;) ahahahhaha
Just kidding !
Just tried this panel and it's real cool.
If you can write up a small doc (should be real small from what i can
imagine...) and then i can commit that if nobody is against it. I'll of
course update the docu.
----- Original Message -----
From: "Hal Vaughan" <hal at thresholddigital.com>
To: <izpack-users at berlios.de>
Sent: Monday, March 06, 2006 3:17 AM
Subject: Re: [izpack-users] Debugging Panel
> Attached is a slightly newer version, that prints out everything to the
> console and presents it in a scrollable text area for ease of viewing.
> On Sunday 05 March 2006 12:07, Hal Vaughan wrote:
> > While working on a few panels, I found I needed to get values of
> > several variables in InstallData as well as reading allPacks and
> > selectedPacks to see which packs were there and which were selected.
> > One panel I'm working on, ProgramFinderPanel, can remove packs from
> > allPacks and selectedPacks, but has to re-insert them if the end user
> > backs up, so I needed a way to check all the variables both before
> > and after the panel I was testing. I've gotten tired of temporarily
> > altering other panels to print out variables or pack names to check
> > on the results from the panel I'm working on, and realized it'd be
> > easier to make a simple test panel.
> > I created DataCheckPanel, which has NOTHING but a line of text on it,
> > saying it is for debugging (maybe I'll add a scrolling text area to
> > it), but it prints to the console a sorted list of all the variables
> > in InstallData, along with a list of allPacks, indentifying which
> > packs are selected.
> > The code is attached. (Does this list accept attachments? If not,
> > I'll reply to this with the code in the text of the letter.)
> > I hope it can help others like it's helped me.
> > Hal
More information about the izpack-users