Re: [Java-gnome-developer] HTMLView() ?'s
Brought to you by:
afcowie
From: Skip C. <sco...@gm...> - 2004-11-01 01:13:54
|
Hey there, Thanks for the response. I also run gentoo and have tried the cvs and I get this error: -- Running ./autogen.sh in libgtk-java loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for executable suffix... no checking how to run the C preprocessor... cc -E 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 db2html... nocommand checking for docbook2html... /usr/bin/docbook2html checking if /opt/sun-jdk-1.5.0/bin/javac works... yes checking if /opt/sun-jdk-1.5.0/bin/javac works... (cached) yes checking for javadoc... javadoc checking for jar... jar ./configure: line 2420: syntax error: unexpected end of file I have the 2.6.0.1 ebuild installed and working, but am trying to figure this one out. scoon On Sun, 31 Oct 2004 22:11:34 +0100 (CET), ni...@mn... <ni...@mn...> wrote: > I had this same problem (unsatisfiedlinkerror: html_view_new) on my gentoo > box. I never found a fix for it. Some other gentoo users on the list > said it worked for them, however. Since then i have upgraded to use the > CVS version which does not seem to have this problem. > > As for showing an HTML string in an HTML page, for the moment you will > have to save it to a file, then load it into an HTMLDocument object using > the loadFile method. I am working on some improvements to the gtkhtml > library and could add a method to load a page from a String. However, > from what i understand of the release schedual, the current CVS is api > stable so any changes such as this would be added after a stable release > in the next couple of weeks. > > Hope this helps, > nick > > > > > Hey All, > > > > I have captured a string that is nothing more than HTML. What > > object(s) can I use to present that string as a web page ? > > > > > > This code: > > ScrolledWindow swr = (ScrolledWindow) > > this.getWidget("scrolledwindowRight"); > > HTMLView htmlview = new HTMLView(); > > swr.add(htmlview); > > > > > > Gives me this error: > > Exception in thread "main" java.lang.UnsatisfiedLinkError: html_view_new > > at org.gnu.gtkhtml.HTMLView.html_view_new(Native Method) > > at org.gnu.gtkhtml.HTMLView.<init>(HTMLView.java:17) > > at gentoo.GUI.showFeeds(GUI.java:57) > > at gentoo.GUI.<init>(GUI.java:44) > > at gentoo.Main.main(Main.java:28) > > > > The getWidget() is just a shortcut for getting widgets out of glade: > > public Widget getWidget(String widgetName) { > > return libglade.getWidget(widgetName); > > } > > > > Any suggestions. > > > > Thanks in advance. > > > > > > scoon > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > > |