Re: [Java-gnome-developer] JTable(Swing) to java-gnome
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2005-03-23 00:54:51
|
On Tue, 2005-22-03 at 09:45 +0100, Ralph Henneberger wrote: > i written a program that's use a swing.JTable, i will porting the > program to java-gnome. The GTK table widget is quite tricky to use; The underlying GTK TreeView/TreeModel API is considerably different from what swing provides, and the java-gnome binding is similarly different. You should first read: http://java-gnome.sourceforge.net/docs/javadoc-2.8.2/org/gnu/gtk/TreeView.html and the javadoc for other related classes. Then you might look at some examples code. In particular, in the java-gnome source code for the libgtk-java package, you will find doc/examples/tree/TreeExample.java which shows many of the basics. After you've looked at that, let us know if its making sense. AfC Sydney -- Andrew Frederick Cowie Management Consultant Technology strategy, managing change, establishing procedures, and executing successful upgrades to mission critical business infrastructure. http://www.operationaldynamics.com/ Sydney New York Toronto London |