> Hello, > is it possible to draw a lines or other shapes (like java.awt.graphics) > with ulc components? In swing i can overwrite the paintComponent > function.
>From what I remember you have to write an ULC extension for that. The idea for that is rather simple and I'll outline it based on an example. Maybe you want a custom drawn textfield. You'd have to extend the classes ULCTextField (servert side) and UITextField (client side) and name them something like ULCMyTextField (again server) and UIMyTextField (client). If you take a look at the extension guide you'll quickly find out how to do so. Now you only need to override 2 methods: ULCMyTextField: String typeString(); Should return the full qualified class name of UIMyTextField UIMyTextField Object createBasicObject(Object[] args); Should create your custom text field with your custom paint method, something like : return new MyTextFieldWidget(); I'm not sure if I got all the things right here since it's been a while since I did similar. But it should answer your question on how to do it. Regards, Christoph Brill _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
