uires more
memory - somebody wondered about that a few days ago with respect to TYA).
Again, just my two cents, your milage may vary, and that's fine with me..
--
Peter Mehlitz Tel: +1 510 704 1660
Transvirtual Technologies, Inc., Fax: +1 510
usable (with some modifications) even if you - for
some reason - don't want to use Kaffe. It isn't complete yet (we first have to
deal with some nasty swing things until we do this), but at least it is a good
starting point.
-- Peter
--
Peter Mehlitz Tel: +1 510 704 1660
ht be wrong?
Thanks!
---
/ Peter Schuller
"I am Gates of Microsoft. You will be assimilated. We will add your currency to
our own. Your computer will adapt to service us. Resistance is futile."
---
WWW: hem.passagen.se/petersch/
from where. (The "*" just is a problem.)
>
> Personally, I never use that. I have an editor that makes life easier
> and I can type rather quickly, so I have fully qualified names on all
> classes that are outside of the package that the source is in. It also
> means tha
What is the meaning of url.toExportedForm() from image contained in JAR
called something like this?
systemresources://FILE1/+/images/new.gif
I had a lot of trouble reading image file (GIFs) from JARs.
I keep get a stack trace:
Have a FuNkiNG good time
Peter
--
import java.std.disclaimer
ytes);
}
catch (IOException ex) {
System.err.println( getClass().getName()+".getImageData: failed to load image
from URL: " + url_image );
}
if (imageBytes != null)
System.out.println( "imageBytes.length =" + imageBytes.length );
return (imageBytes
the problem is
actually something else.
Thanks!
---
/ Peter Schuller
PGP signature
needed to be supported by the X server.
As for the JDK 1.2 problem... Well, I've been able to run examples using
Netscape Communicator, so I figured it would at least work partially.
Argh... And I was so excited about finally finding an OO 3D lib :)
---
/ Peter Schuller
I am Billgatus of Bo
alpha For DEC Alpha
commonDon't know (never looked)
i386 PC version(this is the one you want)
mklinux For Apple Power PC
sparclinuxFor Sun Sparcs
At 12:32 PM +1100 28/5/98, Umesh Harigopal wrote:
>I am trying to download JDK 1.1.5 v7 for Linux.
>But I
> I had received more than 75 megabytes! Something was wrong, right?
Here's mine:
13790029 May 5 12:06 jdk1.1.5-v7-libc5.tar.gz
---
/ Peter Schuller
"Smith & Wesson - the original point'n'click interface!"
---
WWW: hem.pass
Dear Peter,
I had the same problem initially with tya 0.7. I fixed it by including the /bin directory in my path. If you look in the configure file, it's trying to
find the java executable by using the which command. If the java executable isn't
in your path, you get the message you
r, etc. as
THEY upgrade.
Peter Johnson [EMAIL PROTECTED]
Glenn Valenta wrote:
> When I compile application(not applets) examples out of most of my
> books, (Java-how to program) I get the error ...
>
> "Addition.java uses a deprecated API.
> Recompile with "-deprec
> Where can i find a good and easy t understand tutorial for java except
> that in http://java.sun.com??
Here's one:
http://sunsite.unc.edu/javafaq/javatutorial.html
/ Peter Schuller
---
WWW: hem.passagen.se/petersch/ (m
rianCalendar () ;
timeout.add (GregorianCalendar.SECOND, 5) ;
while (true) {
timenow = new GregorianCalendar () ;
if (timenow.after (timeout)) {
... do whatever ...
timeout = new GregorianCalendar () ;
timeout.add (GregorianCalendar.SECOND, 5) ;
}
... do other stuff ...
}
Peter
[EMAIL PROTECTED]
lternatively, I might, and that's a big MIGHT, get a commercial IDE,
if there is one that runs on Linux, and that I find worth paying for.
/ Peter Schuller
"You can do better with a kind word and a shotgun than with a kind word
alone..." (reputedly said by Al Capone!)
---
Ulrich Kortenkamp wrote:
> Giju> I tried to install jdk1.1.6 in my linux machine but it was
> Giju> giving some errors which is reported here: I am usning red
> Giju> hat linux. Please look into the matter.
>
> This seems to me to be related to the shell problem several people
> en
rses.so.3.0)
>
I've never seen this before, but it looks like you're missing a library or two.
Hope this helps.
Peter Johnson
[EMAIL PROTECTED]
Do you remember which version of lesstif-current you used? My tests
are based on 1.18 with last change in ChanageLog done on 1998/03/24 23:00:45.
cheers - Peter
--
Peter Ziobrzynski, http://www.pzi.net <[EMAIL PROTECTED]>
Yes, emacs, xemacs, and vi are all available for NT (I use emacs at work
on NT) however the xemacs port is still not very stable. The JDE should
work unless you have emacs 2.04 (or whatever is the current beta release
of emacs.) So get the previous 19.x one.
Also, if you're interested in other
Liam Magee wrote:
I don't know about either of the two editors mentioned, but I've been
using emacs and xemacs for quite a while and I don't see any reason to
switch, excepting of course, that emacs editors seem to be carpel-tunnel
inducing.
peter
>
> Hardly on top
Steve Cohen wrote:
>
> I have been using SlickEdit (and its successor Visual Slick Edit) on DOS and
> Windows platforms for almost 10 years. I swear by them. You can configure it to
> just about any keystroke configuration you wish - vi, emacs, cua, your own
> hybrid. Plus you get a lot of bel
f. Whenever I ran AWT apps (which includes Swing), nothing would
happen, or on rare occasions the thing would start, but crash in the next 10
seconds as soon as I did something to the GUI...
In any case, I didn't have the same problem with 1.1.5v7. But why not get the
latest? 1.1.6v2.
/ Peter Schuller
ideas ?
I ran Steve's collection script and put the results in java-debug.log.gz
(expands to 180k!)
Cheers
Peter
--
import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!"
Peter Pilgrim Dept:OTC Derivatives IT,
Deutsche Bank (UK) Ltd, Groundfloor
load the glibc version. If you see
"glibc" somewhere, then libc/glibc incompatibility isn't the source of the
problem.
/ Peter Schuller
ell whether this is a driver problem, a Java problem (the infamous green
threads) or what. When I run client and server on the same machine, the sockets
work correctly; i.e.: when a client exits, the server immediately gets a broken
pipe on write() and eof on read; same for client if the server exits.
d red, green, blue, alpha
in a class of your own that is declared serializable. Another way to do it
is to paint the image on a Canvas (or other component) and serialize that,
since all components are serializable.
Hope this helps,
Peter Johnson
[EMAIL PROTECTED]
Stefano Fratini wrote:
> Hall
h an audio tool works fine.
>
> Somebody a clue?
Why do call AudioPlayer.stop() ?
AudioPlayer.start() - implicitly spawns a thread to send the audio data to
the audio device via a stream buffer.
Calling AudioPlayer.stop() - terminates the thread, n'est pas ?
Unless your program exits so
s
the chances of me buying it are rather slim then...
/ Peter Schuller
PGP signature
unning System.gc() after all references to the object are null. This
should force the finalizer to run.
hopr this helps
Peter Johnson
[EMAIL PROTECTED]
ing.
But I think it looks very promesing, and hopefully, in time, it'll be my IDE of
choice.
/ Peter Schuller
PGP signature
d the name) are 8Kb and the previous jdk1.1.6.v2.diffs for v2
where 120Kb.
I take the patches are no longer cumulative but incremental. Can you confirm or
deny?
- Peter
Karl Asha wrote:
>
> NOTE: The JDK may take a few hours to appear on the mirror sites. Please
> be patient.
&g
This was a good question posted to me. I do not know the answer.
How do you set the title for a dockable JToolbar frame?
By default I see it has ``AWTApp''.
Cheers
Peter
--
import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!"
Peter P
d.
Does any one know the cure for this weird behaviour?
Cheers
Peter
--
import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!"
Peter Pilgrim Dept:OTC Derivatives IT,
Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX
Tel: +44-545-8000
BC driver for MySql
Probably at `http://www.tcx.se/' under contributed software.
I dunno which JDBC is best, though
Cheers
Peter
--
import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!"
Peter Pilgrim Dept:OTC Derivatives IT,
Deutsche Bank (UK) Ltd, Gr
ss
JSRCS1 = \
xenon/util/ApplicationResources.java \
test.java
# Set up Java compiler and flags
JAVAC = javac
JAVAC_FLAGS = -deprecation -g
# Add the suffixes
.SUFFIXES: .class .java
#
# Rule to compile `java' files
#
.java.class:
$(JAVAC) $(JAVAC_FLAGS) $<
ke correctly), in that if I use the -d option and use a
> > > separate .class directory tree, make doesn't recognize the up-to-date
> > > files there and recompiles everything anyway. I can never get the
> > > "Nothing to be done for `CLASSES'&quo
dynamic status on the web via a browser. The only problem is that
java does not handle system interrupts or external stimuli well enough.
It does not have to be 100% Java. It will have to work on Solaris 2.5+ boxes though
Any ideas appreciated.
Have a FuNkiNG good time
Peter
--
import
at AudioPlayer plays onlu sun audio files at 8000Hz.
You can find out the length of the audio clip by getting the size of the file or
from the side of the AudioData's buffer.
Therefore you can predict the time that a sample will finish playing.
Have a FuNkiNG good time
Peter
--
import java
head *
> > I have a huge script that run configurable batch jobs sequently over several hours.
> > I would like to rewrite the damn thing in Java, so that I could write module
> > to display dynamic status on the web via a browser. The only problem is that
> > java does not
Last week Trent Jarvi wrote:
> http://www.interstice.com/~kevinh/projects/javasignals/index.html
Hi Kevin
I will let you know if I get this working with Solaris,
but it is low priority at the mo ...
Cheers
Peter
--
import java.std.disclaimer.*; // "Dontcha just love
small preloader, that can display some more custom
> "loading..."-Messages while the main part of the application is loaded
> from a huge jar-file.
> But i don't want to load ALL classes at startup.
> Some classes should be loaded on demand from a server.
> I think i m
Juergen Kreilender wrote:
> >>>>> peter pilgrim writes:
>
> > I have had an irritating long term low priority problem with
> > applications built with a static Motif library. When application
> > display a XmTextWidget, the [RETURN] does not work
You will probably need the specify the other jars in Swing too in your
classpath. For example motif.jar swing.jar windows.jar too
__ Reply Separator _
Subject: help with swing!
Author: psteele ([EMAIL PROTECTED]) at lon-mime
Date
Where can I find libBrokenLocale.so?
"One. Two. Three. Hit it!" James Brown
Is the source code available, because I have Slackware 3.5 not RHL.
__ Reply Separator _
Subject: Re: Where Can I find libBrokenLocale.so ?
Author: javanews ([EMAIL PROTECTED]) at lon-mime
Date:30/09/98 10:38
On RedHat 5.0 its in
Unfortunately I could find any thing at sunsite.doc.ic.ac.uk/pub/linux
Could you be more specific?
__ Reply Separator _
Subject: Re: Where Can I find libBrokenLocale.so ?
Author: javanews ([EMAIL PROTECTED]) at lon-mime
Date:
The $1 and $2 are inner classes
This is how the Java Compiler generates Anonymous Inner classes.
So on a linux environment you do need them.
May when you copy these filenames the result is garbage filenames.
For this reason it is better to package all `
When I last looked I could not see in jdk-1.1.6v2.
I can think you should create a new text file called `PROBLEMS'
to focus the naive installer attention. Put also the bugfixes and
remedies in this file and put a ptr in the README.linux file.
Pete
__
You can also get the classpath from SystemProperty( "java.classpath" )
or something like that.
Then use you write a PathnameResolve sth that search for the classes
by looking at each of the separated directory. You could use
the StringTokenizer(":") to get each direc
No my problem was getting the [RETURN] key to produce newlines
in a XmTextWidget (Motif Toolkit as used in the JDK).
The only trick that did it for me was Emacs Control-J ;-)
It is a bit of nuisance not having the Return key work in any
apps that have statically linked Mot
So I am afraid you must become one with "ClassLoader" (and maybe also
the "SecurityManager") class somewhere a long the line(!).
__ Reply Separator _
Subject: Re: Dynamic modification of CLASSPATH
Author: Michael.Sinz ([EMAI
Create a shell script to call `java Example' for you a la
#!/bin/sh
# Set up any defaults just in case
: ${JAVAVM:=java|kaffe|jikes}
: ${CLASSPATH:=/whatever/man}
: ${SWING_HOME:=/you/know/what/time/it/is}
export SWING_HOME CLASSPATH
${JAVAVM} Example
Yes I had audio clips in application being garbled and looping at
arbitary points for odd reasons (bad for java games).
I thought it was because the data was never being completely loaded.
Ah, maybe I should look `MediaTracker'. Implement Audio version of
Swing/JFC ImageI
editor.I am trying to get it to work but to no avail.I keep
getting lots of error.If someone out there maybe he/she can help me.
Peter are you in here?I cannot login into a database...:(
thanks
regards
duan
Have try running your X in 16 bit colour mode!
runx -- bpp16 --
Or something like that
__ Reply Separator _
Subject: Re: Hogging colours?
Author: sbb ([EMAIL PROTECTED]) at lon-mime
Date:08/10/98 07:4
I was looking at the Kim Topley "Core JFC" book particularly a
convenience class to swith the Swing/JFC PL&F (Chapter 13)
the other day I found it was declared like ?
protected static class SwitchPLAFClass {
private Frame f;
Ah ha! that would explain the current problem I have on my old fvwm2.0
stuff.
ALT - CURSOR KEYS shift across Virtual Screen
Look at the File menu title, set if the F is underlined.
Look at the Ok button see if the o is underlined.
I had a problem a few mo
Weirdo
So public static SwitchPLAFAction { ... } is a just java object class
that is really instantied just once, like some sort of singleton?
Actually I have used a modified version of the ActionEvent class from
Kim Topley "Core JFC" example in Xsql
I think I am fast asleep of course it is STATIC MEMBER.
__ Reply Separator _
Subject: Re: Java language question: static classes ?
Author: Peter Pilgrim at London
Date:16/10/98 13:11
Weirdo
So
as I said, I haven't figured all these autoconfig stuff out yet, so I don't
know where to edit Makefile templates and stuff to replace is with the real path
to the JDK.
Anyone?
I'm using TYA 06. I know 07 is out and I'll download it ASAP. But this problem
will most like
ssue, but somewhat annoying.
PS.
Does anyone know a mailinglist dealing with Java in general?
DS.
/ Peter Schuller
---
WWW: hem.passagen.se/petersch/ (might change)
---
PGP public key: Availa
Could this be something to do with the BrokenLocale.so which I have
never been able to find for Slackware 3.x ?
Incidentally I installed KDE1.0 over the weekend, and I can verify that
the mnemonic also dont work there too.
Pete
__ Reply Se
Thanks that is the correct answer for "static inner class".
With ordinary non-static inner class there is a hidden reference to
the outer class. Declaring an inner class static removes this hidden
reference. The static inner class becomes referable in global scope
You CLASSPATH should be defined in your shell like this:
JAVA_HOME=/usr/local/jdk1.1.6
SWING_HOME=/usr/local/swing-1.0.3
CLASSPATH=.:${SWING_HOME}/swing.jar:${SWING_HOME}/motif.jar:${SWING_HO
ME}/metal.jar:${SWING_HOME}/window.jar:${SWING_HOME}/beaninfo.j
__ Reply Separator
_
Subject: Re: Java language question: static classes ?
Author: mlorton ([EMAIL PROTECTED]) at lon-mime
Date:19/10/98 19:16
> Thanks that is the correct answer
This is how the author of Xsql (moi) has set up the CLASSPATH
at work with ``sparc-sun-solaris2.5.5''
# Filename: `~/.kshrc'
# Environment file for the Korn Shell
# Peter Pilgrim
# 31/12/1997
# Java Developer Kit Root Directory
Aaaah, Schei**er!!
Rainer you are quite correct:
http://java.sun.com/products/jfc/CHANGES.txt-1.1beta3
~~
For Xsql 2.1.7p01 you need Swing 1.1 beta 2
_
Subject: Re: Swing 1.0.3
Author: Peter Pilgrim at London
Date:20/10/98 12:17
Aaaah, Schei**er!!
Rainer you are quite correct:
http://java.sun.com/products/jfc/CHANGES.txt-1.1beta3
1.0.3
Author: Peter Pilgrim at London
Date:20/10/98 12:17
~~
For Xsql 2.1.7p01 you need Swing 1.1 beta 2
~~
But you may as well
reload, or alternately, shut down Netscape and restart it.
Peter
At 2:46 AM +1100 21/10/98, Georgios Y Lazarou wrote:
>Hi,
>
>I have the following problem with applets and netscape:
>
>Linux: slackware 3.5
>Java: jdk1.1.6.v2
>Netscape 4.07
>
>when I load for the first time one of
Another thing that bothers me: In my linux-jdk1.1.6v2 pressing return
in a TextArea (or JTextArea or even Netscape Navigator ) does produce
a newline. Is this a related problem?
Some one did mention to check out libBroken.so but I could not find it
in the Slackwar
under Linux Java?
Author: Peter Pilgrim at London
Date:21/10/98 11:30
Another thing that bothers me: In my linux-jdk1.1.6v2 pressing return
in a TextArea (or JTextArea or even Netscape Navigator ) does produce
a newline. Is this a related problem?
Some one did menti
Thanks for the info.
At work `sparc-sun-solaris2.5.5' with CDE I can copy+paste from a
dtterm in to a Swing JTextArea. I have not found a way to copy from
GNU Emacs 20.2 into a JTextArea yet.
However using xcutsel -sel CLIPBOARD and pressing the button [copy
Sun has just given a license to port JDK 1.2 to Linux.
Point your fav browser at http://lwn.net/daily/java.html
Pete
PS: Any plans for distribution on CD ROM?
__ Reply Separator _
Subject: JDK1.2 Port to Linux?
Auth
[THIS IS JAVA LINUX, MATE]
But I can whole heartily recommend spending 55 GBP British Pounds on
Partition Magic 3.0, because you can repartition your hdd without
having reinstall W95/NT. It works much much better than FIPS and it
works with the new VFAT oSR2 form
Where are your X Window Libraries?
Everyone has them set a /usr/X11R6/lib
Set the library LD_LIBRARY_PATH=/usr/X11R6/lib:
or set up `ldconfig' by editing your `/etc/ld.so.config'
file.
What distribution do you have Slackware or Red Hat ?
I cannot confirm it or deny it.
This is quite disappointing, and I suppose it has grave consequences
for (forthcoming) Drag and Drop API in JFC1.2/JDK1.2
Pete
__ Reply Separator _
Subject: Re: Clipboard
What is your problem ? Compiling MySQL out of the box or Compiling a
JDBC driver ?
Why are trying to compile the JDBC driver? You should not need to compile it.
The JDBC driver that I have come across have been precompiled. Therefore you
should just install it on your system
No. Swing 1.0.3 should have the older com.sun.java.swing which is
correct.
I dont think the order of the swing and JDK jar file in the CLASSPATH
will make any difference, but perhaps you should put the `period'
`dot' at the front of your CLASSPATH .
Do
What is the compilation error ?
__ Reply Separator _
Subject: JFC Compiling problems?
Author: sgee ([EMAIL PROTECTED]) at lon-mime
Date:30/10/98 19:35
Any reason why I can run ". runnit" from the SwingSet directory, but can'
Did anyone solve the Netscape 4.0x bug/feature where you could NOT get
an Applet to restart by hitting the [RELOAD] button?
Pete
Thanks a lot mate!
__ Reply Separator _
Subject: RE: Netscape Reload Java Applet; Was there a soln?
Author: TRAM.N.NGUYEN ([EMAIL PROTECTED]) at lon-mime
Date:04/11/98 17:54
There's workaround for that problem . [Shift key +
a:81)
>
> Any suggestions?
>
> Nick Matsakis
I'm not 100% sure, but I believe you have to use -PIC (position independent code)
flag on the compile.
Peter Johnson
[EMAIL PROTECTED]
Have you tried the list of 3rd party drivers at
http://www.javasoft.com/products/jdbc/jdbc.drivers.html ?
__ Reply Separator _
Subject: JDBC on Linux
Author: carlos ([EMAIL PROTECTED]) at lon-mime
Date:09/11/98 16:51
I have
In Swing 1.1 Beta 2 the CDE/Motif PLAF seems to put a large gap size
or interspacing between components.
I have a three JButtons with an image icon aligned right and text
label aligned to the right inside of a normal JPanel. The JPanel is
managed by a custom row c
I read somewhere that Thread.stop() is now deprecated. Now how on
earth do we stop a thread ?
I thought the solution would be Thread.interrupt()
but that only works when the thread is sleeping, at least in JDK 1.1
documentation.
I do not have the JDK 1.2 to ha
Ok fair enough you can periodically check at interval on synchronised boolean to
cancel an operation. But I am disappointed.
The reason why I asked is because I use the JDBC. The current JDBC API does not
allow the operator to have a callback or to read selective rows from the
database. In oth
Pass! I have no idea. But it is not really useful in a GUI.
[EXECUTE] SQL query[ABORT] SQL query
What timeout should I have set BEFOREHAND.
Should it be 1 ms , 1sec , and 1 hour
For a non-deterministic application like an event driven GUI.
ocs/guide/jdbc/spec2/jdbc2.0.frame5.ht
ml
Over to all you JDBC implementors
Pete
__ Reply Separator _
Subject: Re: Deprecated `Thread.stop()' in forthcoming JDK 1.2. Wh
Author: Peter Pilgrim at London
Date:13/11/98 18:00
This is already failed project, unless you add custom JNI, because
``File'' class does not support all types of file. e.g. Can I execute
a file? Is it a symbolic link? Is it character device? Sacrifice for
maximum portability.
Pete
__ Reply
Absolut Nonsense.
Have you tried using one of the examples from the JDK demos, if you downloaded
them. I think one of the applets in the Graphics subdirectory has something
which plays audio sounds.
Is your sound card properly configured. The only game I know that used sound was
`XGalaga'. I t
Is your Sound card set up such that it conforms to the Sound-HOW-TO
LDP document.
I presume that `/dev/dsp' symbolicly links to `/dev/dsp0' and
`/dev/audio' symbolicly links to `/dev/audio0' or something similar.
If this is true `cat chirp.au > /dev/audio' wi
1) There is a problem with XFree86 that prevents top level accelerators
being installed. I believe this with Metrolink X server with any problem.
Mind you I have the exact same problem on
sparc-sun-solaris-2.5.1-cde-motif1.2-jdk1.1.6-swing-1.1-beta-2
2) I think you can override the installed P
es from JavaSoft:
http://java.sun.com/products/jfc
You can find out the lastest information about Swing from JavaSoft's
Web site, The Swing Connection:
http://java.sun.com/products/jfc/tsc/
Enjoy baby bop.
Peter A. Pilgrim
Member of the Association of C/C++ User gro
SunSoft[tm] maintains a list of JDBC drivers from a number of third party
vendors on it web pages See the following URL for a list of JDBC drivers
provided:
http://java.sun.com:80/products/jdbc/jdbc.drivers.html
__ Reply Separator
_
Check your CLASSPATH. It must indicate the zip file or jar file which contains
the `oracle.jdbc.driver.OracleDriver.class'.
Pete
__ Reply Separator _
Subject: Re: Linux + java + oracle
Author: duan ([EMAIL PROTECTED]) at lon-mime
Date
In fact the JDBC provides anyway to handle this in `Statement.cancel()'
which allows an executed SQL query or update to be halted from _another_
thread. In other words the CancellableThread or equivalance is the
responsibility of the JDBC driver implementor not the JDBC user. Careful
programmi
I have a whiteboard edition of Together/C++ for NT4.0 at work. I thought
that you had to explicitly get TC++ to scan by choosing the menuitem from
the menu bar. First, I did not know it did not worked in parallel with
other tools?! Are you using TJ's built in editor to work? Don't. Get
Emacs
On my netscape 4.05 at home (and at work) I had put
`${MOZILLA_HOME}/java/classes/java40.jar' explicitly in my ``CLASSPATH''
environment variable. (preferably set this in my ~/.tcshrc)
Pete
__ Reply Separator _
Subject: why cant my ne
Try `http://www.javasoft.com/products/jfc'. Swing/JFC is 100% pure Java so you
just need to download the zip file from JavaSoft after you registerly freely
with them. I would advise you to get the Swing/JFC 1.1 Beta 3
Pete
__ Reply Separator
1 - 100 of 476 matches
Mail list logo