Re: Another window management bug
Replying to my own message about Jdialogs being iconified after show/hide/show: it seems that this is a known bug, 4392518, Incorrect window (Swing) handling with Gnome/enlightenment. In their wisdom Sun have decided that fixing it in the still-to-be-released merlin (1.4.0) is good enough, so they've closed the bug. Even though it's still present in the current production release. And people are stumbling into it, wasting time looking for bugs in their own code, then documenting it and reporting it as a bug. Pah. Ron Who awaits 1.4.0 in the hope, though hardly expectation, that it might finally fix 4102292, New AWT Frame w/o coordinates always pops up in upper left hand screen location. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Blackdown support for SERVLET ?
In the code release Blackdown, exists support for SERVLET? Regards, Henrique -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Blackdown support for SERVLET ?
http://jakarta.apache.org LHM> In the code release Blackdown, exists support for SERVLET? LHM> Regards, LHM> Henrique LHM> -- LHM> To UNSUBSCRIBE, email to [EMAIL PROTECTED] LHM> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Best regards, Vladimirmailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
pass-vy-value problem
I've got a problem, probably an easy one, but i can't manage to solve it
:-(
I try to fill an ArrayList and then print it, but since Java pass only
handles to object, he just keep the last value for every item in the
ArrayList. I've read something about clone, but i can't make it work.
The source is:
import java.util.ArrayList;
import java.lang.Double;
import java.util.Random;
import java.lang.System;
public class myclass {
public ArrayList al;
public Double d;
public Random alea;
public myclass() {
al = new ArrayList(10);
alea = new Random();
}
public static void main (String[] args) {
myclass c = new myclass();
double real;
int i;
// Fill the ArrayList
for (i = 0; i<10; i++) {
c.d = new Double(c.alea.nextDouble());
c.al.add(i,c.d);
System.out.println("Start: " + ((Double) c.al.get(i)).toString());
}
// Print the data from the ArrayList
for (i = 0; i<10; i++) {
c.al.add(i,c.d);
System.out.println("End: " + ((Double) c.al.get(i)).toString());
}
}
}
And the results are (those are an example, because i use a Random
generator):
Start: 0.28012035030857985
Start: 0.40180116776466135
Start: 0.6795764373219171
Start: 0.08519019735402789
Start: 0.18054903350688734
Start: 0.14224057950044477
Start: 0.23224765920471468
Start: 0.623506361467136
Start: 0.2183654727784211
Start: 0.3157707740311705
End: 0.3157707740311705
End: 0.3157707740311705
End: 0.3157707740311705
End: 0.3157707740311705
End: 0.3157707740311705
End: 0.3157707740311705
End: 0.3157707740311705
End: 0.3157707740311705
End: 0.3157707740311705
End: 0.3157707740311705
Thanks in advance.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pass-vy-value problem
On Wed, 26 Sep 2001, Pedro José Gil Villar wrote:
> // Print the data from the ArrayList
> for (i = 0; i<10; i++) {
> c.al.add(i,c.d);
Delete this line.
> System.out.println("End: " + ((Double) c.al.get(i)).toString());
> }
>}
> }
>
--
Joi EllisSoftware Engineer
Aravox Technologies [EMAIL PROTECTED], [EMAIL PROTECTED]
No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Blackdown support for SERVLET ?
LHM> In the code release Blackdown, exists support for SERVLET? Now step by step: 1) SERVLET needs server -> Apache 2) Something to support Java Servlet and JavaServlet Pages on server side -> Tomcat you may find it here http://jakarta.apache.org All of them are free and easy to install under Linux. LHM> Regards, LHM> Henrique -- Best regards, Vladimirmailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
