This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi! Certain classes of AWT are platform-specific unlike swings. How is that java is said to be platform-independent. If i write a program using AWT classes(that make use of native code) and develop it on windows NT platform, then is it possible to port to some other platform like solaries,Unix.. Bye satish email@example.com
With Swing, your stuff will look more consistant between platforms. Swing is almost all lightweight components (non system dependent) and AWT is almost all heavyweight components (system dependent). I think portability is the same as platform independence.
Joined: Mar 13, 2000
Hi! Using RandomAccessFile class, we can create a binary file. Since, the created file,say out.txt, in the binary format, I can't open it in notepad and see the output. How can I create an ASCII file? B'cos I've developed a program for generating prime numbers. Since, the output is very long, I would like to see the output later. So, I want to store the output in an Ascii file. How to do it? Bye Satish Kumar firstname.lastname@example.org