java-gnome-developer Mailing List for The java-gnome language bindings project (Page 33)
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: Lars W. <la...@di...> - 2005-12-05 02:11:45
|
Hi (again) everyone, > PS: speaking of GConf, does there exist any experience with using > GConf-Java under Windows? Is it known or at least expected to work or > should I expect there to be major problems and therefore maybe switch to > use something else? since nobody answered this earlier question let me ask it again in more general terms: what kind of difficulties should we expect when trying to develop an application with java-gnome (most importantly -gtk) that runs out-of-the-box on Windows? How much experience is there with Windows as a target platform? GConf-support we could actually live without but easy installation on Windows is pretty close to a must-have... Regards, Lars |
From: Andrew C. <an...@op...> - 2005-12-02 05:15:52
|
On Thu, 2005-01-12 at 19:47 +0000, David Gilbert wrote: > I'd like to try your patch, but so far I=20 > have not succeeded in building cairo-java from CVS. I get this error=20 > when I execute 'make': >=20 > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bi= n/ld:=20 > cannot find -lglibjava ... > I know nothing about this stuff, I only got cairo-java working via the=20 > Gentoo ebuild. Any hints? So we just talked this over in #java-gnome, and I have a hypothesis for you. -lglibjava is the library that we generate when you compile to native in using GCJ that is effectively the equivalent of glib.jar. In the Gentoo ebuilds, it only gets built if you have USE=3Dgcj set in your USE flags (either /etc/make.conf, /etc/portage/packages.use or on emerge command line) So, my speculation is that you're not finding /usr/lib/libglibjava.so because the glib-java package was built USE=3D-gcj (either explicitly by you, or as a default by not setting the gcj use flag). If that is so, then when you are trying to build cairo-java from CVS, you have configured as --with-gcj-compile which is the default. As a workaround, you can probably do $ ./configure --without-gcj-compile --prefix=3D/opt/blah... Then it won't try and build the gcj native libraries libcairojava.so that is the equivalents of cairo.jar, which means you won't need libglibjava.so. Give it a try and let us know? [Or, you could re emerge glib-java with USE=3Dgcj active - all assuming that this hypothesis is correct] Be aware that in general, if you're building something from CVS, you end up needing to build the dependencies from CVS. That is (probably) not necessary in this case, but there are one or two few bug fixes in glib-java since we released 0.2.1. FYI. AfC Bangalore --=20 Andrew Frederick Cowie Operational Dynamics Website: http://www.operationaldynamics.com/ Blog: http://research.operationaldynamics.com/blogs/andrew/ GPG key: 0945 9282 449C 0058 1FF5 2852 2D51 130C 57F6 E7BD Sydney +61 2 9977 6866 New York +1 646 472 5054 Toronto +1 416 848 6072 London +44 207 1019201 |
From: Ismael J. <ml...@ju...> - 2005-12-01 21:41:56
|
One thing I forgot to mention, if you'd like a more real-time interaction, the people involved with the project are often in the #java-gnome channel at irc.gimp.net. Ismael |
From: Ismael J. <ml...@ju...> - 2005-12-01 21:35:10
|
On Thu, 2005-12-01 at 19:47 +0000, David Gilbert wrote: [...] > Thanks for the quick response. I'd like to try your patch, but so far I > have not succeeded in building cairo-java from CVS. I get this error > when I execute 'make': > > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: > cannot find -lglibjava > collect2: ld returned 1 exit status > make[1]: *** [libcairojava.la] Error 1 > make[1]: Leaving directory `/home/dgilbert/cairo-java-cvs/cairo-java' > make: *** [all] Error 2 > > I know nothing about this stuff, I only got cairo-java working via the > Gentoo ebuild. Any hints? I don't know much about the gentoo ebuilds myself, and from the error snippet, it's not apparent what's going wrong. The problem is occurring in the native compilation step, however, so you can skip that step while we're trying to figure out why the problem is happening if you so wish. This can be done by passing --without-gcj-compile to autogen.sh or configure. To help us figure out why the problem is happening, it would be useful if you could post the whole output instead of just that small fragment. > P.S. By the way, my interest in cairo-java is to create a > CairoGraphics2D class that can be used with JFreeChart (and any other > applications that use the Graphics2D API). I started that and got some > promising results before running into the getMatrix() problem. Here are > some PNG images I created with a very basic Graphics2D implementation > (I'm sure it can be improved a lot): > > http://www.object-refinery.com/jfreechart/cairo/PieChartTest.png > > http://www.object-refinery.com/jfreechart/cairo/BarChartTest.png > > http://www.object-refinery.com/jfreechart/cairo/TimeChartTest.png > > This is running on Sun's JDK but I'm hopeful of getting the same thing > running on JamVM and GNU Classpath. Very cool! :) Regards, Ismael |
From: Joao V. <jvi...@ya...> - 2005-12-01 21:02:34
|
--- David Gilbert <dav...@ob...> escreveu: > http://www.object-refinery.com/jfreechart/cairo/PieChartTest.png > > http://www.object-refinery.com/jfreechart/cairo/BarChartTest.png > > http://www.object-refinery.com/jfreechart/cairo/TimeChartTest.png > > This is running on Sun's JDK but I'm hopeful of getting the same thing > running on JamVM and GNU Classpath. Oh, that's awesome! I had thought about doing exactly that a while back, but the Cairo bindings were too in-the-beginning, so i didn't go further. But this is really great. Cheers, J.V. _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html |
From: David G. <dav...@ob...> - 2005-12-01 19:46:54
|
Ismael Juma wrote: >On Thu, 2005-12-01 at 13:12 +0000, David Gilbert wrote: >[...] > > >># >># An unexpected error has been detected by HotSpot Virtual Machine: >># >># SIGSEGV (0xb) at pc=0xab1b9a73, pid=10577, tid=16384 >># >># Java VM: Java HotSpot(TM) Client VM (1.4.2_09-b05 mixed mode) >># Problematic frame: >># C [libcairo.so.2+0xca73] >> >> >> >[...] > >Hi, > >It seems like a bug in the library. It would be useful if you could post >a bug report[1], so that this doesn't get lost. Regarding relevant >information to put in the bug report, the ideal is a runnable test case. >This is obviously not always possible, and the information you provided >in your email message is generally good enough, but you may probably >want to attach the file generated by the Sun JVM when it crashes. It's >usually in the directory where the app was launched from or the home >directory. Thanks. > >Regards, >Ismael > >[1] https://bugs.freedesktop.org/enter_bug.cgi?product=cairo-java > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >java-gnome-developer mailing list >jav...@li... >https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > > Thanks for the quick response. I'd like to try your patch, but so far I have not succeeded in building cairo-java from CVS. I get this error when I execute 'make': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lglibjava collect2: ld returned 1 exit status make[1]: *** [libcairojava.la] Error 1 make[1]: Leaving directory `/home/dgilbert/cairo-java-cvs/cairo-java' make: *** [all] Error 2 I know nothing about this stuff, I only got cairo-java working via the Gentoo ebuild. Any hints? Regards, Dave Gilbert P.S. By the way, my interest in cairo-java is to create a CairoGraphics2D class that can be used with JFreeChart (and any other applications that use the Graphics2D API). I started that and got some promising results before running into the getMatrix() problem. Here are some PNG images I created with a very basic Graphics2D implementation (I'm sure it can be improved a lot): http://www.object-refinery.com/jfreechart/cairo/PieChartTest.png http://www.object-refinery.com/jfreechart/cairo/BarChartTest.png http://www.object-refinery.com/jfreechart/cairo/TimeChartTest.png This is running on Sun's JDK but I'm hopeful of getting the same thing running on JamVM and GNU Classpath. |
From: Ismael J. <ml...@ju...> - 2005-12-01 16:10:31
|
On Thu, 2005-12-01 at 13:12 +0000, David Gilbert wrote: [...] > # > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # SIGSEGV (0xb) at pc=0xab1b9a73, pid=10577, tid=16384 > # > # Java VM: Java HotSpot(TM) Client VM (1.4.2_09-b05 mixed mode) > # Problematic frame: > # C [libcairo.so.2+0xca73] > [...] Hi, It seems like a bug in the library. It would be useful if you could post a bug report[1], so that this doesn't get lost. Regarding relevant information to put in the bug report, the ideal is a runnable test case. This is obviously not always possible, and the information you provided in your email message is generally good enough, but you may probably want to attach the file generated by the Sun JVM when it crashes. It's usually in the directory where the app was launched from or the home directory. Thanks. Regards, Ismael [1] https://bugs.freedesktop.org/enter_bug.cgi?product=cairo-java |
From: David G. <dav...@ob...> - 2005-12-01 13:12:48
|
Hi, I'm going a little outside my comfort zone and trying out cairo-java. So far, it is going pretty well, and I've got some nice things working. But, I'm having some trouble when I try out transformations, specifically the following code: ImageSurface surface = new ImageSurface(Format.ARGB32, 300, 200); Context context = new Context(surface); Matrix m = context.getMatrix(); ...generates this error message: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xab1b9a73, pid=10577, tid=16384 # # Java VM: Java HotSpot(TM) Client VM (1.4.2_09-b05 mixed mode) # Problematic frame: # C [libcairo.so.2+0xca73] I'm running Eclipse on JDK 1.4.2_09 on Gentoo Linux, and I installed the cairo-java-1.0.1.ebuild. I can provide additional information if required. I have no experience using "native" libraries, so I don't know what's relevant information and what's not. Any help will be greatly appreciated. Regards, Dave Gilbert |
From: Lars W. <la...@di...> - 2005-11-24 15:24:50
|
Am Donnerstag, den 24.11.2005, 16:10 +1100 schrieb Andrew Cowie: > I don't know of anyone still using 2.10; on the other hand while there > were significant changes to libgtk-java in the last cycle, gconf isn't > getting much love. Are there Debian or Ubuntu packages of more recent versions available somewhere? Or is a source-install the best option for me to get up to date? > As ever, if someone can run your test case it makes it easier for a > hacker to localize the problem and maybe fix it. Recommend you follow up > with a link to the code that's borking on you. [ie, my own apps don't > use GConf, and we run Gentoo, so...] Sorry, I somehow expected the problem to be known. The following simple program prints the mentioned assertion failure and shows the returned value as beeing 0: --->8--- package test; import org.gnu.gconf.*; public class Test { public static void main(String[] args) { ConfClient conf_client = ConfClient.getInstance(); int value = -1; try { conf_client.setInt("/apps/test/value", 42); value = conf_client.getInt("/apps/test/value"); } catch (Exception e) { e.printStackTrace(); } System.out.println(value); } } ---8<--- When I change the above code to use {get,set}String everything works as expected. > Of course, offering bottles of scotch also accelerates the rate at which > things get fixed. :) Yes, maybe. Perhaps as soon as we got anywhere with the program we are about to develop :) At the moment, all that I'm prepared to offer is my gratitude for the fact that people are working on Java bindings for Gtk, glade, etc. as this releases us from the burdon of using such awkward toolkits as AWT, Swing or SWT! Hope you find the energy to keep this going! Regards, Lars PS: speaking of GConf, does there exist any experience with using GConf-Java under Windows? Is it known or at least expected to work or should I expect there to be major problems and therefore maybe switch to use something else? |
From: Andrew C. <an...@op...> - 2005-11-24 05:10:23
|
On Wed, 2005-23-11 at 03:52 +0100, Lars Weber wrote: > Is this a known error in the version of Java-GConf I use (2.10.1-1 from > Ubuntu Breezy) I don't know of anyone still using 2.10; on the other hand while there were significant changes to libgtk-java in the last cycle, gconf isn't getting much love. As ever, if someone can run your test case it makes it easier for a hacker to localize the problem and maybe fix it. Recommend you follow up with a link to the code that's borking on you. [ie, my own apps don't use GConf, and we run Gentoo, so...] Of course, offering bottles of scotch also accelerates the rate at which things get fixed. :) AfC Sydney -- Andrew Frederick Cowie Operational Dynamics Bio: http://www.operationaldynamics.com/about/staff/andrew/ Blog: http://research.operationaldynamics.com/blogs/andrew/ GPG key: 0945 9282 449C 0058 1FF5 2852 2D51 130C 57F6 E7BD Sydney +61 2 9977 6866 New York +1 646 472 5054 Toronto +1 416 848 6072 London +44 207 1019201 |
From: Lars W. <la...@di...> - 2005-11-23 02:59:26
|
> whenever I try to get an int value from a ConfClient using getInt I get > an assertion failure like this: > > (java-gnome:10739): GConf-CRITICAL **: gconf_client_get_int: > assertion `err == NULL || *err == NULL' failed > > The same is true for bool and list values. Forgot to mention the worst part: the call to getInt() always returns 0 even if a key with a different value exists. |
From: Lars W. <la...@di...> - 2005-11-23 02:53:01
|
Hi everyone, whenever I try to get an int value from a ConfClient using getInt I get an assertion failure like this: (java-gnome:10739): GConf-CRITICAL **: gconf_client_get_int: assertion `err == NULL || *err == NULL' failed The same is true for bool and list values. Is this a known error in the version of Java-GConf I use (2.10.1-1 from Ubuntu Breezy) and if so, is it going to be fixed soon (if it hasn't been already)? Or should I try to look more closely for an error on my part (which seems rather unlikely to me currently)? Regards, Lars |
From: Mark W. <ma...@kl...> - 2005-11-14 23:12:34
|
Hi all, Like the last couple of years we want to come together with all the projects around GNU Classpath and the various free runtimes, compiler and tool projects to discuss what has happened in the last year in the Free Software community and what the next year will bring us during FOSDEM. The 6th edition of FOSDEM (Free and Opensource Software Developers' European Meeting) will take place on February 25+26 2006 in Brussels (Belgium), at the Solbosch Campus of the ULB (Free University of Brussels). FOSDEM is a free and non-commercial event for the community and organized by the community. See http://www.fosdem.org/ We were thinking of the following setup: - Saturday from 13:00 to 17:30 - "End-User talks" presentations to promote what we all build together to a wider audience that might have heard of what we do, but haven't actually seen it in action/put together. We might also want to have a "lightning" hour with lots of quick Demos of applications running on a completely free stack (5 - 10 minutes per demo). - Sunday from 09:00 to 12:30 - "Developer talks" presentations of things that are in progress and that people want to explain in more depth to get developers of the other projects to join in a share the fun. - Sunday from 13:00 to 17:30 - "The Future" hard core interactive technical hacker discussions on how to integrate the projects more and move forward in the next year. Arnaud Vandyck, Dalibor Topic, Mark Wielaard, Michael Koch and and Tom Tromey will be our "program committee" this year. If you would like to present something, have an idea for a demo or discussion topic please let us know at fo...@de... Please mention the title, a little abstract, which track and whether you want to do a quick demo, a short 30 min talk or full hour talk (we prefer 30 minute talks to give everybody a chance to present something). Deadline for proposals is December 18, so you have a month to think of something cool. Then we make sure to have some kind of "formal program" at the start of January. Examples of presentations and reports from previous years: http://www.gnu.org/software/classpath/events/escape_fosdem05.html http://www.gnu.org/software/classpath/events/fosdem04.html Some ideas for interesting topics: - Free Swing - The Demo! - Your GNU/Linux distro and the free runtimes - package overview. - From 0 to 100 in 15 Minutes: Getting started with GNU Classpath=20 development using Eclipse, JamVM, Mauve, and the ChangeLog plugin! - Integrating with Objectweb through native-(gcj)-JOnAS - Writing OpenOffice.org plugins using a free software stack. - Using GNU Classpath/gcj/kaffe for games - Using free runtimes on Wine and other win32 environments - Embedding GNU Classpath in web browsers and support for JNLP - Security Auditing! - 1.5 language support in GNU Classpath, gcjx and the free runtimes - GNU Classpath/OSGi/J2ME/Library splitting and trimming - Harmony through interfacing. - Beyond JAPI: what is needed to "really finish" GNU Classpath Or, "Beyond Java" -- what we can do when we finish 1.5. Or more generally some kind of presentation about development metrics: bug rates, rates of change in japi/lines of code/tests, email volume, stuff like that. - Debugging, JDWP development efforts. - etc. Hope to see you in Brussels on February 25 and 26 2006, Arnaud, Dalibor, Mark, Michael and Tom --=20 Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/ |
From: Graham C. <gra...@ho...> - 2005-11-14 22:55:08
|
Hi I tried to compile gst-java from CVS to have a play around with but have got these errors that I'm unsure of:- I am going to run ./configure with no arguments - if you wish to pass any to it, please specify them on the ./autogen.sh command line. aclocal: couldn't open directory `-I': No such file or directory Makefile.am:3: BUILD_GCJ does not appear in AM_CONDITIONAL Makefile.am:106: BUILD_GCJ does not appear in AM_CONDITIONAL Makefile.am:143: BUILD_JAVADOC does not appear in AM_CONDITIONAL Makefile.am:149: BUILD_JAVADOC does not appear in AM_CONDITIONAL Makefile.am:178: BUILD_JAVADOC does not appear in AM_CONDITIONAL Anyone know what I could be missing? |
From: Manuel C. <ll...@us...> - 2005-11-10 13:35:20
|
Hi! Why does the TextView class not implement the Editable interface? it has the setEditable method like the Entry class. Thanks. |
From: Manel C. <ma...@ia...> - 2005-11-10 13:28:30
|
Hi! Why does the TextView class not implement the Editable interface? it has the setEditable method like the Entry class. Thanks. -- Manel Clos ma...@ia... www.iagrup.com |
From: Manuel C. <ll...@us...> - 2005-11-09 13:10:54
|
Hi all, The widget class has the method setBaseColor, but does not have the method getBaseColor, so I can restore if after FOCUS_OUT. Any way to get the Color before I change it? Thanks. |
From: Manuel C. <ll...@us...> - 2005-11-07 10:29:39
|
Hi all! The run method of Dialog returns int. Shouldn't it return ResponseType? See you! |
From: Joao V. <jvi...@ya...> - 2005-11-06 23:52:36
|
That's called an "MDI interface". Usability studies shows MDI most of the times is bad interface, and, because of that, Gtk doesn't provide an MDI component (consequently, there isn't one in Java-Gnome). There are 2 solutions: using tabs (doesn't feel 'right' in every situation though) or simply using separate windows - like Gimp does (and is heavily critisized for doing it - lol :D). Cheers, J.V. --- Daniel Gutierrez <dan...@gm...> escreveu: > Igor, > > TOAD is the name of a DDBB developing application. > This is a TOra screenshot, a "TOAD like" program > > http://tora.sourceforge.net/misc.html > > You can see child windows into the parent window > > Thanks!! > > > El lun, 31-10-2005 a las 10:37 -0500, Igor Foox escribió: > > On Mon, 2005-10-31 at 16:31 +0100, Daniel Gutierrez wrote: > > > I want to develop an application "TOAD like", with one "parent" window > > > and others that will be opened into the "parent". Only this... > > > > Hi Daniel, I'm not sure what TOAD is, but if you could provide a link to > > a screenshot to something similar to what you're trying to achieve it > > might be helpful. > > > > Igor > > > > > > > > > > El lun, 31-10-2005 a las 10:27 -0500, Igor Foox escribió: > > > > Hi Daniel, > > > > > > > > I'm not sure if this is exactly what you are looking for (parent-child > > > > relationship), but there is an attribute in Glade which can set a window > > > > to not be visible on start-up. If you go to the 'Common' tab in the > > > > 'Properties' window in glade and set the window's 'Visible' property to > > > > 'No' then it will not be visible on startup. Then you can set it to Yes > > > > from the application. > > > > > > > > Igor > > > > > > > > On Mon, 2005-10-31 at 16:15 +0100, Daniel Gutierrez wrote: > > > > > Thanks... > > > > > > > > > > but i had already put this values in my glade project. In other way, i > > > > > have tried put the values in code and the result is the same: the child > > > > > window is opened out the parent window. > > > > > > > > > > Its possible do that i want in java-gnome? I think that isn't easy... I > > > > > hoped that was than easy like set the parent or childs with a method. > > > > > Why methods like getParent() and not exists setParent()??? > > > > > > > > > > What widgets must put into parent window to contains their childs > > > > > windows?? > > > > > > > > > > Is my point of view completely wrong?? > > > > > > > > > > Is valid to me a link o a document that explains this... I searched into > > > > > API, google... > > > > > > > > > > Sorry for my insistence, but this is becoming something personal... > > > > > > > > > > Thanks in advance!! > > > > > > > > > > > > > > > El lun, 31-10-2005 a las 07:45 -0500, Jeff Morgan escribió: > > > > > > Daniel, > > > > > > > > > > > > The primary way to identify a window as a "parent" is to construct > > > > > > it as a GtkWindow and then use the GtkWindowType GTK_WINDOW_TOPLEVEL. > > > > > > The other windows can be created with the GtkWindowType > > > > > > GTK_WINDOW_POPUP. You will of course have to set the > > > > > > modality based upon your application needs. > > > > > > > > > > > > -Jeff > > > > > > > > > > > > > > > > > > On 10/31/05, Daniel Gutierrez <dan...@gm...> wrote: > > > > > > Thanks Andrew, > > > > > > > > > > > > i think that i don't understand you or i not explain the > > > > > > problem > > > > > > correctly, but i have same problem: i don't know how set the > > > > > > parent > > > > > > window in the application. I don't know if is a property in a > > > > > > Window > > > > > > object or i must set in each soon window who is his parent (i > > > > > > have > > > > > > getParentWindow() method, but not setParentWindow()). > > > > > > > > > > > > I suppose that this is a trivial thing, but after search a lot > > > > > > of time, > > > > > > i not find the solution. > > > > > > > > > > > > Thanks in advance!! > > > > > > > > > > > > El dom, 30-10-2005 a las 19:35 -0500, Andrew Cowie escribió: > > > > > > > On Sun, 2005-30-10 at 19:31 +0100, Daniel Gutierrez wrote: > > > > > > > > > > > > > > > tell to glade which window must be focused when the > > > > > > program starts > > > > > > > > > > > > > > This may not be exactly what you want, but calling > > > > > > Window.present() may > > > > > > > do the trick: > > > > > > > > > > > > > > >From the JavaDoc: > > > > > > > > > > > > > > Presents a window to the user. This may mean raising > > > > > > the window > > > > > > > in the stack order, deiconifying it, moving it to > > > > > > the current > > > > > > > desktop, and/or giving it the keyboard focus, > > > > > > possibly dependent > > > > > > > on the user's platform, window manager, and > > > > > > preferences. If the > > > > > > > Window is hidden it will also call show as well. > > > > > > > > > > > > > > [that's org.gnu.gtk.Window, not org.gnu.gdk.Window]. With > > > > > > any Widget w, > > > > > > > I tend to call > > > > > > > > > > > > > > Window top = w.getToplevel (); > > > > > > > top.present(); > > > > > > > > > > > > > > When using Glade, I usually have Window _top as a class > > > > > > instance > > > > > > > variable that I populate as soon as I get my Glade file > > > > > > open, > > > > > > > > > > > > > > LibGlade glade = new LibGlade(" file.glade", this); > > > > > > > _top = (Window) glade.getWidget("my_window_name"); > > > > > > > ... > > > > > > > _top.present(); > > > > > > > > > > > > > > so that I always have it around. I find I need it a lot. > > > > > > > > > > > > > > AfC > > > > > > > Toronto > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by the JBoss Inc. > > > > > > Get Certified Today * Register for a JBoss Training Course > > > > > > Free Certification Exam for All Training Attendees Through End > > > > > > of 2005 > > > > > > Visit http://www.jboss.com/services/certification for more > > > > > > information > > > > > > _______________________________________________ > > > > > > java-gnome-developer mailing list > > > > > > jav...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by the JBoss Inc. > > > > > Get Certified Today * Register for a JBoss Training Course > > > > > Free Certification Exam for All Training Attendees Through End of 2005 > > > > > Visit http://www.jboss.com/services/certification for more information > > > > > _______________________________________________ > > > > > java-gnome-developer mailing list > > > > > jav...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by the JBoss Inc. > > > Get Certified Today * Register for a JBoss Training Course > > > Free Certification Exam for All Training Attendees Through End of 2005 > > > Visit http://www.jboss.com/services/certification for more information > > > _______________________________________________ > > > java-gnome-developer mailing list > > > jav...@li... > > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > _______________________________________________________ Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ |
From: Spyros S. <fou...@gm...> - 2005-11-03 17:09:13
|
Hi Anthony, you were right, I should have used the full path org.test.Main. I should have thought that it was going to be a stupid mistake. Thank you (and everybody) for your kind help Spyros "Foucault" Stathopoulos On 11/2/05, Anthony Green <gr...@re...> wrote: > > On Wed, 2005-11-02 at 23:13 +0200, Spyros Stathopoulos wrote: > > Hi, again > > > > I think I've found smth here: > > The Main.java class contains the package declaration > > > > package org.test; > > > > When removing it, it seems to compile fine. When put back the linker > > produces the same error. Is there a way to keep the package > > declaration? > > Use --main=3Dorg.test.Main instead of just --main=3DMain. This is a commo= n > error. > > AG > > > |
From: Andrew C. <an...@op...> - 2005-11-03 02:56:58
|
On Wed, 2005-02-11 at 13:20 -0800, Anthony Green wrote: > Use --main=org.test.Main instead of just --main=Main. This is a common > error. ... along with forgetting to put the class in a subdirectory matching its package declaration (Spyros, if you want to keep the package statement, then Main.java has to be in ./org/test assuming . is on your classpath) AfC Bangalore |
From: Andrew O. <ove...@re...> - 2005-11-02 21:32:09
|
Hi, * Spyros Stathopoulos <fou...@gm...> [2005-11-02 11:44]: > > gcj -classpath > /usr/share/java/gtk2.4.jar:/usr/share/gnome2.8.jar:/usr/share/java/glade2.8.jar > -lgtkjar2.4 -lgnomejar2.8 -lgladejar2.8 --main=Main -o Main Main.java > > What I get as a result is: > > /tmp/ccYlRfbE.o(.text+0x30): In function `main': > ccADRhVT.i: undefined reference to `Main::class$' > collect2: ld returned 1 exit status Perhaps add . to the classpath (ie. -classpath <blah>:.)? Andrew |
From: Anthony G. <gr...@re...> - 2005-11-02 21:20:52
|
On Wed, 2005-11-02 at 23:13 +0200, Spyros Stathopoulos wrote: > Hi, again > > I think I've found smth here: > The Main.java class contains the package declaration > > package org.test; > > When removing it, it seems to compile fine. When put back the linker > produces the same error. Is there a way to keep the package > declaration? Use --main=org.test.Main instead of just --main=Main. This is a common error. AG |
From: Spyros S. <fou...@gm...> - 2005-11-02 21:14:00
|
Hi, again I think I've found smth here: The Main.java class contains the package declaration package org.test; When removing it, it seems to compile fine. When put back the linker produces the same error. Is there a way to keep the package declaration? Spyros "Foucault" Stathopoulos On 11/2/05, Spyros Stathopoulos <fou...@gm...> wrote: > > Adam, > > Thank you for your answer however, adding :/. to the end of classpath, so > that the command looks like: > > gcj -classpath > /usr/share/java/gtk2.4.jar:/usr/share/gnome2.8.jar:/usr/share/java/glade2= .8.jar:/. > -lgtkjar2.4 -lgnomejar2.8 -lgladejar2.8 --main=3DMain -o Main Main.java > yields the same result again. > > /tmp/ccYlRfbE.o(.text+0x30): In function `main': > ccADRhVT.i: undefined reference to `Main::class$' > collect2: ld returned 1 exit status > > Spyros "Foucault" Stathopoulos > > On 11/2/05, Adam Jocksch <ajo...@re...> wrote: > > > > Spyros, > > > > You're right, this is a linker error. Try adding ':/.' to the end of > > your classpath and see if that helps. > > > > Adam > > > > Spyros Stathopoulos wrote: > > > > > Hi, > > > I am trying to compile a simple app, which uses Glade with GCJ (GCC > > > ver. 3.3.5 on SuSE 9.3). > > > So I type: > > > > > > gcj -classpath > > > > > /usr/share/java/gtk2.4.jar:/usr/share/gnome2.8.jar:/usr/share/java/glad= e2.8.jar > > > -lgtkjar2.4 -lgnomejar2.8 -lgladejar2.8 --main=3DMain -o Main Main.ja= va > > > > > > What I get as a result is: > > > > > > /tmp/ccYlRfbE.o(.text+0x30): In function `main': > > > ccADRhVT.i: undefined reference to `Main::class$' > > > collect2: ld returned 1 exit status > > > > > > I do not have a clue on what to do from that point. It seems like a > > > linker error (correct me if I am wrong). > > > Do you have any ideas on what to do? > > > > > > Thanx in advance, > > > Spyros "Foucault" Stathopoulos > > > > > > > > > > > > > > |
From: Spyros S. <fou...@gm...> - 2005-11-02 17:59:35
|
Adam, Thank you for your answer however, adding :/. to the end of classpath, so that the command looks like: gcj -classpath /usr/share/java/gtk2.4.jar:/usr/share/gnome2.8.jar:/usr/share/java/glade2.8= .jar:/. -lgtkjar2.4 -lgnomejar2.8 -lgladejar2.8 --main=3DMain -o Main Main.java yields the same result again. /tmp/ccYlRfbE.o(.text+0x30): In function `main': ccADRhVT.i: undefined reference to `Main::class$' collect2: ld returned 1 exit status Spyros "Foucault" Stathopoulos On 11/2/05, Adam Jocksch <ajo...@re...> wrote: > > Spyros, > > You're right, this is a linker error. Try adding ':/.' to the end of > your classpath and see if that helps. > > Adam > > Spyros Stathopoulos wrote: > > > Hi, > > I am trying to compile a simple app, which uses Glade with GCJ (GCC > > ver. 3.3.5 on SuSE 9.3). > > So I type: > > > > gcj -classpath > > > /usr/share/java/gtk2.4.jar:/usr/share/gnome2.8.jar:/usr/share/java/glade2= .8.jar > > -lgtkjar2.4 -lgnomejar2.8 -lgladejar2.8 --main=3DMain -o Main Main.java > > > > What I get as a result is: > > > > /tmp/ccYlRfbE.o(.text+0x30): In function `main': > > ccADRhVT.i: undefined reference to `Main::class$' > > collect2: ld returned 1 exit status > > > > I do not have a clue on what to do from that point. It seems like a > > linker error (correct me if I am wrong). > > Do you have any ideas on what to do? > > > > Thanx in advance, > > Spyros "Foucault" Stathopoulos > > > > > > > > |