[izpack-users] Dynamic changes to GUI

Bartz, Klaus Klaus.Bartz at coi.de
Tue Apr 17 09:23:06 CEST 2007


Hi A.J.,
see context related.

Cheers

Klaus

> -----Original Message-----
> From: izpack-users-bounces at lists.berlios.de 
> [mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of 
> A. J. Rajkumar
> Sent: Thursday, April 12, 2007 4:04 PM
> To: izpack-users at lists.berlios.de
> Subject: [izpack-users] Dynamic changes to GUI
> 
> 
> Hi Folks
> 
>    I am trying to use izpack to accomplish the following:-
> 1) Connect to a database server >> works great.
> 2) Test if a certain database instance exists >> works great.
> 3) If the database exists I wish to inform the user that 
>   the database exists.
> 4) Need to check if a user exists >> works great.
> 5) I have a number of command line sql scripts that I need to 
> run. This script has 'go' statements', comments starting with 
> dashes etc etc. How can I run that without modifying the 
> script itself??
>
I do not know wether I understand it right or not: Do you try
to perform a sql script with the java application IzPack?
This cannot work because IzPack is not a SQL-Interpreter. Use one,
may be called as external process or so. In process is not so easy...

> 
> Is it possible to get any information from running a Java 
> class to the GUI??
> 

Do you mean in IzPanels?
In principle yes. If you write your own panels you can create 
class objects in panelActivate or in isValidated.
As example look in the newest version of JDKPathPanel.
In panelActivate it looks into Windows registry (via a native
method of an additional class) to get a default path and 
executes java in the founded path to verify the given
version ranges.
If it is a time consumed process which need a progress bar it
will be more complicated. You need more than one thread and
you have to manipulate enable state of the button. See
InstallPanel as example.

>
> Thanks
> 
> 
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de 
> https://lists.berlios.de/mailman/listinfo/izpack-users
> 



More information about the izpack-users mailing list