Re: [may be a stupid question..] the method of input?

1998-07-20 Thread gaolei

[EMAIL PROTECTED] wrote:
> | In motif the method of input have a few
> | ways(OnTheSpot,OffTheSpot,OverTheSpot,and RootWIndow) with relation to
> | multi byte character.
> | Isn't it possible in java to change the way of input,too?
> | Bye..
> 

Hi, 

Yes, I think it could.

In fact, you know, the JDK1.2 provide input method event and listener
for both peer and peerless components. Though I have not successfully
intercept the event(now I think for a common programmer not hacker, he
can not intercept the event), I think, in next version(1.3, or 2.0 ??),
java soft would provide a interface to programmer to get the input
method event. You also could read this from the documents.

I think if we programmer could get the event, anything we can implement, 
This just means we could any style input method- even including
a handwriting - recognizing frame. right?

I have successfully written a network based chinese input method using
pure java, as there is still no way to communicate between two java 
program, so, the input method communicates with other applications only
with the protocol I predefined.

begin:  vcard
fn: Gao Lei
n:  Lei;Gao
org:StarGlobe
adr:International Business Park;;#09-02, The Synergy;Singapore;Singaproe;609917;Singapore
email;internet: [EMAIL PROTECTED]
title:  Software Engineer
tel;work:   (0065)6656961
tel;fax:(0065)6657912
tel;home:   (0065)96937680
x-mozilla-cpt:  ;-29328
x-mozilla-html: FALSE
version:2.1
end:vcard




Re: Slackware 3.5 Segmentation violation woes

1998-07-20 Thread Casiraghi Luigi


Hi James,
some of us running Slackware but with the following
configuration found useful to follow Paul Ho suggestions
(dated 10/07/98) 
Don't know if it apply to you but you can safely give it a try.

configuration:
jdk116v2
lib5
ld.so.1.9.9

>>Paul Ho write:
>>For everyone using libdl.so.1.9.9 and JDK 1.1.6v2.
>>
>>Try remove the libdl.so.1 and libc.so.5 from your
>>$JAVA_HOME/lib/i686/green_threads/
>>
>>Assuming you are using a newer libc5 like libc.so.5.4.44 of course.
>>
>>In any case, read the README.linux file.

