Creating a Browser through applet

Hi friends,

Their r few problems which i am facing.

Firstly i want something which will enable me to use resources of my computer without creating an policy file .

Secondly how can i list the contents dynamically in an paint method ?. what i mean by this is i am tring to list the contents of the directory (by which i mean list of sub-directories and files) although i have been able to get the list of contents of a paticular directory but still i dont know how to use paint(graphics g) method to implement it. since in each directory there might be different number of files and directory.

Plz provide me with some soultion as soon as possible

[677 byte] By [angada] at [2007-11-27 8:03:27]
# 1

> Firstly i want something which will enable me to use

> resources of my computer without creating an policy

> file .

Using system resources through an applet, requires for you to sign the applet first of all(help on that can be found all over these forums and google). If you don't want to create a policy file for it just alter the java.policy file in your JRE directory(assuming that you are not going to distribute this)

> Secondly how can i list the contents dynamically in

> an paint method ?. what i mean by this is i am tring

> to list the contents of the directory (by which i

> mean list of sub-directories and files) although i

> have been able to get the list of contents of a

> paticular directory but still i dont know how to use

> paint(graphics g) method to implement it. since in

> each directory there might be different number of

> files and directory.

So you get a list?..Err...Tree?maybe

HTH

:)

monk3ya at 2007-7-12 19:45:35 > top of Java-index,Desktop,Core GUI APIs...