akki maha

Greenhorn
+ Follow
since Oct 09, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 akki maha

Hi,

I have created a executable test.jar. The icon of test.jar is platform dependent and apperas to be default icon.
I would like to add my own icon to test.jar.

How to achieve this?


-akash
13 years ago
I got the solution for this problem just now,



This will give the exact location of the file from where it is getting executed.


-akki
13 years ago
Hi,

I have created a simple gui, that has password field and "ok" button. Following code is executed when OK button is pressed.

13 years ago
Hi All,

I have created a test.jar file that will execute "pwd" command and will write it to pathFile. I am able to run the test.jar by double clicking on it. location of test.jar is "/home/akashm/Desktop/IDE/test/test.jar".Now I have following problems-

1. If I run test.jar from terminal i.e.
$java -jar test.jar
I get "/home/akashm/Desktop/IDE/test/" as output. This is correct.

2. If I run test.jar by double clicking it then I get
"/home/akashm" as output.

Does anyone has any idea of ambiguity in execution of test.jar file?

Please help me out.


-akash
13 years ago