Re: [Java-gnome-developer] Creating custom widgets
Brought to you by:
afcowie
From: Alexey T. <a_t...@ma...> - 2008-02-29 21:55:14
|
thank you for answer. > > Is there any way to create new widgets with java-gnome? > > Sure. Just subclass an existing Widget class. In Swing I can create component, that extends JComponent, override paint() method and use Java2D to draw. What is the java-gnome way? > > > And can I > > use my own cell renderer in TreeView? > > What are you trying to achieve? In my experience, there is little you > cannot do with CellRendererText and CellRendererPixbuf. Can I display combobox with images in the cell? Or html text (like JLable)? Or text and icon inside one cell (like JLable, too)? Also I wonder, is there any way to create a "lazy" table (or tree) model, which provide data only as they displayed (not all data at once)? |