James Cassidy, in data 10.12 19/07/98 -0400, hai scritto:
>
>Greetings Java-Linux group!  I'm hoping someone can help me with this
>snag:
>
>I've been developing an application that runs ok under Slackware 3.4
>with jdk1.1.6-v1.  When I installed Slackware 3.5 it get a segmentation
>violation when trying to run the same app.  I've upgraded to 1.1.6-v2, 
>but get the same error. 
> 
>Also, I've tried copying /lib/ld.so from the Slackware 3.4 system that works 
>correctly, but it doesn't help.
>
>I've created a simple test case that runs fine until I try to create a
>Socket object, then it blows up as indicated below.
>
>Does anyone know of a workaround or fix?
>
>Thanks for any help!
>Jim.
>
>
>
>SIGSEGV   11*  segmentation violation
>stackbase=0x413aa000, stackpointer=0x413a9e54
>
>Full thread dump:
>"Thread-4" (TID:0x40648088, sys_thread_t:0x413a9f04, state:R) prio=5
>*current thread*
>java.lang.Runtime.loadLibrary(Runtime.java)
>java.lang.System.loadLibrary(System.java)
>java.net.PlainSocketImpl.(PlainSocketImpl.java:67)
>java.net.ServerSocket.(ServerSocket.java:57)
>java.net.ServerSocket.(ServerSocket.java:131)
>java.net.ServerSocket.(ServerSocket.java:83)
>ConnectionServer.run(ConnectionServer.java:65)
>"Finalizer thread" (TID:0x40644208, sys_thread_t:0x41388f04, state:R)
>prio=1"Async Garbage Collector" (TID:0x40644250,
>sys_thread_t:0x41367f04, state:R) prio=1
>"Idle thread" (TID:0x40644298, sys_thread_t:0x41346f04, state:R) prio=0
>"Thread-4" (TID:0x40648088, sys_thread_t:0x413a9f04, state:R) prio=5
>*current thread*
>java.lang.Runtime.loadLibrary(Runtime.java)
>java.lang.System.loadLibrary(System.java)
>java.net.PlainSocketImpl.(PlainSocketImpl.java:67)
>java.net.ServerSocket.(ServerSocket.java:57)
>java.net.ServerSocket.(ServerSocket.java:131)
>java.net.ServerSocket.(ServerSocket.java:83)
>ConnectionServer.run(ConnectionServer.java:65)
>"Finalizer thread" (TID:0x40644208, sys_thread_t:0x41388f04, state:R)
>prio=1"Async Garbage Collector" (TID:0x40644250,
>sys_thread_t:0x41367f04, state:R) prio=1
>"Idle thread" (TID:0x40644298, sys_thread_t:0x41346f04, state:R) prio=0
>"Clock" (TID:0x40644088, sys_thread_t:0x41325f04, state:CW) prio=12
>"main" (TID:0x406440b0, sys_thread_t:0x81acf40, state:CW) prio=5
>InstrumentMgr.initializeInstrument(InstrumentMgr.java:72)
>InstrumentMgr.(InstrumentMgr.java:49)
>InstrumentMgr.main(InstrumentMgr.java:209)
>Monitor Cache Dump:
>java.lang.Runtime@1080328536/1080688792: owner "Thread-4" (0x413a9f04,
>1 entry)
> (0x0x81acf40): 
>Waiting to be notified:
>"main" (0x81acf40)
>Registered Monitor Dump:
>"Idle thread" (TID:0x40644298, sys_thread_t:0x41346f04, state:R) prio=0
>"Clock" (TID:0x40644088, sys_thread_t:0x41325f04, state:CW) prio=12
>"main" (TID:0x406440b0, sys_thread_t:0x81acf40, state:CW) prio=5
>InstrumentMgr.initializeInstrument(InstrumentMgr.java:72)
>InstrumentMgr.(InstrumentMgr.java:49)
>InstrumentMgr.main(InstrumentMgr.java:209)
>Monitor Cache Dump:
>java.lang.Runtime@1080328536/1080688792: owner "Thread-4" (0x413a9f04,
>1 entry)
> (0x0x81acf40): 
>Waiting to be notified:
>"main" (0x81acf40)
>Registered Monitor Dump:
>Thread queue lock: 
>Name and type hash table lock: 
>
>
>
>
>




Re: swing JDeskTop

1998-07-20 Thread Brad Giaccio

I beleive you can have a listner for all the internal frames. and you can
just listen for the move and veto it.

Brad


On Mon, 20 Jul 1998, B. Craig Taverner wrote:

> Hi all,
> 
> I know this is not a pure linux/java question, but does anyone know how to
> create 'dockable' internal frames with swing.  ie. frames that can be
> attached to the sides of teh JDesktop.  I've considered extending
> DesktopManager, but it loks like I might get into some heavy L&F trouble
> then.
> 
> Cheers, Craig
> 
> --
> An American's a person who isn't afraid to criticize the President but
> is always polite to traffic cops.
> 
> ==
> Craig Taverner   --==   Email:[EMAIL PROTECTED]
> ComOpt AB   --Tel:   +46-42-212580
> Michael Löfmans Gata 6 --==   Fax:   +46-42-210585
> SE-254 38 Helsingborg   --   Cell:  +46-708-212598
> Sweden   --==http://www.comopt.com
> ==
> 

-- 
--- There are two kinds of knowledge, you either know the answer or
you know where to find it
  -Kane, Johnson, and anonymous



Re: swing JDeskTop

1998-07-20 Thread Jason Dillon

That does not really "dock" the internal frame... it just makes it imobile.  I
don't belive that the standard l&f's support docking internal frames.  If you
or anyone else comes up with a way to do it please let me know.

--jason

