|
From: Sebastian M. <seb...@un...> - 2007-03-29 20:03:30
|
Am Donnerstag, den 29.03.2007, 14:50 -0400 schrieb Scott Thompson:
> I have implemented double buffering, but the implementation slows the
> reaction time of the application by about half-a-second, and is now
> almost as annoying as the flickering. I'm looking into making the code
> more efficient, but I may run into issues because of the way the
> terminal class interacts with the application.
What OS are you using? I'm on Ubuntu/Gnome. I had the flickering too,
but it went away with the implementation of
> //put the terminal into a AWT-Panel to avoid flickering
> Panel panel = new Panel(new BorderLayout()) {
> public void update(java.awt.Graphics g) {
> /* Do not erase the background */
> paint(g);
> }
> };
So no flickering here ...
> I'm assuming the decision to use AWT was for a specific reason? Are
> you opposed to moving to a different Graphical Toolkit?
Its the SwingTerminal of the JTA library. To avoid that, one would have
to implement a SWTTerminal for JTA. JTA is OpenSource but it seems it's
not actively developed anymore...
Sebastian.
|