Query

"ANUBHAV BANERJEE" <[email protected]> Mon, 09 Aug 2004 23:06:26 +0530
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Hi Gerald,

Thanx a lot for ur reply.
Regarding the application which I have developed...its a small calculator. 
The GUI is developed using the Luxor XUL toolkit. The biggest problem which 
I am still facing is a 'null pointer exception'  which is thrown when I am 
trying to invoke the getJComponent() method :

**********************************************************************
public void postInit()
	{
	      displayScreen = (JTextField) _displayScreen.getJComponent();
              //Here _displayScreen is of type XulInput and displayScreen is 
of type JTextField
	}
**********************************************************************
The XUL file is fine and displaying the correct GUI. Please let me know what 
is the problem above.

I have one more query, what is the real purpose of having a template engine 
like Velocity incorporated with the Luxor Xul Toolkit ? and how can we use 
it right now ?

Thanks and regards,
Anubhav Banerjee

_________________________________________________________________
Post Classifieds on MSN classifieds.  http://go.msnserver.com/IN/44045.asp 
Buy and Sell on MSN Classifieds.



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com