On 20-Jul-98 Brad Giaccio wrote:
> I beleive you can have a listner for all the internal frames. and you can
> just listen for the move and veto it.
> 
> Brad
> 
> 
> On Mon, 20 Jul 1998, B. Craig Taverner wrote:
> 
>> Hi all,
>> 
>> I know this is not a pure linux/java question, but does anyone know how to
>> create 'dockable' internal frames with swing.  ie. frames that can be
>> attached to the sides of teh JDesktop.  I've considered extending
>> DesktopManager, but it loks like I might get into some heavy L&F trouble
>> then.
>> 
>> Cheers, Craig
>> 
>> --
>> An American's a person who isn't afraid to criticize the President but
>> is always polite to traffic cops.
>> 
>> ==
>> Craig Taverner   --==   Email:[EMAIL PROTECTED]
>> ComOpt AB   --Tel:   +46-42-212580
>> Michael Löfmans Gata 6 --==   Fax:   +46-42-210585
>> SE-254 38 Helsingborg   --   Cell:  +46-708-212598
>> Sweden   --==http://www.comopt.com
>> ==
>> 
> 
> -- 
> --- There are two kinds of knowledge, you either know the answer or
>   you know where to find it
> -Kane, Johnson, and anonymous



[may be a stupid question..] the method of input?

1998-07-20 Thread Andrew An(Tae-Yoon)

In motif the method of input have a few
ways(OnTheSpot,OffTheSpot,OverTheSpot,and RootWIndow) with relation to 
multi byte character.
Isn't it possible in java to change the way of input,too?
Bye..



Re: [may be a stupid question..] the method of input?

1998-07-20 Thread maheshm




god knows??




Re: kaffe 1.0b1

1998-07-20 Thread Carsten Hoeger

On Sun, Jul 19, Steffen Tacke wrote:

> I'm trying to compile the new Kaffe 1.0 beta1 with SuSe 5.1 but all
> i get are some strange error messages : 

You can find an actual, precompiled rpm-version at

http://www.suse.de/~choeger

-- 
mfG,
Carsten Hoeger
--
Carsten Hoeger  - S.u.S.E. GmbH -  Gebhardtstr. 2  -  90762 Fuerth  -  Germany
fax +49-911-3206727 web http://www.suse.de
--



Re: [may be a stupid question..] the method of input?

1998-07-20 Thread A . KLOS


--
| From: maheshm /  shar, , , [EMAIL PROTECTED]
| To: java-linux /  shar, , , [EMAIL PROTECTED]
| Subject: Re: [may be a stupid question..] the method of input?
| Date: Tuesday, March 17, 1998 10:41AM
|
| Received: from shell.nl by ksopenml.ksepl.shell.nl with ESMTP
|   (1.40.112.12/16.2) id AA090202439; Mon, 20 Jul 1998 10:13:59 +0200
| Received: by shell.nl; id KAA04313; Mon, 20 Jul 1998 10:13:58 +0200 (METDST)
| Received: from shell.ncm.com(198.67.33.248) by charon-1.shell.nl via 
smap (3.2)
|   id xma004283; Mon, 20 Jul 98 10:13:39 +0200
| Received: (from listadm@localhost) by shell.ncm.com
| (8.8.5/8.7.5) id EAA12803; Mon, 20 Jul 1998 04:12:58 -0400
| Resent-Date: Mon, 20 Jul 1998 04:12:58 -0400
| From: [EMAIL PROTECTED]
| X-Lotus-Fromdomain: NSEIL
| To: [EMAIL PROTECTED]
| Message-Id: <[EMAIL PROTECTED]>
| Date: Mon, 20 Jul 1998 13:41:35 +300500
| Subject: Re: [may be a stupid question..] the method of input?
| Resent-Message-Id: <"F_vgE3.0.t73.7mlir"@shell>
| Resent-From: [EMAIL PROTECTED]
| X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/1256
| X-Loop: [EMAIL PROTECTED]
| Precedence: list
| Resent-Sender: [EMAIL PROTECTED]
|
| ---
|
| In motif the method of input have a few
| ways(OnTheSpot,OffTheSpot,OverTheSpot,and RootWIndow) with relation to
| multi byte character.
| Isn't it possible in java to change the way of input,too?
| Bye..


