Re: Text font & color when setEditable(false)

1998-07-13 Thread Eitzenberger Thomas

Glenn Valenta wrote:

> I'm kind-a new to Java so please bear with me...
>
> Is there a way to stop the font and color from changing
> when one sets an java.awt.Component to non-editable?
>
> I'm using a frame in an application and when I add a button
> that is setEditable(false), the font and color changes to
> a shaded sort of style.
>
> --
> Glenn Valenta  Engineering http://www.coloradostudios.com
> [EMAIL PROTECTED]   http://ouray.cudenver.edu/~gavalent/
> [EMAIL PROTECTED]  <-main mail account

Sure either overwrite setEditable by deriving TextArea/Field
or expicitely set the color after your setEditable call
or move to windows  (He its just a choke #>)

mfg ET





Re: The OSF JDK and TurboJ ...

1998-07-13 Thread Uncle George

did i miss something, OSF, & linuxthreads ? arent they different critters?
gat

Seth M. Landsman wrote:

> There is also OSF's JDK, which is a 1.1.6 JDK with linuxthreads
> support.
>





Re: Docs for Sun CLasses

1998-07-13 Thread Tom Valesky


These classes aren't documented because they're not intended for use by
java developers; they're for the internal use of Sun's JDK implementation.
Sun reserves the right to make changes to these classes at any time. 

That being said, Elliot "Rusty" Harold wrote a book called "Java Secrets"
that describes these classes. You can find a description of this book at
http://sunsite.lanet.lv/javafaq/books/secrets/index.html (and at other
SunSite mirrors, but that's the first one that popped up in my search
(where the hell is ".lv", anyway? Latvia?)). I think (though I'm not sure)
that he used a decompiler to convert the .class files back to .java source
code).

Tom Valesky


On Tue, 14 Jul 1998, Jason Tan wrote:

> 
> Hi All,
> 
> Can anyone point me in the direction of a location where I could download
> a copy of the API documentation for the sun clases, such as the FTP
> classes etc.
> 
> I have managed to find some online versions, but I don't fancy saving each
> page individualy. What I am hoping to find is a tarball or zipped copy of
> these docs.
> 
> Sun's Java web site is singularly unhelpful(as far as I can see anyway)
> :-(
> 
> Any help appreciated.
> 
> Also I have tried the help command, and got the resultant eamil, but I
> could not see any FAQ or guidline type info in there for this loist. Does
> such a FAQ/guidelines for this list exist?
> 
> Regards
> Jason T 
> 
> Chariot Internet YAKSemail:[EMAIL PROTECTED] 
> (Yet Another Knoweledgable Support guy)
> 
> The box said Win95 or better, so I bought a Mac!!
> 
> Technical Support requests directed to this address will be ignored.
> Support requests for Chariot users should be directed to:
>[EMAIL PROTECTED]
> ---
> 
> 
> 

===
Tom Valesky   -- [EMAIL PROTECTED] 
 http://www.patriot.net/users/tvalesky



Re: Docs for Sun CLasses

1998-07-13 Thread Jason Tan

Hi Tom,

Thanks for your reply. It is a bit annoying that the classes aren't
documented. Especially as several pieces of writing I have seen written by
Sun people allude that the libraries are included with the JDK.

Perhaps then I should extend my question does anyone know of any freely
distributable libraries similar to the sun.net.* libraries?

And before anyone suggests that I wrtie some, I would love to, but I
suspect it would be a little beyond my current (low) skill level. :-\

Regards
Jason
> 
> These classes aren't documented because they're not intended for use by
> java developers; they're for the internal use of Sun's JDK implementation.
> Sun reserves the right to make changes to these classes at any time. 
> 
> That being said, Elliot "Rusty" Harold wrote a book called "Java Secrets"
> that describes these classes. You can find a description of this book at
> http://sunsite.lanet.lv/javafaq/books/secrets/index.html (and at other
> SunSite mirrors, but that's the first one that popped up in my search
> (where the hell is ".lv", anyway? Latvia?)). I think (though I'm not sure)
> that he used a decompiler to convert the .class files back to .java source
> code).
> 
> Tom Valesky
> 
> 
> On Tue, 14 Jul 1998, Jason Tan wrote:
> 
> > 
> > Hi All,
> > 
> > Can anyone point me in the direction of a location where I could download
> > a copy of the API documentation for the sun clases, such as the FTP
> > classes etc.
> > 
> > I have managed to find some online versions, but I don't fancy saving each
> > page individualy. What I am hoping to find is a tarball or zipped copy of
> > these docs.
> > 
> > Sun's Java web site is singularly unhelpful(as far as I can see anyway)
> > :-(
> > 
> > Any help appreciated.
> > 
> > Also I have tried the help command, and got the resultant eamil, but I
> > could not see any FAQ or guidline type info in there for this loist. Does
> > such a FAQ/guidelines for this list exist?
> > 
> > Regards
> > Jason T 
> > 
> > Chariot Internet YAKSemail:[EMAIL PROTECTED] 
> > (Yet Another Knoweledgable Support guy)
> > 
> > The box said Win95 or better, so I bought a Mac!!
> > 
> > Technical Support requests directed to this address will be ignored.
> > Support requests for Chariot users should be directed to:
> >[EMAIL PROTECTED]
> > ---
> > 
> > 
> > 
> 
> ===
>   Tom Valesky   -- [EMAIL PROTECTED] 
>http://www.patriot.net/users/tvalesky
> 



Re: Unidentified subject!

1998-07-13 Thread Dustin Lang


Hi,

> Is it possible with Java to rotate a font (90 degree)?
> I want to write from top to bottom in a canvas.
> Perhaps you have another solution.

I don't have an easy sorution, but I can tell you how I'd do it:

-create an offscreen Image
-get its Graphics and draw the text left-to-right on it
-use a java.awt.image.PixelGrabber on it
-do some array twiddling to rotate the image
-use a MemoryImageSource on the resulting twiddled array.

Like I said, not easy, but it would actually not take very long (runtime,
that is).

Cheers,
dstn.




Re: Unidentified subject!

1998-07-13 Thread Travis Shirk

On Mon, 13 Jul 1998, Reinhard Simon wrote:

> Hello Everybody!
> 
> Is it possible with Java to rotate a font (90 degree)?
> I want to write from top to bottom in a canvas.
> Perhaps you have another solution.

If you have the luxury of using Java 1.2, check out the Java 2D API.  In
it you'll find AffineTransform which can be used for rotating and scaling fonts.
If you need actual help using AffineTransform email me and I'll try to help
you out.

> 
> Thanks
> 
> Reinhard Simon
> HTL Wr. Neustadt Austria
> [EMAIL PROTECTED]
> 
> 

. -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- .
Travis Shirk  | What does friend mean to you? 
[EMAIL PROTECTED]  | A word so wrongfully abused
http://www.pobox.com/~travis  | Are you like me, confused
finger [EMAIL PROTECTED] for PGP key   | All included but you...alone
  -- Alice In Chains



Docs for Sun CLasses

1998-07-13 Thread Jason Tan


Hi All,

Can anyone point me in the direction of a location where I could download
a copy of the API documentation for the sun clases, such as the FTP
classes etc.

I have managed to find some online versions, but I don't fancy saving each
page individualy. What I am hoping to find is a tarball or zipped copy of
these docs.

Sun's Java web site is singularly unhelpful(as far as I can see anyway)
:-(

Any help appreciated.

Also I have tried the help command, and got the resultant eamil, but I
could not see any FAQ or guidline type info in there for this loist. Does
such a FAQ/guidelines for this list exist?

Regards
Jason T 

Chariot Internet YAKSemail:[EMAIL PROTECTED] 
(Yet Another Knoweledgable Support guy)

The box said Win95 or better, so I bought a Mac!!

Technical Support requests directed to this address will be ignored.
Support requests for Chariot users should be directed to:
   [EMAIL PROTECTED]
---





Unidentified subject!

1998-07-13 Thread Reinhard Simon

Hello Everybody!

Is it possible with Java to rotate a font (90 degree)?
I want to write from top to bottom in a canvas.
Perhaps you have another solution.

Thanks

Reinhard Simon
HTL Wr. Neustadt Austria
[EMAIL PROTECTED]