Community
Participate
Working Groups
When printing single characters to the console of Eclipse the vertical scroll bar reacts as the program would print out a large number of lines: The slider is getting smaller and smaller which usually means that the console output spans multiple pages but it does not. take for example the following small program. It outpunts 10 lines of 100 dots each. Depending on the console windows size this usually fits on one page but the scrollbar-slider indicates that there are about 20 pages and you can even scroll that far (of course those pages are empty). public class ConsoleTest { public static void main(String[] args) { try { for (int i = 1; i <= 1000; i++) { System.out.print("."); if ((i % 100) == 0) System.out.println(""); Thread.sleep(10); } Thread.sleep(60000); } catch (InterruptedException e) { } } }
Appears to work properly in 3.3. I think this is a dup of bug 137694. *** This bug has been marked as a duplicate of bug 137694 ***