This is what my all about. I need to encrypt folders ex. u've an idea of how the lock folder using lock folder software. In same way our project works but we'r trying to secure entire system. So do u've any idea on how to link our java program to windows folders. few told we need to access dll file. But our code is in java. I've become numb not getting anything. Could u pls help me.
ya got u. But we've written code nd we've given some input to check whether security is working. The code is working perfectly using rijndael algorithm oly thing is we need to link that encryption and decryption algorithm to windows folder.. Can u suggest me?
Please read my previous answer. You cannot do this at the application level, you can only do it by adding a filter driver to the filesystem. And that can only be done in a native language such as C/C++ or Assembler.
Presumably as a school project it is sufficient to encrypt files within a folder not the entire folder.
You can control this via java via the following process.
- FIND a command line utility (run via the console window NOT a UI/GUI app).
- Learn how to use that tool, by figuring out how to encrypt/decrypt and pay attention to the OUTPUT.
- After the above two steps then learn how to use Java java.lang.Process or Runtime.exec(). They are basically the same thing. Using these will REQUIRE using threads. If you are not using threads then you are not going to succeed.
- After you learn java.lang.Process then you can use it to run the tool above within your java application.
The JVM is the key player here... it is going to execute your program... so public static void main is like an accessibility option for the JVM...
public ==> so that the jvm can access your program/class from any where (since it is public as the name suggests)... change it to private and your program wont work... because the jvm cannot access private stuff... and if the jvm cant access the class/program it cant execute it
static ==> so that the jvm does not need to create an object for your class to run your program
void ==> your main function is not going to return any value to the jvm
main ==> this is like the cue music to the jvm... this is the stating point of your program... this is the function that your jvm calls so as to execute your program
im doing GUI that user can edit textboxes.in this my requirement is
(1)name with check box
(2)if user click check box pop window or alert box will appear.in that window i have to display min-value,max-vale,actual value,default value.and two buttons one is update another one is default
3)in this actual value can edit by user if he edits it has to be validate from min& max.
please help me to this GUI.
note:The values will read and wright from xml file i can read and wright those values by dom processor.
In fact, I'm doing this in Java, it's a Maven project and hosted as a web service on GlassFish. The service returns the data in json format. The problem is when the values are null, I have to serialize them as "" or "null". I want to return as just null. However, I still can't find a way.
I am a third year computer science student and have a project to build. I am to build a restaurant reservation system, considering most activities about a restaurant. I can only do basic java. Any ideas on how to implement this idea?
I can only do basic java. Any ideas on how to implement this idea?
You really need to have a good understanding of the use of classes and their methods and properties for such a project. However, the first thing you need to do is work on the actual design of your project. The data store, what information you need to keep, and how you will access it. The inputs, how customers will request reservations. The outputs, how information will be displayed etc. All of that needs to be designed before you can start writing any code.
hi this nagaraj,im doing gui for 4g so i want to read ip address from xml file and it will be display in textbox and if user enters the ip address i want update it in to xml file alredy im using DOM for reading&updating xml file
Well, I'm afraid we cannot guess what that error could be. I suggest you step through the code with your debugger and look at the error that is produced, and the values of all variables that are being used in that statement.