Re: Printing in Java

1999-01-23 Thread bdutta

i don't think it is in 1.1.6 APIs but 1.2 or Java2 has it std. part of
SWING.


>hi all !!
>
>I'm developing a small application in java, and I need to do some
>printing. I've been looking at jdk 1.1.6 documentation, but I haven't
>been able to find anything useful. Does anyone knows where is some good
>info about this ?




Re: BUG REPORT

1999-01-23 Thread Christopher Hinds

Yes this is true except when the identifier is the name
for a inner class definition. An inner class ends up on the local
file systems with a name like   "outerclassname$innerclassname.class".

Cheers
Chris

Paolo Ciccone wrote:

> > "AG" == Aaron Gaudio <[EMAIL PROTECTED]> writes:
>
> AG> It was my understanding that Java source code is only
> AG> guaranteed to work if it's ASCII, but I may be wrong about
> AG> that.
>
> No, you're right but the example give *is* ASCII. The spec refers to
> the encoding of the source, not the result in the .class file. The
> \u notation was introduced exactly to have a way of specifying
> Unicode in ASCII (I called it UniASCII :) ). Now, the problem is that
> Java uses the file system for the class names *and* the package
> repository. Many file systems don't support Unicode encoding in the
> names and that's way is usually ok to use Unicode in identifiers
> except class and package names.
>
> --Paolo


begin:vcard 
n:Hinds;Christopher
tel;pager:917-957-1114
tel;cell:917-882-5034
tel;fax:718-789-7906
tel;work:718-789-7906
x-mozilla-html:FALSE
org:Heuristic Systems, Inc;RD
version:2.1
email;internet:[EMAIL PROTECTED]
title:President / Chief Engineer
adr;quoted-printable:;;160 FIFTH AVE =0D=0ASUITE 4R;Brooklyn;NY;11217;USA
x-mozilla-cpt:;-1
fn:Christopher Hinds
end:vcard



Save a canvas as a GIF file

1999-01-23 Thread Maura Melotti


HI,
this is my problem: I would like to save a white canvas with some
colored lines, boxes, circles in it (a whiteborad) as a GIF or JPG file.
Can someone help me ???

Thank you very much.

--
Maura Melotti
E-mail: [EMAIL PROTECTED]
--



Re: Swing Core Dump...?

1999-01-23 Thread peter johnson

It's not xfree, per se.  But your new kernel may require libc6 (glibc); this would 
mean you
have to install the glibc version of JDK.  If this is the problem, you may want to go 
ahead
and install 1.1.7 while you're at it.

TJ Saunders wrote:

> Hello, all.  Up until recently, I was doing just fine working with the
> Blackdown JDK 1.1.6 and Swing 1.1 on my Linux 2.0.33 box.  Then, I
> upgraded a lot things.  I changed from XFree86 3.2 to 3.3.3.1, and from
> the 2.0.33 kernel to 2.0.36.  Now, when I try to run the MenuDemo from the
> Java Tutorial, I inevitably get the following message:
>
> SIGSEGV   11*  segmentation violation
> stackbase=0xb0f8, stackpointer=0xb000
>
> Full thread dump:
> "AWT-Motif" (TID:0x4066fab8, sys_thread_t:0x41421f04, state:R) prio=5
> "AWT-Input" (TID:0x4066f998, sys_thread_t:0x41400f04, state:R) prio=5
> "AWT-EventQueue-0" (TID:0x4066f9d0, sys_thread_t:0x413dff04, state:R)
> prio=5
> "Finalizer thread" (TID:0x4066b1e0, sys_thread_t:0x413bef04, state:R)
> prio=1
> "Async Garbage Collector" (TID:0x4066b228, sys_thread_t:0x4139df04,
> state:R) prio=1
> "Idle thread" (TID:0x4066b270, sys_thread_t:0x4137cf04, state:R)
> prio=0
> "Clock" (TID:0x4066b088, sys_thread_t:0x4135bf04, state:CW) prio=12
> "main" (TID:0x4066b0b0, sys_thread_t:0x81e7d78, state:R) prio=5
> *current thread*
> sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:61)
> sun.awt.motif.MComponentPeer.(MComponentPeer.java:114)
> sun.awt.motif.MCanvasPeer.(MCanvasPeer.java:39)
> sun.awt.motif.MPanelPeer.(MPanelPeer.java:33)
> sun.awt.motif.MFramePeer.(MFramePeer.java:64)
> sun.awt.motif.MToolkit.createFrame(MToolkit.java:127)
> java.awt.Frame.addNotify(Frame.java:214)
>
> javax.swing.plaf.metal.BumpBuffer.createComponent(MetalBumps.java:235)
> javax.swing.plaf.metal.BumpBuffer.(MetalBumps.java:151)
> javax.swing.plaf.metal.MetalBumps.createBuffer(MetalBumps.java:65)
>
> javax.swing.plaf.metal.MetalBumps.setBumpColors(MetalBumps.java:100)
> javax.swing.plaf.metal.MetalBumps.(MetalBumps.java:57)
>
> javax.swing.plaf.metal.MetalBorders$ToolBarBorder.(MetalBorders.java:281)
>
> 
>javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:322)
>
> javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:65)
>
> javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:659)
> javax.swing.UIManager.setLookAndFeel(UIManager.java:339)
> javax.swing.UIManager.setLookAndFeel(UIManager.java:366)
> javax.swing.UIManager.initializeDefaultLAF(UIManager.java:820)
> javax.swing.UIManager.initialize(UIManager.java:896)
> Monitor Cache Dump:
> java.lang.Class@1080488336/1080855960: owner "main" (0x81e7d78, 2
> entries)
> Registered Monitor Dump:
> Thread queue lock: 
> Name and type hash table lock: 
> String intern lock: 
> JNI pinning lock: 
> JNI global reference lock: 
> BinClass lock: 
> Class loading lock: 
> Java stack lock: 
> Code rewrite lock: 
> Heap lock: 
> Has finalization queue lock: 
> Finalize me queue lock: 
> Monitor IO lock: 
> Child death monitor: 
> Event monitor: 
> I/O monitor: 
> Alarm monitor: 
> Waiting to be notified:
> "Clock" (0x4135bf04)
> Monitor registry: owner "main" (0x81e7d78, 1 entry)
> Thread Alarm Q:
> Abort (core dumped)
>
> What just happened?  Any ideas?  TIA.
>
> 
> TJ Saunders [EMAIL PROTECTED]
> System AdministratorPhone: (206) 685-8266
> Remote Sensing Lab
> University of Washington
> 



