Plotting Pixels

2000-10-14 Thread Nicolas Raitman
Hi to all. Please I just have one question. Which is the function to draw a pixel on the screen (applets) and how does it works? Thanks a lot Nicolas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe

Linux Java 2 text rendering problems

2000-10-14 Thread Fred Gray
Hi, all, First of all, many thanks are owed to the Blackdown group, most recently for their JDK 1.3.0 Debian packages. My only complaint about Java 2 on Linux these days is the poor text rendering. Please have a look at the example at http://www.npl.uiuc.edu/~fegray/java-render/ It shows t

Re: Help, why wrong ?!

2000-10-14 Thread Ali
Hi Try this: import java.io.*; public class ReadKeyB { public static void main (String args[]) { try{ BufferedReader stdin =new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter a digit:"); int a = Integer.parseInt(stdin.readLine()); System.out.println(++a); }catch