java-gnome-developer Mailing List for The java-gnome language bindings project (Page 18)
Brought to you by:
afcowie
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(37) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(20) |
Mar
(20) |
Apr
(8) |
May
|
Jun
(1) |
Jul
(6) |
Aug
(39) |
Sep
(37) |
Oct
(34) |
Nov
(50) |
Dec
(22) |
2002 |
Jan
(7) |
Feb
(13) |
Mar
(32) |
Apr
(16) |
May
(26) |
Jun
(20) |
Jul
(32) |
Aug
(7) |
Sep
(2) |
Oct
(11) |
Nov
(3) |
Dec
(35) |
2003 |
Jan
(11) |
Feb
(3) |
Mar
(8) |
Apr
(3) |
May
(11) |
Jun
(20) |
Jul
(11) |
Aug
(29) |
Sep
(13) |
Oct
(91) |
Nov
(185) |
Dec
(207) |
2004 |
Jan
(108) |
Feb
(171) |
Mar
(207) |
Apr
(113) |
May
(22) |
Jun
(53) |
Jul
(69) |
Aug
(43) |
Sep
(34) |
Oct
(182) |
Nov
(101) |
Dec
(61) |
2005 |
Jan
(86) |
Feb
(45) |
Mar
(106) |
Apr
(67) |
May
(70) |
Jun
(47) |
Jul
(19) |
Aug
(34) |
Sep
(24) |
Oct
(45) |
Nov
(20) |
Dec
(58) |
2006 |
Jan
(21) |
Feb
(21) |
Mar
(16) |
Apr
(24) |
May
(24) |
Jun
(47) |
Jul
(20) |
Aug
(8) |
Sep
(13) |
Oct
(7) |
Nov
(23) |
Dec
(2) |
2007 |
Jan
|
Feb
(14) |
Mar
(3) |
Apr
(11) |
May
(1) |
Jun
(15) |
Jul
(2) |
Aug
(5) |
Sep
(10) |
Oct
(5) |
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(13) |
Mar
(13) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
(14) |
Nov
(11) |
Dec
(12) |
2009 |
Jan
(30) |
Feb
(4) |
Mar
(16) |
Apr
(9) |
May
(9) |
Jun
(7) |
Jul
(6) |
Aug
(3) |
Sep
(14) |
Oct
(8) |
Nov
(12) |
Dec
(9) |
2010 |
Jan
(4) |
Feb
(27) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(13) |
Jul
(6) |
Aug
(15) |
Sep
(15) |
Oct
(12) |
Nov
(11) |
Dec
(9) |
2011 |
Jan
(12) |
Feb
(11) |
Mar
|
Apr
(3) |
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(8) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(7) |
Oct
(7) |
Nov
|
Dec
(4) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(16) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Andrew C. <an...@op...> - 2008-07-01 01:39:57
|
I assume you had a look at the README file that comes with java-gnome. It has further examples of running code: http://java-gnome.sourceforge.net/4.0/README.html#using but the problem you're having is fairly simple to address. On Tue, 2008-07-01 at 04:12 +0900, 한정훈 wrote: > $ javac ExamplePressMe.java -classpath /usr/share/java Although Java searches paths for hierarchies of .class files, it does not load .jar files. You have to specify them by name. $ cd doc/examples/ $ javac -classpath /usr/share/java/gtk-4.0.jar button/ExamplePressMe.java And to run it, $ java -client -ea -classpath /usr/share/java/gtk-4.0.jar:. button.ExamplePressMe [You may need to add -Djava.library.path=/usr/lib/jni on Debian; I'm not sure if that's on the default system linker search path] Yes, this is all a bit verbose, but unfortunately that's the way Java is. ++ Or you could do it all from another location: $ javac -classpath /usr/share/java/gtk-4.0.jar -d /tmp/examples /path/to/java-gnome/doc/examples/button/ExamplePressMe.java $ java -client -ea -classpath /usr/share/java/gtk-4.0.jar:/tmp/examples -Djava.library.path=/usr/lib/jni button.ExamplePressMe Hopefully you see the pattern now. ++ If you were build java-gnome from source yourself, you would find that `make test` also builds the example code (and puts the resulting .class files in tmp/tests/). so, $ java -client -ea -classpath tmp/gtk-4.0.jar:tmp/tests/ -Djava.library.path=tmp button.ExamplePressMe would run it for you. Good luck, AfC Sydney -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management. We actively carry out research and development in these areas on behalf of our clients, and enable successful use of open source in their mission critical enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: 한. <yut...@gm...> - 2008-06-30 19:12:14
|
I use Sun java from debian. // example.java import javax.swing.JTextField; public void .... { .. blah.. blah.. } //end of example.java as you know(s) `javac example.java` works. because probably javax packages were registered by sun java, some where as global settings (classpath). To compile 'ExamplePressMe.java'; downloaded from 'http://java-gnome.sourceforge.net/4.0/doc/examples/button/ExamplePressMe.html'; 'javac ExamplePressMe.java' shows error that It can't find where they are. My error : $ javac ExamplePressMe.java -classpath /usr/share/java ExamplePressMe.java:13: package org.gnome.gdk does not exist import org.gnome.gdk.Event; Debian : 'libjava-gnome-java' distribution package contains gnome/gtk jars in /usr/share/java $ jar tf /usr/share/java/gtk.jar | more .. blah.. blah.. org/gnome/gdk/GdkExtensionMode.class org/gnome/gdk/EventExpose.class org/gnome/gdk/GdkGravity.class org/gnome/gdk/Keyval.class org/gnome/gdk/GdkInputMode.class Would you tell me how I can make javac recognize these classpath, plz? |
From: Zak F. <zak...@gm...> - 2008-05-30 10:57:23
|
Hi. From what i can tell, the Cairo bindings - despite having a lot of classes - are quite bare. No clipping, transformations, etc. Am I missing something here? Is anybody working on completing the bindings? If not, I'm happy to fill in the gaps. |
From: Aurelien <mil...@ho...> - 2008-05-01 12:48:34
|
> I've just added removeRow() to ListStore and TreeStore. They will be in > java-gnome 4.0.7 > > AfC > Sydney > Thanks for your work. i have just installed java-gnome 4.07 and now i can use the removeRow() Thanks ( and sorry for my english i'm a french student ) |
From: Andrew C. <an...@op...> - 2008-04-30 13:42:08
|
I am pleased to announce a new release of the java-gnome user interface library. Tarballs of 4.0.7 can be downloaded from: http://ftp.gnome.org/pub/GNOME/sources/java-gnome/4.0/ Release notes are, as usual, in the NEWS file: http://java-gnome.sourceforge.net/4.0/NEWS.html#4.0.7 ++ Serkan Kaba was mentioned as one of the people to whom credit is due; Serkan is a long time participant in #java-gnome who took the time to test building the 4.0.7-rc1 release candidate. Doing so he uncovered a problem whereby String's toUpperCase() was behaving unexpectedly and breaking the build as a result. Turned out to be a side effect of the Turkish locale and that while Character.toUpperCase() is deterministic in the face of changing locales, String.toUpperCase() is not. Serkan, having seen this sort of problem with other (otherwise mature) Java projects, was able not only to help pin down the cause but also contributed the fix as well. I mention this because this is the sort of bug that is bigger than any one person or organization. They lurk in every project. It serves as an nice reminder of the outstanding quality of Open Source as a software development process. Thanks Serkan! AfC Sydney -- Maintainer, java-gnome The GNOME user interface library for Java Partner, Operational Dynamics Crisis resolution, change management, and leadership development |
From: Andrew C. <an...@op...> - 2008-04-29 03:06:01
|
On Mon, 2008-04-28 at 15:52 +0000, Aurelien wrote: > I have found how to remove all the element with the method clear but not one at > a specific path. That's a reasonable thing to want to do. You need something that isn't exposed yet. I've just added removeRow() to ListStore and TreeStore. They will be in java-gnome 4.0.7 AfC Sydney -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management. We actively carry out research and development in these areas on behalf of our clients, and enable successful use of open source in their mission critical enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Aurelien <mil...@ho...> - 2008-04-28 16:15:15
|
Hi, I have to construct a TreeView, i display the date with a TreeStore. I don't find how to remove a specific row at the specific path. I have found how to remove all the element with the method clear but not one at a specific path. Thanks for your help |
From: Andrew C. <an...@op...> - 2008-04-17 22:03:35
|
I've done a release candidate for java-gnome 4.0.7 As described before, there's nothing requiring us to do RCs; but they have proved useful. This time around, there are two audiences: One, people doing packaging can check and make sure that 4.0.7 is all sorted for them. Remember that the goal is that *zero* configuration and build related patches be necessary; after all, we want people to be able to build & hack on java-gnome itself if building it themselves from source and if a distro's packages have a huge patch set then we aren't doing our job to support them. Second, people with serious apps wishing to use 4.0.7 as the release they depend on for their own next release can check that stuff they _really_ need is in there. I have delayed the release of 4.0.7 until 27 April or so. I are moving, and so I will be off the direct internet for the next week (at least, I hope it's not any longer than that. {sigh}, telcos. I will be able to get email intermittently; if you want to chat, use the mailing lists. Cheers, AfC Sydney -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management. We actively carry out research and development in these areas on behalf of our clients, and enable successful use of open source in their mission critical enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Fabio R. da R. <fab...@gm...> - 2008-03-21 18:01:12
|
Is it possible to build java-gnome 4 for win32 ? I saw some messages about this for the old bindings, but was not able to find anything about the new java gnome bindings. Thanks -- Fabio Rafael da Rosa fab...@gm... |
From: Rafael G. <raf...@gm...> - 2008-03-13 16:21:32
|
Hello, thanks for the answer, but i have made this already, and there is no method that returns the currently selected String. I can only get the selected Index, but I can't get the string :( also there is no method to insert new Itens. Thanks again, Rafael Gil 2008/3/13, Andrew Cowie <an...@op...>: > > On Thu, 2008-03-13 at 08:19 -0300, Rafael Gil wrote: > > I'm new to java-gnome and I'm trying to understand how ComboBox works. > > > I've made a window with a ComboBox using glade, > > > You should be able to just do: > > cb = (ComboBox) glade.getWidget("combobox1"); > > and then use the various methods on ComboBox. > > AfC > Berlin > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > |
From: Andrew C. <an...@op...> - 2008-03-13 14:48:54
|
On Thu, 2008-03-13 at 08:19 -0300, Rafael Gil wrote: > I'm new to java-gnome and I'm trying to understand how ComboBox works. > I've made a window with a ComboBox using glade, You should be able to just do: cb = (ComboBox) glade.getWidget("combobox1"); and then use the various methods on ComboBox. AfC Berlin |
From: Rafael G. <raf...@gm...> - 2008-03-13 11:28:47
|
Hello, I'm new to Java-Gnome and I'm trying to understand how ComboBox works. I've made a window with a ComboBox using glade, but now I don't know how to get the selected String or how to add more Itens to it. does anybody knows how to do it? PS. Sorry my bad english, if there is something wrong, please tell me. Thanks, Rafael Gil |
From: Andrew C. <an...@op...> - 2008-03-12 19:17:20
|
On Wed, 2008-03-12 at 21:25 +0300, Alexey Titov wrote: > Hello. Where can I find any documentation about your generator (.defs > files)? http://java-gnome.sourceforge.net/4.0/doc/design/START.html In most cases, that stuff documents the design process we used to get to the architecture we have now; and so most some of it speaks from the point of view that things stood two years ago before we had done all the work. I have been planning to redo that from its current historical role to present-tense architecture documentation, but that can wait. See also http://www.operationaldynamics.com/reference/talks/PastPresentFuture/img57.html especially http://www.operationaldynamics.com/reference/talks/PastPresentFuture/img79.html and http://www.operationaldynamics.com/reference/talks/PastPresentFuture/img77.html [and yes, I ought to reuse all that in the project documentation, but that can also wait] The workings of the code generator itself is discussed somewhat at http://research.operationaldynamics.com/bzr/java-gnome/mainline/src/generator/BindingsGenerator.java and the comment at the top of http://research.operationaldynamics.com/bzr/java-gnome/mainline/src/generator/com/operationaldynamics/defsparser/DefsParser.java and other files in src/generator/ in any checkout of java-gnome. AfC Berlin -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management. We actively carry out research and development in these areas on behalf of our clients, and enable successful use of open source in their mission critical enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Alexey T. <a_t...@ma...> - 2008-03-12 18:18:36
|
Hello. Where can I find any documentation about your generator (.defs files)? |
From: Manu M. <man...@co...> - 2008-03-11 16:32:09
|
Andrew Cowie wrote: > $ ./configure jdk=/usr/lib/jvm/java-1.6.0-sun > > could work for you. Also if you don't want to use the Sun JDK; on a Debian/Ubuntu system you could install the "java-gcj-compat-dev" package (http://packages.debian.org/etch/java-gcj-compat-dev) and use the following command to configure: $ ./configure jdk=/usr/lib/jvm/java-gcj Regards, Manu |
From: Andrew C. <an...@op...> - 2008-03-11 10:26:55
|
On Tue, 2008-03-11 at 11:07 +0100, Stefano wrote: > Can't locate the JNI header file The root cause problem is that GCC has a jni.h file that isn't compatible with other things, like, say, Java. We've been battling this for a long time now. Two things: 1) don't let your distro fool you into thinking that GCJ is a JDK. It's many wonderful things, but a compliant JDK it is not. That, and it's a dead project. So don't use it anymore. 2) Try $ ./configure jdk=/path/to/whatever/the/java/home/is/on/your/system Based on the work that Manu has been doing to build proper Debian packages, you might find that $ ./configure jdk=/usr/lib/jvm/java-1.6.0-sun could work for you. If that doesn't work, can you send along the output of .config{,.tmp}? Also, if you hang in #java-gnome we can probably solve this interactively. Thanks. AfC Berlin -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management. We actively carry out research and development in these areas on behalf of our clients, and enable successful use of open source in their mission critical enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Stefano <st...@ti...> - 2008-03-11 10:08:15
|
Hello, I have a problem with the configuration of java-gnome. When launching the command ./configure, is produced the following results: root@ubuntu704desktop:/home/user/application/java-gnome-4.0.6# ./configure equivalence, v0.2...configuring Java projects to build and run on Linux & UnixIdentify operating system: DebianCheck for required jar files: - JUnit test framework foundCheck for required system libraries: - GTK+ found - Pango found - ATK found - GDK found - LibGlade found - GNOME printing (Unix backend) found - GNOME development platform foundCheck Java compilers: - IBM jikes doesn't work - Eclipse ecj works - System javac works - GNU gcj -C (bytecode mode) works - GNU gcjh found - GNU fastjar works - GNU gjdoc foundCheck Java virtual machines: - System java VM works - GNU gij worksCheck native compiler: - GNU gcj works - GNU gcc worksSelect compiler: ecjSelect runtime: javafailedCan't locate the JNI header fileFailed to complete configuration. This error occurs even when I enter the following command line: ./configure --with-jni-path=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/include/ How can I do? Thanks to all. _______________________________________________ Vola lastminute e risparmia! Milano- Roma da 126 € e Roma New York da 439 €. |
From: Alexey T. <a_t...@ma...> - 2008-03-07 18:48:13
|
Hello. There is a nice widget DiaCanvas (http://diacanvas.sourceforge.net). It can display vector graphics with anti-alias. Are you going to create Java API for this widget? If no, can your generator be used to create bindings? |
From: Andrew C. <an...@op...> - 2008-03-04 09:12:32
|
On Fri, 2008-02-29 at 11:13 +0100, Ulhume wrote: > Is there any date for Tree support ? I mean not tree with a list storage, > but with real hierarchy. You're asking about TreeStore. Given the work in place for TreeModel and ListStore, along with the infrastructure behind them, it should be quite achievable for someone new to contribute the necessary coverage. The part that makes TreeStore different is that it has methods to insert a new row as a child of an existing row, or above it, along with methods to manipulate an existing hierarchy. That's what will need a bit of attention as compare to ListStore. If you're interested in doing the work on this one, give me a shout on #java-gnome once you've read into the guts of our TreeModel bindings and the Overrides that go with it. You'll also want to get up front and personal with the GTK API documentation for GtkTreeStore and friends. AfC Singapore -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management. We actively carry out research and development in these areas on behalf of our clients, and enable successful use of open source in their mission critical enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Alexey T. <a_t...@ma...> - 2008-03-01 20:50:15
|
> Well, I have no idea what JLabel does or doesn't do, but in GTK you > use > Pango markup to add emphasis to what would otherwise be ordinary text > in > a Label or a CellRendererText. See > http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html or > http://www.pygtk.org/pygtk2reference/pango-markup-language.html > > and use > http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/Label.html#setUseMarkup(boolean) or http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/CellRendererText.html#setMarkup(org.gnome.gtk.DataColumnString) > as appropriate. > Thank you for answer. It works. And what about image and text in the same cell? See gnome-system-monitor for example. And what about "lazy" models for trees and tables? I can give an example with Swing objects. |
From: Andrew C. <an...@op...> - 2008-03-01 11:40:29
|
On Sat, 2008-03-01 at 01:01 +0300, Alexey Titov wrote: > > 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? Yes. You [can] pack (one or more) CellRenderers into ComboBoxes the same way you pack (one or more of) them into a TreeViewColumn. > Or html text (like JLable)? Well, I have no idea what JLabel does or doesn't do, but in GTK you use Pango markup to add emphasis to what would otherwise be ordinary text in a Label or a CellRendererText. See http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html or http://www.pygtk.org/pygtk2reference/pango-markup-language.html and use http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/Label.html#setUseMarkup(boolean) or http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/CellRendererText.html#setMarkup(org.gnome.gtk.DataColumnString) as appropriate. AfC Sydney |
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)? |
From: Ulhume <sit...@ka...> - 2008-02-29 10:13:54
|
Hi, Is there any date for Tree support ? I mean not tree with a list storage, but with real hierarchy. Regards. U. |
From: Andrew C. <an...@op...> - 2008-02-29 09:56:25
|
On Thu, 2008-02-28 at 22:22 +0300, Alexey Titov wrote: > Is there any way to create new widgets with java-gnome? Sure. Just subclass an existing Widget class. > 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. AfC Sydney |
From: Alexey T. <a_t...@ma...> - 2008-02-28 19:28:22
|
Hello. Is there any way to create new widgets with java-gnome? And can I use my own cell renderer in TreeView? |