~hartmut-schorrig/jvishia-gui/trunk

« back to all changes in this revision

Viewing changes to org/vishia/gral/awt/AwtGraphicThread.java

  • Committer: hartmut
  • Date: 2012-04-23 20:41:38 UTC
  • Revision ID: hartmut.schorrig@vishia.de-20120423204138-ypdpcrmnwikrn5gq
Usage of GUI for profession
* GralArea9MainCmd: parseArgumentsAndInitGraphic(String, String, int, int, int, int) for determination of display coordinates in the users application.
* GralArea9MainCmd: Getting size arguments from main-args.
* GralWindow_setifc: setFullScreen(...)
* GralGraphicThread: bugfix: If a {@link GralDispatchCallbackWorker} throws an exception, it was started again because it was in the queue yet. The proplem occurs on build graphic. It was repeated till all graphic handles are consumed. Now the {@link #queueGraphicOrders} entries are deleted first, then executed. TODO use this class only for SWT, use the adequate given mechanism for AWT: java.awt.EventQueue.invokeAndWait(Runnable). use Runnable instead GralDispatchCallbackWorker.
* GralPanelContent: element canvas as property maybe null for each panel to support stored graphics. See class GralCanvasStorage.
* GralWidgetMng: addLine(GralColor, List) to add in a {@link GralCanvasStorage}. 
* GralCfgData: new_Type().
* GralCfgBuilder: some more elments
* GralCanvasStorage: drawLine(GralPos, GralColor, List), improved {@link PaintOrder}-derivates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
  final String sTitle; final int xPos, yPos, xSize, ySize;
13
13
  
14
14
  
15
 
  AwtGraphicThread(String sTitle, int left, int top, int xSize, int ySize)
16
 
  { super();
 
15
  AwtGraphicThread(String sTitle, char sizeShow, int left, int top, int xSize, int ySize)
 
16
  { super(sizeShow);
17
17
    this.sTitle = sTitle; this.xPos = left; this.yPos = top; this.xSize = xSize; this.ySize = ySize; 
18
18
    threadGuiDispatch.start();
19
19