|
| god knows??
|


Stupid questions don't exist; stupid answers do however, like this answer :-(



rmi problems

1998-07-20 Thread Massimo Conti

Hi
I have a problem with rmi.
I use Linux RedHeat 5.0 and jdk-1_1_6sn-1_1glibc_i386.
When I start my server application this is the output :

java.rmi.UnexpectedException: Unexpected exception; nested exception is:

java.lang.ClassNotFoundException: MyServerImpl_Stub

but the class is there. The CLASSPATH include the directory i put my
classes.
MyServerImpl_Stub.class and MyServerImpl_Skel.class are in the same
directory and while the Skel class is founded the Stub one no.
Any idea ?

Thanks in advance.

Massimo





begin:  vcard
fn: Massimo Conti
n:  Conti;Massimo
org:Systeam S.p.A.
adr:Via Eroi di Cefalonia, 39;;;Spinaceto;;00128;Italy
email;internet: [EMAIL PROTECTED]
title:  Ing.
tel;work:   +39-6-5077031
tel;fax:+39-6-50770365
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:2.1
end:vcard




rmi problem solved

1998-07-20 Thread Massimo Conti

Hi,
Now my rmi server runs.
I had to restart the rmiregistry as I changed the stub class without
doing that.

Thanks to all.
 Massimo


begin:  vcard
fn: Massimo Conti
n:  Conti;Massimo
org:Systeam S.p.A.
adr:Via Eroi di Cefalonia, 39;;;Spinaceto;;00128;Italy
email;internet: [EMAIL PROTECTED]
title:  Ing.
tel;work:   +39-6-5077031
tel;fax:+39-6-50770365
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:2.1
end:vcard




Question about JNI - structConverter

1998-07-20 Thread Sze Yuen Wong

Hi,

 I'm trying to use JNI and in the book, it tells me to
use a tool called structConverter.

In the book, it sounds like structConverter is a class that come with
jdk
but I couldn't find that class.

Anyone knows where can I find it?

Thanks,

Sze Yuen




swing JDeskTop

1998-07-20 Thread B. Craig Taverner

Hi all,

I know this is not a pure linux/java question, but does anyone know how to
create 'dockable' internal frames with swing.  ie. frames that can be
attached to the sides of teh JDesktop.  I've considered extending
DesktopManager, but it loks like I might get into some heavy L&F trouble
then.

Cheers, Craig

--
An American's a person who isn't afraid to criticize the President but
is always polite to traffic cops.

==
Craig Taverner   --==   Email:[EMAIL PROTECTED]
ComOpt AB   --Tel:   +46-42-212580
Michael Löfmans Gata 6 --==   Fax:   +46-42-210585
SE-254 38 Helsingborg   --   Cell:  +46-708-212598
Sweden   --==http://www.comopt.com
==



1.1.6v2 doesn't know about GMT?

1998-07-20 Thread Arup Mukherjee


Hi, 
the following code runs fine with 1.1.3 under libc5, but generates a
StringIndexOutOfBoundsException with 1.1.6v2 (glibc or libc5) ... However, if
you replace the "GMT" with "EDT" it runs fine under all versions. Is
it intentional that 1.1.6 doesn't know about GMT? 

Thanks, 

-Arup Mukherjee

import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;

class Test {

static protected DateFormat df =
new SimpleDateFormat ("EEE, dd MMM  HH:mm:ss zzz");

public static void main(String argv[]) 
{
String lastmod = ("Wed, 15 Jul 1998 14:31:18 GMT");

Date lm;

try {
lm = df.parse (lastmod.trim());
System.err.println ("Date is " + lm);

} catch (java.text.ParseException e) {

System.err.println ("Bad time string: " + lastmod);

} 
}
}

(4:58pm) his/tmp :java Test
java.lang.StringIndexOutOfBoundsException: String index out of range: 29
at java.lang.String.charAt(String.java)
at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java)
at java.text.SimpleDateFormat.parse(SimpleDateFormat.java)
at java.text.DateFormat.parse(DateFormat.java)
at Test.main(try.java:19)