Re: Const in java

1999-10-13 Thread alx
On Wed, 13 Oct 1999, Robert Simmons wrote: > Since everything in java is passed by reference this becomes even more of an issue. > Therefore can I do the following to achieve the desired safety ? Well, everything is not passed by reference in Java. I believe primitives and immutable types are

Re: Changing the font on Swing slider

1999-10-08 Thread alx
hmmm... if that doesn't work, you might try overriding the PLAF for that component. On Thu, 7 Oct 1999, Jacob Nikom wrote: > Hi, > > I am trying to change the font style and size on some > of the Swing widgets, mostly JSlider (tick marks numbers), TabbedPanes > (tab names), etc. You cannot not

Re: Problem making an instant of a class.

1999-10-03 Thread alx
On Sun, 3 Oct 1999, Vartan Piroumian wrote: > Your handler should not extend Frame, only implement ActionListener. That's more of a design issue, not a code correctness issue, don't you think? Although I would agree with you. > > setVisible(). But nothing happens. What am I missing? I would

Re: swing and syntax question

1999-09-25 Thread alx
On Sat, 25 Sep 1999, berry wrote: > Hi, > > I was wondering if anyone knows what this following > code means? > > public Rectangle getBounds() { > return JFrame.this.getBounds(); > } Hmm... I would say it's getting the bounds of the frame containing the rectangle. It doesn't look like

Re: Answers (RE: Sometimes easy things are hard/impossible in Java)

1999-09-09 Thread alx
On Thu, 9 Sep 1999, Kontorotsui wrote: > BG color from the container. Ok... then tell me why by default the background > color is not set to null but to a SystemColor constant! I don't find any logic > in this, the default should be the most generic choice (null), not the most > specific (a fixed

Re: Frame Layout

1999-08-16 Thread alx
Umm... is there any particular reason you are using a Frame instead of a Window? On Sat, 14 Aug 1999, Sebastien Vidon wrote: > Hi everybody > > I'm trying to get rid of the borders of any Frame or JFrame. I've tried > to find a method > to set its Insets, but unsuccessfully. Does anyone know a

Re: Working with many .java files - thanks

1999-08-01 Thread alx
Yes, point 1 is correct. I use JDE with emacs and when I'm working on a file, I just do ctrl-cvc to compile that file. It works really nice. There really should be a better way to do projects though without using a fast compiler like jikes as a crutch for dealing with large projects. JBuilder

Re: which jre for Redhat 6

1999-07-07 Thread alx
Is kaffe installed? rpm -q kaffe If it is, remove it: rpm -e kaffe On Wed, 7 Jul 1999, steve patient wrote: > Hi Folks > > Having downloaded 40MB of various versions of the jdk and jre for linux > from Blackdown I've failed to get it to work on Redhat 6. > > I've tried the jre 2pre-v2 compi

FW: rxtx home page has moved. (fwd)

1999-07-06 Thread alx
aha! -- Forwarded message -- Date: Tue, 6 Jul 1999 08:00:42 -0700 From: Kevin Hester <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, 'chris baubert' <[EMAIL PROTECTE

Re: javacomm

1999-07-05 Thread alx
On 5 Jul, Larry Gates wrote: > >>Date: Sun, 04 Jul 1999 22:22:22 -0700 >>From: Kevin Ryan <[EMAIL PROTECTED]> > >>The Sun comm API stuff is at: >> http://java.sun.com/products/javacomm/index.html > > It says to "choose a platform". Which one do we choose for Linux? Well, according to th

javacomm

1999-07-04 Thread alx
Does anybody know where I can get the RXTX package for doing serial commin Linux? Trent Jarvi's site doesn't appear to be responding. Also, if anyone knows where to get the requisite CommAPI from sun, that would be helpful as well, as Sun's site appears to be overloaded as well. Thanks in advan

Re: How to trap signals?

1999-06-08 Thread alx
There is a method in System called runFinalizersOnExit(boolean) that supposedly will let you tell the jvm to run all finalizers when the jvm is shut down. However, I've heard it's not that reliable, and I notice that it has been deprecated in jdk1.2. On Tue, 8 Jun 1999, Jonas Holmberg wrote:

Re: More on wrong version of libstdc

1999-05-28 Thread alx
One thing that helped get jdk1.1.x working on my redhat-6.0 machine (and this was the only thing I had to do) was to uninstall kaffe. On Thu, 27 May 1999, Rafael Jesus Alcantara Perez wrote: > -BEGIN PGP SIGNED MESSAGE- > > On Thu, 27 May 1999, Marty E. Geier wrote: > > I've had the sam

Re: Write a file from an applet

1999-05-24 Thread alx
You will need something on ther server side accepting the input from the applet. Like a servlet or a CGI or something. Would it be possible, if not easier, to not use an applet for user input and instead use an HTML form since it is more better suited to the task? On Mon, 24 May 1999, Gustavo M

Re: Java app server on linux ?

1999-05-23 Thread alx
Someone correct me if I'm wrong, but I don't think Java Webserver is an all java web server. On Sat, 22 May 1999, Nitin Borwankar wrote: > > Is anyone using (development or production) > a Java application server such as BEA Weblogic or even > an all Java HTTP server such as Javasoft's Java Web

Re: position of java applications starting up.

1999-05-13 Thread alx
Should be able to use Window.setLocation(x, y); And ToolKit.getScreenSize() to get the size of your screen. --Alex McCarrier --Momentum Software, Inc. On Thu, 13 May 1999, Justin Lawler wrote: > Hi, > > i was wondering if it is possible to set the position of > a java GUI once it starts up. W

Re: Help with parameters

1999-05-13 Thread alx
Try putting the paramater name and value's in quotes, like this --Alex McCarrier --Momentum Software, Inc. On Thu, 13 May 1999, Mario Jorge Nunes Filipe wrote: > Joel McCarty wrote: > > > > Mario, > > > > Java is a case sensitive language. You are getting a NullPointerException > > because

Question

1999-05-05 Thread alx
I was thinking about this discussion of servlets and application servers and taking into consideration that I know nothing about EJB, but have some minor experience with an app server, and lots of experience with servlets. In fact, when dealing with this particular app server (NetDynamics) I can h

Re: newb: running Java service?

1999-05-05 Thread alx
On Wed, 5 May 1999, Ted Neward wrote: > And once you do that, is your web server really *just* a web server, or a > particularly over-specialized form of generic application server.? :) correct. > How about this: instead of running a web server, run a generic application > server (EJB, CORB

Re: newb: running Java service?

1999-05-05 Thread alx
On Tue, 4 May 1999 [EMAIL PROTECTED] wrote: > Another option is to use servlets, the converse of "applets" but embedded > on the server side. Apache supports JServ (see java.apache.org) which > runs standalone alongside the web server. Servlets let you do fancy > things which you may want in th

Re: ... java.io.*

1999-05-05 Thread alx
The way I woul do it is: BufferedReader in = new BufferedReader(new FileReader("foo")); then you can do something like: String s = in.readLine(); Then you can use StringTokenizer on the new string. StringTokenizer is a little simpler to use than StreamTokenizer. If all you are doing is break