Hi,
How to import codes advanced notepad using Java?
I am making a draft code for my bookstore system using advanced notepad with Java codes, instead of encoding it all over again manually I just thought if there are some ways to automatically import all the data in netbeans 6.9.
I need some advice.
Regards,
Danield Make.
How to import codes advanced notepad using java?
As normal as we as simple plugins to seamlessly change the code or modify at the time of import. This recipe uses PEP 302 send hooks to show all imported modules. It is wise to use simple plugins rather than a manual process. If you face any problem feel free , just ask questions again. We will solve your problem shortly.
How to import codes advanced notepad using java?
Hi Danield,
You can definitely import your source code written and stored in a notepad to your Netbeans.
To open the text file, you need to create a new class. So click File > New File from the NetBeans menu at the top. Create a new Java Class file and give it the name ReadFile. When your new class is created, add the following three import statements:
Import Java. Io. IOException;
Import Java. Io. FileReader;
Import Java. Io. BufferedReader;
Your new class should then look like this one:
Package text files;
Import Java. Io. IOException;
Import Java. Io. FileReader;
Import Java. Io. BufferedReader;
Public class ReadFile {
}
Once you use your text file and you are one the way.
Hope this helps.
Thanks
Baker