java-gnome-developer Mailing List for The java-gnome language bindings project (Page 129)
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: Clemens E. <Lin...@we...> - 2002-05-13 11:22:51
|
Hello again... Is it also possible to use java-gnome under windows with the windows-version of gtk? Thx Clemens ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 |
|
From: Fernando L. <fer...@lo...> - 2002-05-13 01:12:07
|
Hi there, It's availabe on Brazil the book "Java em GNU/Linux", a book about using Free Software to develop using the Java programming language. Maybe you'll like to put a link on the java-gome page at SourceForge. Portuguese only, until I can find a publisher on the US. :-) The book assumes a very basic knowledge of Java and starts teaching how to install a Java SDK, then how to use SciTE, DDD, GVD, Make and CVS to build a productive development environment. When it talks about GUI develpoment it uses NetBeans and later it talks about Java and native code, where it teaches to use gcj and java-gnome, and the latest chapters are about JDBC (using MySQL and PostgreSQL) and web development (using Apache JServ, GNU JSP and Apache Tomcat). Some sample applications are developed using both swing and GTK+, using both a "standard" (proprietary) JDK and gcj, and using both GUI and web interfaces, so the reader can compare raw performance, ease of programming and different coding styles. The book is availabe from http://www.altabooks.com.br/livro.asp?codigo=85-88745-25-9 The sampe programs are licensed under the LGPL (I tried to use a free publication license for the book contents also, but the local market is too small for a publish to try this). The samples can be downloaded from http://www.altabooks.com.br/downloads/java-lin.zip I think this is an important step for the free software community, because there's lack of books about development using free software, specially from an information systems perspective. I hope all of you who can speack portuguese can read my book and send me feedback, and I hope my book can help corporations apreciate the value of free software. []s, Fernando Lozano |
|
From: Jeffrey M. <ku...@zo...> - 2002-05-12 12:28:09
|
It is possible to put it into the /etc/profile file. Perhaps a more appropriate location would be the ~/.bash_profile file for each user. One other thing, if the shared objects are located in the normal library search path (for example /usr/lib, etc) there will be no need to define this variable. -Jeff On Sat, 2002-05-11 at 20:02, [A]ndy80 - Andrea Grandi wrote: > Hi >=20 > > export LD_LIBRARY_PATH=3D/usr/local/share/java-gnome/lib >=20 > it solved my problem, thank you :) > Is there a way to set that variable permanent? I mean... when I reboot I > lost that setting. Should I put that line in /etc/profile ? >=20 > --=20 > ~ Piccoli Software > =B0 =B0 http://www.piccolisoftware.cjb.net > /V\ pic...@pe... > // \\ > /( )\ [A]ndy80 on #bluvertigo e #pistoia > ^`~'^ an...@pt... - http://www.ptlug.org >=20 > GPG Key: http://www.ptlug.org/andy80_key.asc >=20 >=20 |
|
From: Jeffrey M. <ku...@zo...> - 2002-05-11 23:50:50
|
The reason you are having the problem described below is because the java-gnome shared objects cannot be found and thereby loaded by the jvm. The files are located in the lib directory of the java-gnome distribution. There are two ways you can solve this problem. The easiest is to make sure the directory of these files is in your LD_LIBRARY_PATH. For example, if they are located in /usr/local/share/java-gnome/lib you can define an environment variable like the following: export LD_LIBRARY_PATH=/usr/local/share/java-gnome/lib Another way to solve this problem is to provide the path to the library to the jvm directly. You could type: java -Djava.library.path=/usr/local/share/java-gnome/lib myclass Please let me know if this solves your problem. -Jeff On Sat, 2002-05-11 at 14:30, [A]ndy80 - Andrea Grandi wrote: > After: javac First.java (I get NO errors) > I do: java First > and I get: > > [shady@piccoli java]$ java First > Exception in thread "main" java.lang.UnsatisfiedLinkError: no GTKJava in > java.library.path > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410) > at java.lang.Runtime.loadLibrary0(Runtime.java:772) > at java.lang.System.loadLibrary(System.java:832) > at gnu.gnome.Gnome.<clinit>(Gnome.java:35) > at First.main(First.java:9) > > then I try: > > [shady@piccoli java]$ java -cp /usr/local/share/java-gnome/ First > Exception in thread "main" java.lang.NoClassDefFoundError: First > > what could be the reason? |
|
From: [A]ndy80 - A. G. <an...@pt...> - 2002-05-11 21:12:32
|
Hi > Try java -cp /usr/local/share/java-gnome/:. First I get same error: [shady@piccoli mp3]$ java -cp /usr/local/share/java-gnome/:. First Exception in thread "main" java.lang.NoClassDefFoundError: First --=20 ~ Piccoli Software =B0 =B0 http://www.piccolisoftware.cjb.net /V\ pic...@pe... // \\ /( )\ [A]ndy80 on #bluvertigo e #pistoia ^`~'^ an...@pt... - http://www.ptlug.org GPG Key: http://www.ptlug.org/andy80_key.asc |
|
From: Marshall C. <mar...@ar...> - 2002-05-11 20:14:39
|
Try java -cp /usr/local/share/java-gnome/:. First
On Sat, 2002-05-11 at 14:30, [A]ndy80 - Andrea Grandi wrote:
> I've installed java-gnome 0.7.1 and I've tried this simple piece of
> code:
>=20
> // First we import the libraries used by this example=20
> import gnu.gtk.*;=20
> import gnu.gnome.*;=20
> public class First=20
> {=20
> public static void main(String[] args)=20
> {=20
> // Initialization=20
> Gnome.init("First", "0.1", args.length, args);=20
> GnomeApp app =3D new GnomeApp("First", "First App");=20
> app.setPolicy(false, true, false);=20
> app.setWmclass("First", "FirstApp");=20
> app.show();=20
> Gtk.main();=20
> }=20
> }
>=20
> After: javac First.java (I get NO errors)
> I do: java First
> and I get:
>=20
> [shady@piccoli java]$ java First
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no GTKJava in
> java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410)
> at java.lang.Runtime.loadLibrary0(Runtime.java:772)
> at java.lang.System.loadLibrary(System.java:832)
> at gnu.gnome.Gnome.<clinit>(Gnome.java:35)
> at First.main(First.java:9)
>=20
> then I try:
>=20
> [shady@piccoli java]$ java -cp /usr/local/share/java-gnome/ First
> Exception in thread "main" java.lang.NoClassDefFoundError: First
>=20
> what could be the reason?
>=20
> Some usefull info for you:
>=20
> [shady@piccoli java]$ which java
> /usr/java/j2sdk1.4.0/bin/java
>=20
> [shady@piccoli java]$ java -version
> java version "1.4.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
> Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
>=20
> SUN JDK 1.4.0 for Linux
>=20
> [shady@piccoli java]$ echo $PATH
> /bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/games:/opt/gnome/bin:/usr/=
X11R6/bin:/usr/java/j2sdk1.4.0/bin/:/home/shady/bin:/usr/java/j2sdk1.4.0/bi=
n/:/home/shady/bin
>=20
>=20
> --=20
> ~ Piccoli Software
> =B0 =B0 http://www.piccolisoftware.cjb.net
> /V\ pic...@pe...
> // \\
> /( )\ [A]ndy80 on #bluvertigo e #pistoia
> ^`~'^ an...@pt... - http://www.ptlug.org
>=20
> GPG Key: http://www.ptlug.org/andy80_key.asc
>=20
>=20
> _______________________________________________________________
>=20
> Have big pipes? SourceForge.net is looking for download mirrors. We suppl=
y
> the hardware. You get the recognition. Email Us: ban...@so...=
t
> _______________________________________________
> java-gnome-developer mailing list
> jav...@li...
> https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
>=20
|
|
From: [A]ndy80 - A. G. <an...@pt...> - 2002-05-11 18:41:57
|
I've installed java-gnome 0.7.1 and I've tried this simple piece of
code:
// First we import the libraries used by this example=20
import gnu.gtk.*;=20
import gnu.gnome.*;=20
public class First=20
{=20
public static void main(String[] args)=20
{=20
// Initialization=20
Gnome.init("First", "0.1", args.length, args);=20
GnomeApp app =3D new GnomeApp("First", "First App");=20
app.setPolicy(false, true, false);=20
app.setWmclass("First", "FirstApp");=20
app.show();=20
Gtk.main();=20
}=20
}
After: javac First.java (I get NO errors)
I do: java First
and I get:
[shady@piccoli java]$ java First
Exception in thread "main" java.lang.UnsatisfiedLinkError: no GTKJava in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410)
at java.lang.Runtime.loadLibrary0(Runtime.java:772)
at java.lang.System.loadLibrary(System.java:832)
at gnu.gnome.Gnome.<clinit>(Gnome.java:35)
at First.main(First.java:9)
then I try:
[shady@piccoli java]$ java -cp /usr/local/share/java-gnome/ First
Exception in thread "main" java.lang.NoClassDefFoundError: First
what could be the reason?
Some usefull info for you:
[shady@piccoli java]$ which java
/usr/java/j2sdk1.4.0/bin/java
[shady@piccoli java]$ java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
SUN JDK 1.4.0 for Linux
[shady@piccoli java]$ echo $PATH
/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/games:/opt/gnome/bin:/usr/X1=
1R6/bin:/usr/java/j2sdk1.4.0/bin/:/home/shady/bin:/usr/java/j2sdk1.4.0/bin/=
:/home/shady/bin
--=20
~ Piccoli Software
=B0 =B0 http://www.piccolisoftware.cjb.net
/V\ pic...@pe...
// \\
/( )\ [A]ndy80 on #bluvertigo e #pistoia
^`~'^ an...@pt... - http://www.ptlug.org
GPG Key: http://www.ptlug.org/andy80_key.asc
|
|
From: Jeffrey M. <Jef...@Br...> - 2002-05-10 19:20:05
|
> > Hello! > > 1. I heard, that I could use glade for gui-developing? But > Glade doesnt support java. So have I to do? Glade will produce an xml file that can be used by java-gnome. This is currently not completely working in CVS due to changes in the libglade library. This does work fine in the last release. You can see examples of this under the src/examples/glade and src/examples/glade-gnome directories. > 2. Is java-gnome dead? I saw only very less new messages, the > mailing-list is not very aktiv, and there are not much views > of the site. I think java-gnome is perfect. Especially I can > create programms with java-gtk and gcj that looks similar > with std.gtk apps. plase dont stop development!! I am still developing the bindings. I have been moving very slow lately due to my involvement in two other open source projects. I hope to have my next release which will feature support for GTK2 and GNOME2 out sometime in June. > 3. I'm not very good at coding.But if you want, maybe I can > translate your website into german, and maybe I could write > some german and english dokus when I will be better with java > and java-gtk. I would appreciate any help you can provide. > > Thx Clemens > > ________________________________________________________________ > Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! > Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download > mirrors. We supply > the hardware. You get the recognition. Email Us: > ban...@so... > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
|
From: Clemens E. <Lin...@we...> - 2002-05-10 18:14:00
|
Hello! 1. I heard, that I could use glade for gui-developing? But Glade doesnt support java. So have I to do? 2. Is java-gnome dead? I saw only very less new messages, the mailing-list is not very aktiv, and there are not much views of the site. I think java-gnome is perfect. Especially I can create programms with java-gtk and gcj that looks similar with std.gtk apps. plase dont stop development!! 3. I'm not very good at coding.But if you want, maybe I can translate your website into german, and maybe I could write some german and english dokus when I will be better with java and java-gtk. Thx Clemens ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 |
|
From: Clemens E. <cei...@ut...> - 2002-05-03 20:32:29
|
> You can provide the parameter --with-gcj-compile when you > run the configure script and it will use gcj. You must > have gcj 3.0 or higher. > > -Jeff > Wow, thanks for this fast answer! Great than I can produce native Linux-Apps with this cool Java! Thank you very much! |
|
From: Jeffrey M. <Jef...@Br...> - 2002-05-03 20:05:00
|
You can provide the parameter --with-gcj-compile when you run the configure script and it will use gcj. You must have gcj 3.0 or higher. -Jeff > > Hello Java-GTK Team! > > I'm very new at this newsgroup as you might know... > Please answer me some newbie-question: > > 1. I like the Java-coding very much. Its very easy to use > (thanks for no > pointers - sun!) und you're very produktive. > But I dont like the long startup-time and the very > fading-feeling of swing. > And AWT looks very awful on some platforms (like Unix-Motif ;-( ). > So would it be possible to use java-gtk with gjc. gjc is a real > java-compilier which creates native-code (with > garbage-collector!). But > gcj currently doesnt support nore Swing neither (ok a very > little bit) > AWT. I know that qt-java is currently the only widget-set which is > known to work with gcj, but I dont want to use QT because its > not free > and its soo fat (is this word also avaible in English?). > So is or would it be possible and if not, how much work would > it need to > write such a port? > (Maybe I could help, but my java-knowledge is very small and bad)... > > Thx for your help Linuxhippy > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download > mirrors. We supply > the hardware. You get the recognition. Email Us: > ban...@so... > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
|
From: Clemens E. <cei...@ut...> - 2002-05-03 19:42:09
|
Hello Java-GTK Team! I'm very new at this newsgroup as you might know... Please answer me some newbie-question: 1. I like the Java-coding very much. Its very easy to use (thanks for no pointers - sun!) und you're very produktive. But I dont like the long startup-time and the very fading-feeling of swing. And AWT looks very awful on some platforms (like Unix-Motif ;-( ). So would it be possible to use java-gtk with gjc. gjc is a real java-compilier which creates native-code (with garbage-collector!). But gcj currently doesnt support nore Swing neither (ok a very little bit) AWT. I know that qt-java is currently the only widget-set which is known to work with gcj, but I dont want to use QT because its not free and its soo fat (is this word also avaible in English?). So is or would it be possible and if not, how much work would it need to write such a port? (Maybe I could help, but my java-knowledge is very small and bad)... Thx for your help Linuxhippy |
|
From: Ivan G. <gm...@te...> - 2002-04-25 12:07:28
|
Hello!!!
Now I'm starting with your project (it's cool!!), i usually program with
gnome, but i'm having
problems with your gnome canvas, because it's a bit different that gnome
api. Could you send me
an example for how to use it?
Thanks and sorry for my english ;D
Ivan
|
|
From: Jan B. <J.B...@tu...> - 2002-04-25 09:29:32
|
I ran into problems when I tried to use JavaGTK with a multithreaded Application. Gnome is complaining about a buggy Application (starting bug-buddy) or the Xlib is complaining about async request. It seems to the a problem with the Gtk main lock. I attached a sample application. Any ideas? Regards, jan -- Jan Blunck Technische Universität Hamburg-Harburg J.B...@tu... http://www.tu-harburg.de/~sejb3103/ |
|
From: Jeffrey M. <Jef...@Br...> - 2002-04-12 11:45:20
|
I just added a crippled version of GtkTreeStore. This area of the code is really bad and I really need to readdress this entire hierarchy. Currently GtkTreeModel is not an interface in java-gnome and that is why you do not see it as an interface in the javadocs. By tomorrow I hope to have this cleaned up. -Jeff > GtkTreeModel is an interface that has two implementations: > GtkListStore and GtkTreeStore. I get an error trying to > instantiate GtkListStore and I cant find GtkTreeStore at all!? >=20 > btw. is there some way to make the javadocs show that > GtkTreeModel is an interface? >=20 > - S=F8ren >=20 >=20 >=20 > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >=20 |
|
From: Jeffrey M. <Jef...@Br...> - 2002-04-12 11:20:21
|
My current focus is on the next release (0.8) which is my first release supporting GTK 2 and GNOME 2. I still have to fix bugs and examples that stopped working with the new APIs, write new examples to demonstrate new capabilities, and update the documentation. Perhaps this widget can be added to the next release. > > > Do you plan to support the Scintilla widget in the future? > > > If so do you think it's possible to integrate it into your code > > > generation or is this all manual work? > > > IMHO a little editor would be a nice way for me to get > started with > > > java-gtk. > > > > I am not familiar with the Scintilla widget. > > Is this widget included with the standard GTK/GNOME? > > I don't think so but quite a few (even commercial like > ActiveState's Komodo) apps rely on it. > > > Where can I read about it? > > http://www.scintilla.org > > > I will be adding examples demonstrating the new Text widget > > sometime this week. It is a very robust widget and you might > > be able to use it for your little editor. > > I don't know much about the gtk text widget but from what gtk2's > gtk-demo shows me it looks very powerful too. > > > > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
|
From: <bi...@ma...> - 2002-04-11 21:38:08
|
GtkTreeModel is an interface that has two implementations: GtkListStore and GtkTreeStore. I get an error trying to instantiate GtkListStore and I cant find GtkTreeStore at all!? btw. is there some way to make the javadocs show that GtkTreeModel is an interface? - S=F8ren |
|
From: <bi...@ma...> - 2002-04-11 20:40:09
|
> Subject: [Java-gnome-developer] Scintilla (again?)
>=20
> Hello!
>=20
> I recently discovered this project and like it very much.
> Your brand new gtk2 bindings built well on my machine so there shouldn't
> be anything that stops me from playing around.
>=20
> Do you plan to support the Scintilla widget in the future?
> If so do you think it's possible to integrate it into your code
> generation or is this all manual work?
> IMHO a little editor would be a nice way for me to get started with
> java-gtk.
Here's a little editor using the gtk2 widget called GtkTextView.
(Jeff: maybe this could be used as an example in java-gnome, unless
you already something better showing textview?)
- S=F8ren
import gnu.gdk.*;
import gnu.gtk.*;
public class Editor {
public Editor() {
GtkWindow window =3D new GtkWindow(GtkWindowType.TOPLEVEL);
window.setTitle("Editor");
window.setDefaultSize(500, 380);
window.signalConnect("destroy", "mainQuit", Gtk.class);
String text =3D "This is a test";
GtkTextBuffer textBuffer =3D new GtkTextBuffer(new GtkTextTagTable());
textBuffer.setText(text, text.length());
GtkTextView textView =3D new GtkTextView(textBuffer);
=09
GtkScrolledWindow scrolledWindow =3D new GtkScrolledWindow();
scrolledWindow.add(textView);
window.add(scrolledWindow);
window.showAll();
Gtk.main();
}=20
public static void main(String[] args) {
Gtk.init(args.length, args);
Editor editor =3D new Editor();
}
}
|
|
From: Robert S. <ro...@st...> - 2002-04-11 15:39:34
|
> > Do you plan to support the Scintilla widget in the future? > > If so do you think it's possible to integrate it into your code > > generation or is this all manual work? > > IMHO a little editor would be a nice way for me to get started with > > java-gtk. > > I am not familiar with the Scintilla widget. > Is this widget included with the standard GTK/GNOME? I don't think so but quite a few (even commercial like ActiveState's Komodo) apps rely on it. > Where can I read about it? http://www.scintilla.org > I will be adding examples demonstrating the new Text widget > sometime this week. It is a very robust widget and you might > be able to use it for your little editor. I don't know much about the gtk text widget but from what gtk2's gtk-demo shows me it looks very powerful too. |
|
From: Jeffrey M. <Jef...@Br...> - 2002-04-11 14:05:53
|
> I recently discovered this project and like it very much. > Your brand new gtk2 bindings built well on my machine so > there shouldn't > be anything that stops me from playing around. Thanks, I try 8-) > Do you plan to support the Scintilla widget in the future? > If so do you think it's possible to integrate it into your code > generation or is this all manual work? > IMHO a little editor would be a nice way for me to get started with > java-gtk. I am not familiar with the Scintilla widget. Is this widget included with the standard GTK/GNOME? Where can I read about it? I will be adding examples demonstrating the new Text widget sometime this week. It is a very robust widget and you might be able to use it for your little editor. > PS: I must admit that I didn't read the whole archive and I didn't > figure out how to search the geocrawler lists yet so please > bear with me > if this topic has already been discussed before. > |
|
From: Robert S. <ro...@st...> - 2002-04-11 13:17:43
|
Hello! I recently discovered this project and like it very much. Your brand new gtk2 bindings built well on my machine so there shouldn't be anything that stops me from playing around. Do you plan to support the Scintilla widget in the future? If so do you think it's possible to integrate it into your code generation or is this all manual work? IMHO a little editor would be a nice way for me to get started with java-gtk. Regards, Robert PS: I must admit that I didn't read the whole archive and I didn't figure out how to search the geocrawler lists yet so please bear with me if this topic has already been discussed before. |
|
From: <bi...@ma...> - 2002-04-04 16:27:35
|
I was missing gtk2-devel rpm package where the *.pc file is included. Its compiling fine now. Søren > All of the GTK 2 and GNOME 2 libraries now use pkg-config for > configuration. pkg-config uses a series of files that define > dependencies and locations for shared objects and header files. > It looks like pkg-config cannot find its' configuration file > for GTK 2. The config files are typically stored in the > /usr/lib/pkgconfig directory. > > -Jeff > |
|
From: <bi...@ma...> - 2002-04-04 16:27:22
|
I was missing gtk2-devel rpm package where the *.pc file is included. Its compiling fine now. Søren > All of the GTK 2 and GNOME 2 libraries now use pkg-config for > configuration. pkg-config uses a series of files that define > dependencies and locations for shared objects and header files. > It looks like pkg-config cannot find its' configuration file > for GTK 2. The config files are typically stored in the > /usr/lib/pkgconfig directory. > > -Jeff > |
|
From: Jeffrey M. <Jef...@Br...> - 2002-04-02 17:25:51
|
All of the GTK 2 and GNOME 2 libraries now use pkg-config for configuration. pkg-config uses a series of files that define dependencies and locations for shared objects and header files. It looks like pkg-config cannot find its' configuration file for GTK 2. The config files are typically stored in the /usr/lib/pkgconfig directory. -Jeff >=20 > I have gnome 2 up and running, but the java-gnome configure script > from cvs cant find gtk+ 2.0. Could it have something to do with > installing gnome 2 through red-carpet, rather than building it from > tars? >=20 > This is the output from ./configure: >=20 > [benny@localhost java-gnome]$ ./configure = --libdir=3D/home/benny/gcc/lib > --with-gcj-compile --with-gcj-prefix=3D/home/benny/gcc > loading cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for a BSD compatible install... /usr/bin/install -c > checking for java... /usr/java/jdk1.3.1_02/bin/java > checking for Java - version >=3D 1.1.7... yes > checking for javadoc... /usr/java/jdk1.3.1_02/bin/javadoc > checking for javac... /usr/java/jdk1.3.1_02/bin/javac > checking for java... (cached) /usr/java/jdk1.3.1_02/bin/java > checking for jar... /home/benny/gcc/bin/jar > checking for main in -libs... no > checking for pkg-config... /usr/local/bin/pkg-config > checking for gtk+-2.0 >=3D 2.0... Package gtk+-2.0 was not found in = the > pkg-config search path. > Perhaps you should add the directory containing `gtk+-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gtk+-2.0' found >=20 > configure: error: Library requirements (gtk+-2.0 >=3D 2.0) not met; > consider adjusting the PKG_CONFIG_PATH environment variable if your > libraries are in a nonstandard prefix so pkg-config can find them. >=20 >=20 >=20 > note: the file gtk+-2.0.pc is no where on my system. >=20 > S=F8ren >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >=20 |
|
From: <bi...@ma...> - 2002-04-02 10:03:27
|
I have gnome 2 up and running, but the java-gnome configure script from cvs cant find gtk+ 2.0. Could it have something to do with installing gnome 2 through red-carpet, rather than building it from tars? This is the output from ./configure: [benny@localhost java-gnome]$ ./configure --libdir=3D/home/benny/gcc/lib --with-gcj-compile --with-gcj-prefix=3D/home/benny/gcc loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for java... /usr/java/jdk1.3.1_02/bin/java checking for Java - version >=3D 1.1.7... yes checking for javadoc... /usr/java/jdk1.3.1_02/bin/javadoc checking for javac... /usr/java/jdk1.3.1_02/bin/javac checking for java... (cached) /usr/java/jdk1.3.1_02/bin/java checking for jar... /home/benny/gcc/bin/jar checking for main in -libs... no checking for pkg-config... /usr/local/bin/pkg-config checking for gtk+-2.0 >=3D 2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found configure: error: Library requirements (gtk+-2.0 >=3D 2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. note: the file gtk+-2.0.pc is no where on my system. S=F8ren |