Category: Java

0

How to remove first n characters from each line of a text file in java

The following method removes first n chars from each line of a text file.  

So, to remove the first 5 columns from the textfile filename.txt you should make the following call: removeCols(“filename.txt”,...

How to extract files from a zipped file using Java 0

How to extract files from a zipped file using Java

Some days ago, I had to decompress a zipped file, as usual before reinvent the wheel I googled just a little and I found an interesting class. I made only some minor changes (thanks...

How to remove, in java, all windows decorations and buttons of a Jframe 0

How to remove, in java, all windows decorations and buttons of a Jframe

Specially when I'm working on embedded systems, dedicated to a single application like a GUI, I have to remove all windows decoration and buttons to achive two goals: 1. Gain space on the monitor...