I just upgraded to the jdk117_alpha21164a_bin and am having trouble
with some of the demo programs seg faulting or aborting while using
SWiM Motif.
They all work fine when I set my LD_LIBRARY_PATH to use lesstif 0.87.
So this is not a critical bug. But it is interesting nonetheless.
An examp
On Fri, 13 Nov 1998, Rudhuwan Abu Bakar wrote:
>
> hello
>
> sorry for this.
>
> Where can I get a type 4(?) JDBC driver? I am testing an Oracle server and
> want to use a Java-based client.
>
> Thank you for your time.
>
> regards
> duan
>
I believe Oracle includes their JDBC driver with
On Fri, 13 Nov 1998, Urban Widmark wrote:
> I believe Oracle includes their JDBC driver with the database, and that it
> is a pure java driver. (I'm more certain of the first than the last).
Yes, this is correct. We have Oracle system 8 and it includes JDBC
drivers, which are 100% pure Java. Thi
> >I also want to ask everyone there to *please* skip all the irrelevant
> >when they include a message for a reply...
> sound nice, but how are you going to define "irrelevant", e.g. which
> part of your message should I leave out ??
Leave just enough information so that people can figu
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
Hi all,
i am relatively new to Java and i am trying to learn the UI (or
the awt). Below is the code that i compiled ...
---Code begins ---
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Buttons extends
I've just been reading about the mergemem kernel patch. I haven't noticed
any reference to it on this list before, so thought I'd draw it to your
attention and ask if anyone has any experience with it. For details see:
http://www.mondoshawan.ml.org/mergemem/
http://www.complang.tuwien.ac.
is swim motif avail ( free ? )
Eric Bohm wrote:
> I just upgraded to the jdk117_alpha21164a_bin and am having trouble
> with some of the demo programs seg faulting or aborting while using
> SWiM Motif.
>
I think it should work to get the IPAddress and then create a new InetAddress:
InetAddress add = InetAddress.getByName("xxx.xxx.xx.x");
Now you can use add.getHostName() and you should get the fully qualified
hostname.
Markus
On 12-Nov-98 Mark Hofmann wrote:
> Hi all,
>
> I've posted that que
hi!
after decompressing the x86 and x86_native, and setting THREADS_FLAG, i
get the following message after trying to execute 'appletviewer
applet.html':
"Failed to locate native library"
am i missing something here?
thanks,
alex a.
__
G
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
Try using a reverse DNS lookup with that host's IP address , you should
get
a fully qualified host name from that. This obviously means you will
have to use the DNS protocol on an open socket. The problem with NT is
it is using
WINS ( NT DNS) to resolve the name and that name returned is a host na
Urban Widmark wrote:
> On Fri, 13 Nov 1998, Rudhuwan Abu Bakar wrote:
>
> >
> > hello
> >
> > sorry for this.
> >
> > Where can I get a type 4(?) JDBC driver? I am testing an Oracle server and
> > want to use a Java-based client.
> >
> > Thank you for your time.
> >
> > regards
> > duan
> >
>
> I
On Fri, 13 Nov 1998 10:01:30 -0800, Christopher Hinds wrote:
>Try using a reverse DNS lookup with that host's IP address , you should
>get
>a fully qualified host name from that. This obviously means you will
>have to use the DNS protocol on an open socket. The problem with NT is
>it is using
>WI
On Fri, 13 Nov 1998 15:15:29 +, [EMAIL PROTECTED] wrote:
> 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
Have a method, such as stop(), that sets a boolean, and in the thread that's
running, have it loop testing if the boolean has been set by stop() or not,
and if so, then exit itself.
Stopping a thread otherwise is problematic because it is not clear where it
was when it was stopped (it's an ugly s
> "George" == Uncle George <[EMAIL PROTECTED]> writes:
George> is swim motif avail ( free ? ) Eric Bohm wrote:
Unfortunately, no. It is a commercial motif implementation much like
Mootif.
>> I just upgraded to the jdk117_alpha21164a_bin and am having
>> trouble with some of th
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
Now that we have the option of native threads, I'd like to start using
thread resource pools. But, the Java semantics and/or the
implementation appears to make it problematic with regard to
applications without a known exit condition... here's my problem:
I want my application to exit when all
> I read somewhere that Thread.stop() is now deprecated.
Yes, and it's very good.
> Now how on earth do we stop a thread ?
Just allow it to exit from its run() method.
Try to use this pattern: pattern is (run() can be in Thread subclass or
in Thread Runnable))
private boolean runEnabled_
> "Peter" == peter pilgrim <[EMAIL PROTECTED]> writes:
Peter> I read somewhere that Thread.stop() is now deprecated. Now
Peter> how on earth do we stop a thread...
There are compelling reasons for deprecating this method (along with
Thread.suspend() and Thread.resume()); I understand the sec
I don't know that an applet can exactly terminate itself... Typically this is
controlled by the browser/appletviewer.. When a web page containing an applet
is unloaded the browser should call the stop() method followed by the destroy()
method (when the applets resources are to be reclaimed) of e
This thread hasn't had anything to do with Linux. I'd really prefer to
keep non-Linux discussion off this list. However, I'll now gamely try
to bring this back to a java-linux discussion -
>Have a method, such as stop(), that sets a boolean, and in the thread
>that's running, have it loop testing
Pavel Tolkachev writes:
> > I read somewhere that Thread.stop() is now deprecated.
> Yes, and it's very good.
> > Now how on earth do we stop a thread ?
> Just allow it to exit from its run() method.
So there is no way to stop a thread that is waiting for user input?
daniel dulitz
Valley
[EMAIL PROTECTED] wrote:
...
> Class.forName( "org.blackdown.jdbc.AnyOldDriver" );
> Connection con = DriverManager.getConnection( url, username, password );
> Statement stmt = con.createStatement( "select * from JDK_RELEASES" );
>
> stmt.executeQuery(); // One
David Wall writes:
> Have a method, such as stop(), that sets a boolean, and in the thread that's
> running, have it loop testing if the boolean has been set by stop() or not,
> and if so, then exit itself.
>
> Stopping a thread otherwise is problematic because it is not clear where it
> wa
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.
Ahh Well done JavaSoft!!!
the default transaction isolation level of the underlying database is used
for the result set that is created. Note that this code is
just JDBC 1.0 code, and that it produces the same type of result set that would
have been produced by JDBC 1.0.
My understanding is that the folks at Sun considered Thread.stop() to be
somewhat unstable (please correct me if I'm wrong) and therefore deprecated
it. What they suggested in the JDK1.2 documentation is that you allow the
Thread.run() method to normally end to stop the thread. Thus, you would
n
On Fri, 13 Nov 1998 11:20:36 -0500 (EST), Michael Thome wrote:
>Now that we have the option of native threads, I'd like to start using
>thread resource pools. But, the Java semantics and/or the
>implementation appears to make it problematic with regard to
>applications without a known exit cond
Hi,
On Mon, 09 Nov 1998, Keith T. Garner wrote:
>I've been experimenting with the new native threading code, beating on it
>to see how it holds up, doing that sort of beta test that people dream of.
>(I've found a memory bug, but that's for a different piece of mail...)
>
>Anyway, while watching
Michael Sinz wrote:
>
> I have a generic thread pool class that works for me. It is not
> complete for public use (yet) but it does the job. It knows when
> it has no threads in use. It also dynamically expands as peak
> loading increases.
I believe one was also written in conjuction w/ the j
Try oracle.com
--jason
On 13-Nov-98 Rudhuwan Abu Bakar wrote:
>
> hello
>
> sorry for this.
>
> Where can I get a type 4(?) JDBC driver? I am testing an Oracle server and
> want to use a Java-based client.
>
> Thank you for your time.
>
> regards
> duan
You should not have too, but if you want FQDN, then it looks like this might be
the best way. Otherwise you will have to jump throgh lots of hoops to check if
the value the jvm returns is really a FQDN.
--jason
On 13-Nov-98 Michael Sinz wrote:
> On Fri, 13 Nov 1998 10:01:30 -0800, Christopher
I got an app from someone. It included swing.jar.I
"un-jarred" it. But seriously.. should it be in the
same directory subtree under "src" with "lang" "io"
and other stuff? Or should it be in "lib" with classes.zip ?
Just wondering
email to: [EMAIL PROTECTED]
Other than some shuffling, the document hasn't changed a great deal,
but it does reflect some of the changes related to JDK 1.1.7. Comments
and corrections welcome.
Stephen Wynne <[EMAIL PROTECTED]> PGP Key 1024/D54C69B9
Fingerprint: 2C 54 C6 F3 9C FF 11 D3 90 56 DD 85 37 E3 1F AA
[EMAIL PROT
37 matches
Mail list logo