Package sdl.test.gui

Demo to exercise various API in a minimal awt-like gui system.

See:
          Description

Interface Summary
GUIHierarchyListener  
 

Class Summary
GUIComponent for gui demo - unfinished, Minimal Component implememntation for awt-like gui that uses SDL graphics and events.
GUIComponentEvent for gui demo -unfinished, Custom events for minimal awt-like gui
GUIContainer for demo gui - unfinished, Minimal Container for awt-like gui based on SDL graphics and events
GUIGraphics for gui demo - unfinished, Rudimentary prototype for SDL implementation of a java.awt.Graphics object.
GUIHierarchyChangedEvent for gui demo - unfinished, Used to notify components they have been added to a parents container.
GUIRuntime for demo gui - unfinished, Rudimentary prototype for SDL implementation of a java.awt.Toolkit object.
 

Package sdl.test.gui Description

Demo to exercise various API in a minimal awt-like gui system.

Work in progess. Test with sdl.test.gui.unit.Test* As of 09/28/02

Big questions?

Why? Because I want to do non-X console guis in java.

Why not j2se1.4 java2d Fullscreen? Because I wanted to do non-X console guis in java without any real/fake X server running.

Can it work for embedded java GUI, games and media players? Maybe, depends what you call embedded and what your constraints are.

Why not Java ported to Microwin? Because its DOG SLOW, has a poor widget set and locks the framebuffer for you. What if I wanted to run mplayer in Microwin?

Why not SDL for Perl or Python? Just Because.

Why not a new GraphicsDevice for J2se1.4 instead of a custom gui engine? Good idea. We couldn't do it with 1.2, because even if you successfully registered a new GraphicsDevice, GraphicsContext, etc, you still could not affect java.awt.Graphics. There would be no way to make a component paint(java.awt.Graphics g) to your device. However, if we can now in 1.4, porting Swing would become a non issue.

Why not java for FBDev? Hmmm... I like it, but what about audio?

To get demo to work at the framebuffer console (without Xwindows), see the HOWTO doc on getting SDL to run from the console.