Giulietta Blumarine

Ranch Hand
+ Follow
since Dec 03, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Giulietta Blumarine

Hi!
If I run my application in Eclipse (or however in a development environment) the JFileChooser icon appears, but if I pack my application in a jar (throught Ant) and run it , the icon doesn't appear....

Any ideas?

Thanks in advance

Giu
16 years ago
Hi!

The remote host is reachable only through my ssh connection (i.e. If I run on shell the command "telnet remoteHostIP",I can't connect.

Now, with this constraint, how can I do?

Thanks!
16 years ago
Hi!
I connect to a ssh host obtaining a ForwardingClient.
I start a LocalForwarding towards a remote Host (i.e. I open a localport on SSH server and I connect to the remote host through a telnet connection:

EXample:

ForwardingClient forwarding = ssh.getForwardingClient();

forwarding.addLocalForwarding("Test Local", "0.0.0.0", localport,
remoteHostIP, 23);
forwarding.startLocalForwarding("Test Local");


Now if the remoteHostIP doesn't exist,the thread returns no Exception.
How I can check and catch however this condition?
I have tried with the method:

boolean check = forwarding.hasActiveForwardings();

but check is always == false (even if when remoteHostIP exists).

Thanks in advance
Giuly
16 years ago
So is there not another way to check the parameters presence?
A way different from this:

if(System.getProperty("Param1")== null ||
System.getProperty("Param2")== null ){

....
}

thanks
16 years ago
So is there not another way to check the parameters presence?
A way different from this:

if(System.getProperty("Param1")== null ||
System.getProperty("Param2")== null ){

....
}

thanks
16 years ago
Hi!Last thing.....

Now if in the main method I wrote:

if(args.length == 0){
printUsage();
System.exit(-1);

}

the printUsage() is called even if I pass the parameters in the way you wrote!

Why?

Thanks in advance
Giuly
16 years ago
Many thanks!, it works!
16 years ago
Hi!
I have to run my java application from command line, passing some parameters (PARAM=VALUE)to the jvm.
My main method gets the parameters in this way :

String a = System.getProperty("Param1);

if I use

java -jar myapplication.jar -DParam1=Value1 -DParam2=Value2

it doesn't work!

Some help ?

Many thanks
Giuly
16 years ago
Hi!
I have tried div style="width:100px;" inside the TD but nothing....
There is some other CSS rule?

Thanks
GIU
Hi!
I have to run a script when I load the HTML page, but I can't use window.load (because the page is the result of more jsp and window.load is already used in another jsp, different from mine).
I would like to use window.focus but in Mozilla doesn't work!
What Could I use?

Thanks
Giu
Hi!
I have a table with width="200".
In this table I have a td in which I show a text.
If this text is too long and all attached(for example: GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG), this text goes beyond table width and exceeds 200.
How to force and lock the width=200, sending the text down to head?
Thanks!!!

Giu
Sorry for late.
Yes, the first element, which has tabindex=1!

Thank you
Hi!
I have to work with tab browsing.
When I push the tab cursor moves itself on the first input text.
This input text has the property onFocus that opens a menu.
I want this menu closed when I push on the tab again to move the cursor on the following input text.
In a word: what is the contrary event of onfocus event?
If I used the mouse the two events would be onmouseover and onmouseout, but if I have to use the tab browsing I neeed to use onfucus properties ...

Thanks
Giu
Hi!
I have several input text and every input text has its tabindex property!
When I open the page, if I push the tab, cursor sets itself on the first input text having the property tabindex=1.
It's correct.
The the cursor moves itself on the other field.
BUT when I reach the last tab the cursor moves itself up to the document and not on the first tab with tabindex=1.
It's correct because tab works in this way but then:
HOW can I obtain the cursor setted on the first tab???

Thanks a lot

Giu