How to create a "Explorer" like in java
i'm just wonderin if there's a way on how to create "Windows Explorer" like in Java wherein you can view all your directories with yellow folder icon and also you can view all your files and drives....
And when you double click the yellow folder icon it will then expand and will show all the subfolders and files ...
How????
Thanks!
Yes, there is a way. Look up JTree in the API.-can you post some code.... i cant figure out on how to use JTree...
i'm still confused on where will i get the entire directories of my drives...
thanks
Similar Messages
-
HOw to create a Batch file for java application and whats the use of this ?
HI,
How to create a Batch file for java application ?
And whats the use of creating batch file ?
Thanks in advanceFirst of all, you're OT.
Second, you can find this everywhere in the net.
If you got a manifest declaring main class (an classpath if needed), just create a file named whatever.bat, within same directory of jar file, containing:
javaw -jar ./WhateverTheNameOfYourJarIs.jar %*By the way, assuming a Windows OS, you can just double click the jar file (no batch is needed).
Otherwise use:
javaw -cp listOfJarsAndDirectoriesSeparedBySemiColon country/company/application/package/className %*Where 'country/company/application/package/' just stands for a package path using '/' as separator instead of '.'
Don't specify the .class extension.
Javaw only works on Windows (you asked for batch, I assumed .BAT, no .sh), in Linux please use java.exe (path may be needed, Windows doesn't need it 'cause java's executables are copied to system32 folder in order to be always available, see PATH environment variable if you don't know what I'm talking about) and use ':' as classpath (cp) separator.
The '%***' tail is there in order to pass all parameters, it only works on Windows, refer to your shell docs for other OSs (something like $* may work).
This way you have a command you can call to launch your code (instead of opening NetBeans just to see your app working). You could schedule tasks on it or just call it in any command prompt (hope you know what it is 'cause there have been people in this very same forum with no clue about it, if not just hold the 'Windows button' and press 'R', then type 'cmd' and run it).
Finally add dukes and give 'hem away.
Bye. -
How to create the exe file for java project.
How to create the exe file for java project.
am done the project in java swing , i like to create the project in exe format, so any one help for me,
send the procedure for that.
thanking u.How to create the exe file for java project.Have you ever heard of google? I pasted your exact "question" into a google search:
http://www.google.com/search?q=How+to+create+the+exe+file+for+java+project.
and got several useful links.
Better search terms might yield even better results.
Sheesh. -
How to create a schedule program in java
Hello Friends ,
Can any one provide me with an example how to create a schedule program using java.util.timer etc . I am in need of a program which should run as a schedule job that searches for a file in a directory and read the latest files from that directory in every minute of time as a schedule job .
Thanks
maheshI don't feel like writing my own example, but google will be happy to provide you with an example.
-
How to create a oracle database by java code?
how to create a oracle database by java code?
please give some ways then that way's codeI'm not sure what you mean with "database". Do you mean an Oracle instance or an Oracle user/schema (probably the latter, because that's the equivalent to a MS SQL Database).
Creating an instance is definitely not possible from within Java. To create a new user this should be possible, as this can be done with SQL:
GRANT connect,resource TO <newuser> IDENTIFIED BY <password>;
I'm always cautious with questions like this. In 90% of the cases there is something wrong with the initial design. Creating a database shouldn't be something the application is doing.
Thomas -
How to create a Batch file for java application ?
HI,
How to create a Batch file for java application ?
And whats the use of creating batch file ?
Thanks in advance[http://static.springsource.org/spring-batch/]
Assuming you want to develop a batch application rather than actually just create a .bat file .. -
How to create report image like artwork demo
Dear Pakars
How to create report image like artwork demo ?
Thanks
ImansyahHello,
Are you asking how to include images in a report? If so, take a look at the declarative blob support documentation -
http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
How to create a packet by using java?
Hi, i am currently working on a research and i have some problems here.
1) how to create a packet by using java programming ?
2) How can i set the packet's information (e.g: packet's length, size of its header, etc) by using java?
I am currently in a midst of this now and i hope that someone is willing to correspond to my questions and help me out of it.
Thank you!I wan to create a customize packet where the user can
define the header size, the packet's length etc. in
the program......Then you get to write it to the connection yourself. Look at the OutputStream classes to see how to write low level output to a connection. -
Do you know how to create Front Panel like Web,
Do you know how to create Front Panel like Web, I mean like we pointed the word and click it will do another process instead by clicking push button.
If possible, i can click the link in the table... Any idea anyone
Solved!
Go to Solution.Hi ezam,
can you define more clearly exactly what you would actually like to do, and ill have a further look into it. I think smercurio_fc has understood it as I have, and is right with the activeX.
any way, give a shout back with exactly what you want to do and we see what we can do,
Richard
Richard S
Applications Engineer
Certified LabVIEW Associate Developer
National Instruments UK&Ireland -
How to create a SAS Dataset with Java
Hello All,
The subject line says it all. Does anyone out there know how to create a SAS Dataset using Java? I Googled it and searched here with no luck.
Thanks
KPSome parts of SAS appear to have been exposed via a Java API through this product:
http://support.sas.com/rnd/app/da/workshop/faq.html
Hope that helps
Lee -
How to create an Oracle DATABASE through Java Programming Language.. ?
How to create an Oracle DATABASE through Java Programming Language.. ?
Oracle database administrators tend to be control freaks, especially in financial institutions where security is paramount.
In general, they will supply you with a database, but require you to supply all the DDL scripts to create tables, indexes, views etc.
So a certain amount of manual installation will always be required.
Typically you would supply the SQL scripts, and a detailled installation document too.
regards,
Owen -
How to create the exe files for java application
How to create the exe file for java application?
got any software to do that?
ThanksIn terms of converting java applications into exe files, there are 3 schools of thought:
1) Instead of converting it to an exe, convert it to a jar file. Jar files are more portable than exe files because they can be double-clicked on any operating system. The caveat is that a Java interpreter must be installed on the target computer for the double-clicking to work.
http://developer.java.sun.com/developer/Books/javaprogramming/JAR/
2) Create an exe launcher that, when double-clicked, attempts to find a Java interpreter on the local computer and launches the Java application. The exe file is still double-clickable but whether your java application runs depends on whether a Java interpretor is installed on the target computer.
http://www.sureshotsoftware.com/exej/
http://www.objects.com.au/products/jstart/index.jsp
http://www.duckware.com/products/javatools.html
http://www.ucware.com/jexec/
http://www.rolemaker.dk/nonRoleMaker/javalauncher/
http://www.jelude.cjb.net/
http://thor.prohosting.com/~dfolly/java/index.html
3) Create an exe launcher that bundles a Java interpretor. Same as above but when the exe file is double-clicked, it searches for a Java interpreter and if one is not found, it installs one on the target computer. The caveat is that the exe file would have an overhead of 10 MB in size for the interpreter.
http://www.excelsior-usa.com/jet.html (evaluation version available)
4) Convert the Java application into a native exe file. The caveat is that if you use Swing for your GUI, it won't be converted. Also this option is still somewhat experimental.
Can't think of any free options right now. -
Can anyone please guide me how to create a table like employe table with 10
Hi,
can anyone please guide me how to create a table like employe table with 10colums.
after that we need to update the colums with personal details......like name1,name2,address,city,zip...etc.
using the RFC we need to update the personal details coulums (either select query or Insert command)
if you have any program logic similar to this requirement please share with me...that would br greatly helpfull to me...
thanks in advance
srinivasHi....
We are having one table and now i am going to update that table's fields...
for that in RFC function module we need to enter the fields in importing parameters (which are mandtory in table)
and in source code just write like following....
( try to under stand that it contains some previous used table nad field and stucture and work area and function module names)
FUNCTION ZL2C_UPDATE_MYCUSTOMER.
""Local Interface:
*" IMPORTING
*" VALUE(USR_ID) TYPE USRID
*" VALUE(LOGO_ID) TYPE KUNNR
DATA ls_mycust TYPE zl2cmy_customer.
DATA: name1 TYPE name1_gp.
DATA: sharpoint_url TYPE url.
ls_mycust-usr_id = usr_id.
ls_mycust-logo_id = logo_id.
SELECT SINGLE name1 FROM kna1 INTO name1 WHERE kunnr = logo_id.
ls_mycust-name1 = name1.
SELECT SINGLE sharpoint_url FROM zl2c_CUSDASHBRD INTO sharpoint_url WHERE logo_id = logo_id.
ls_mycust-sharpoint_url = sharpoint_url.
INSERT into zl2cmy_customer values ls_mycust.
COMMIT WORK.
ENDFUNCTION. -
How to create a Macromedia's Flash Java Player with JMF?
How to create a Macromedia's Flash Java Player with JMF? Can you give me an example? My email:[email protected] [email protected]
Yes, there is a way. Look up JTree in the API.-can you post some code.... i cant figure out on how to use JTree...
i'm still confused on where will i get the entire directories of my drives...
thanks
Maybe you are looking for
-
Just bought an iPhone 5s, as I turned on the phone it showed 71% of battery, I drained it to 15% and next charged it for 3 and a half hours to fully charge. Did I do any mistake ? Should have I let it to get discharged in order to fully charge it ? S
-
Out of nowhere my iMessage,FaceTime,YouTube and push notifications will not work!! I get an activation error saying that there is a problem with my network. I've tried everything I have read, but still no success. My iPad and all of its apps have wor
-
Some of the vertical lines in the fonts are double width like a mixture of bold and normal font weight. I have hardware accellaration disabled. The problem is not fixed when I change default font settings. The problem is not resolved be resetting zoo
-
My ipod doesn't let me saving information
Hi everybody. I think my Ipod has a virus and I cannot save information, music, videos or photos. I tried to format it but I cannot. If somebody can help me please write me to [email protected]
-
Can't play podcast while on other apps...iphone 6 plus
Why can't I play downloaded podcasts while using other apps like facebook on my Iphone 6 Plus?