neha gautam wrote:
i also have problem as how to insert this code in applet???
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Sagar Rohankar wrote:
neha gautam wrote:
i also have problem as how to insert this code in applet???
As far as my knowledge is concerned, you can't do this, because Applets are run by the browser's JRE (Applet Viewer), so they can't access data from local machines (Its dangerous )
Maneesh Godbole wrote:How to sign jars
http://java.sun.com/docs/books/tutorial/deployment/jar/signindex.html
neha gautam wrote:i have the code for files in a directory where names of files is stored in an array(in java)...
now how do i redirect that array to my applet so that i can create an array of radio buttons equal to
the size of array, of my inital java code(file names array)....... finally my applet shud display each name of file as radio button..
i also have my code for radio buttons but i m findin trouble to combine both of them..
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Sagar Rohankar wrote:
neha gautam wrote:i have the code for files in a directory where names of files is stored in an array(in java)...
now how do i redirect that array to my applet so that i can create an array of radio buttons equal to
the size of array, of my inital java code(file names array)....... finally my applet shud display each name of file as radio button..
i also have my code for radio buttons but i m findin trouble to combine both of them..
I think, you didn't gave a thought to my post, This is simply impossible to do, you cant redirect(its word from your post) the the array of file names to the HTML page to display radio buttons.
Whats your requirement? what exactly your project ?, Its homework/practice code for Applets ?
Maneesh Godbole wrote:@Sagar
"how how do i redirect that array to my applet.."
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Sagar Rohankar wrote:@Neha
Where this files saved,
Answer,
1. On local machine -> Use Java Swing application
2. On server -> Get JSP/Servlet application
Sagar Rohankar wrote:
...You simply can't have any file system rights when it comes to Applet, Correct me OR I'm missing something very silly ?
neha gautam wrote:
Sagar Rohankar wrote:@Neha
Where this files saved,
Answer,
1. On local machine -> Use Java Swing application
2. On server -> Get JSP/Servlet application
thanks sagar
on local machine...then i need to go for swing application..
i dont know much about swings..
can we do this fully in swings..
can GUI be made in swings..
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Sagar Rohankar wrote:Thanks Maneesh, I didn't know much about Applets and about signing them . Now I got it.
@Neha
You need some Java Swing tutorial
http://java.sun.com/docs/books/tutorial/uiswing/
Swing isn't difficult, but you should know who contain who and about layouts things.
Best Luck
neha gautam wrote:
if not... ill get bac to you people...
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Do you pee on your compost? Does this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|