[izpack-users] Debugging Panel

Hal Vaughan hal at thresholddigital.com
Mon Mar 6 03:17:23 CET 2006


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.

Hal


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataCheckPanel.java
Type: text/x-java
Size: 4653 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/izpack-users/attachments/20060305/26df7727/attachment.bin 


More information about the izpack-users mailing list