Embbeding swing elements in luxor
"Ajay Pandey" <[email protected]> Tue, 22 Jun 2004 15:41:36 +0530
| Newsgroups | gmane.comp.java.luxor-xul.user,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Anyone have idea , how to embedd swing elements in luxor form.
What I want to do is create a table directly in xulForm class.
Ex.
TestForm.java
-------------------------
import luxor.XulForm;
import luxor.XulInput;
import luxor.event.*;
import org.luxor.test.validate.*;
import javax.swing.*;
public class TestForm extends XulForm
implements XulInputValidationHandler{
XulInput _display1;
XulInput _display2;
JTable table; // is it possible ??
public TestForm() {
super("test");
setup();
}
public void init() {
_display1 = new XulInput(this, "display1");
_display2 = new XulInput(this, "display2");
_display1.addValidationHandler( this );
table = new JTable(3,2);
new ClickBtn(this,"show");
}
}
--------------------------------------------------
Regards
Ajay
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com