Re: Is there a good java Linux debugger?

1999-01-23 Thread Colin McDonald

Is a java debugger the same thing as a java editor.  I'm looking for a
Java Editor (preferable with Colours) to use in Linux.  Currently I use
Kawa  in Win 32, and I am looking for something similar to this for
Linux.

Thanks

Chris Kakris wrote:

> Andre Paradis wrote:
> >
> > Could you suggest a couple a good java debuggers under
> >
> > linux (free ones are prefered, but any suggestion welcomed)
>
> I use the jikes debugger.  Works fine.  Go to the IBM
> alphaworks web site and grab a copy:
>
> http://www.alphaWorks.ibm.com/formula/JikesDebugger
>
> Chris
>
> Dynamic Solutions Pty Ltd  http://www.dynamic.net.au/christos
> 414 Gilbert Road   [EMAIL PROTECTED]
> Preston, Victoria 3072 61 3 94718224 - voice
> Australia  61 3 94711622 - fax

--
///
Colin McDonald
Carleton University
Bachelor of Mathematics
Combined Honours
Mathematics & Computer Science
[EMAIL PROTECTED]
\\\




Re: Is there a good java Linux debugger?

1999-01-23 Thread Richard Jones

Colin McDonald wrote:
> 
> Is a java debugger the same thing as a java editor.  I'm looking for a
> Java Editor (preferable with Colours) to use in Linux.  Currently I use
> Kawa  in Win 32, and I am looking for something similar to this for
> Linux.

XEmacs (http://www.xemacs.org) has colour
syntax highlighting and lots more. It's
probably the best editor / development
environment you can get for Linux now,
although its enormous power comes with
large size and system requirements.

Rich.

PS. Sorry to any vi fans out there ...

-- 
-  Richard Jones. Linux contractor London and SE areas.-
-Very boring homepage at: http://www.annexia.demon.co.uk/  -
- You are currently the 1,991,243,100th visitor to this signature. -
-Original message content Copyright (C) 1998 Richard Jones.-



How can I help with 1.2?

1999-01-23 Thread Steve Sullivan


Hi -

I'm desperate for Linux Java 1.2, and in my desperation
to see it finished, I offer ...

How can I help?
My background is numerical analysis and Java.
I know several Sun JDK releases had troubles with floating
point operations; I'd be happy to help there and in other areas
as well.  I've also worked with Solaris JDK 1.2 networking, rmi, swing, etc.

Hope all's going well!  Please let me know if I can be of help,
and when you expect it might all be released.

Many thanks!

Steve Sullivan
Mathcom, Inc.

[EMAIL PROTECTED]







Re: Is there a good java Linux debugger?

1999-01-23 Thread Chris Kakris


> Is a java debugger the same thing as a java editor.  I'm looking for a
> Java Editor (preferable with Colours) to use in Linux.  Currently I use
> Kawa  in Win 32, and I am looking for something similar to this for
> Linux.

I use vim with colour syntax highlighting.

Chris

Dynamic Solutions Pty Ltd  http://www.dynamic.net.au/christos
414 Gilbert Road   [EMAIL PROTECTED]
Preston, Victoria 3072 61 3 94718224 - voice
Australia  61 3 94711622 - fax



Re: Is there a good java Linux debugger?

1999-01-23 Thread Brett W. McCoy

On Sun, 24 Jan 1999, Chris Kakris wrote:

> > Is a java debugger the same thing as a java editor.  I'm looking for a
> > Java Editor (preferable with Colours) to use in Linux.  Currently I use
> > Kawa  in Win 32, and I am looking for something similar to this for
> > Linux.
> 
> I use vim with colour syntax highlighting.

Likewise, xemacs has a Java mode with syntax highlighting.

Brett W. McCoy   
http://www.lan2wan.com/~bmccoy/
---
"The number of UNIX installations has grown to 10, with more expected."
   -- The UNIX Programmer's Manual, 2nd Edition, June, 1972

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GAT dpu s:-- a C UL$ P+ L+++ E W++ N+ o K- w--- O@ M@ !V PS+++
PE Y+ PGP- t++ 5- X+ R+@ tv b+++ DI+++ D+ G++ e>++ h+(---) r++ y
--END GEEK CODE BLOCK--



Java Editors [was Re: Is there a good java Linux debugger?]

1999-01-23 Thread Bryce McKinlay

Colin McDonald wrote:

> Is a java debugger the same thing as a java editor.  I'm looking for a
> Java Editor (preferable with Colours) to use in Linux.  Currently I use
> Kawa  in Win 32, and I am looking for something similar to this for
> Linux.

My favourite is NEdit: http://fnpspa.fnal.gov/nirvana/nedit.html

Excellent syntax highlighting for Java and almost any other language out
there, and very easy to use for those coming from a Windows/Mac
background. Its the nicest editor I've seen on Unix.

regards

  [ bryce ]