Beginning update to add GUI logging.
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
package com.jdbernard.timestamper
|
||||
|
||||
import javax.swing.JDialog
|
||||
|
||||
dialog = dialog(new JDialog(model.mainMVC.view.frame),
|
||||
title: 'Error Messages...',
|
||||
modal: false) {
|
||||
|
||||
logger.traceIfEnabled { "Building LogDialog view." }
|
||||
}
|
@ -46,7 +46,7 @@ dialog = dialog(new JDialog(model.mainMVC.view.frame),
|
||||
return p
|
||||
} else return dialog.location })
|
||||
) {
|
||||
logger.traceIfEnabled('Building NotesDialog GUI')
|
||||
logger.traceIfEnabled {'Building NotesDialog GUI'}
|
||||
panel(
|
||||
border:lineBorder(color: Color.BLACK, thickness:1, parent:true),
|
||||
layout: new MigLayout('insets 10 10 10 10, fill')
|
||||
|
@ -51,7 +51,7 @@ dialog = dialog(new JDialog(model.mainMVC.view.frame),
|
||||
return p
|
||||
} else return dialog.location })
|
||||
) {
|
||||
logger.traceIfEnabled('Building PunchcardDialog GUI')
|
||||
logger.traceIfEnabled {'Building PunchcardDialog GUI'}
|
||||
panel(
|
||||
border:lineBorder(color: Color.BLACK, thickness:1, parent:true),
|
||||
layout: new MigLayout('fill, insets 10 10 10 10',
|
||||
|
@ -107,7 +107,7 @@ frame = application(title:'TimeStamper',
|
||||
imageIcon('/appointment-new-16x16.png').image],
|
||||
componentMoved: { evt -> model.absoluteLocation = frame.location }
|
||||
) {
|
||||
logger.traceIfEnabled('Building TimeStamperMain GUI')
|
||||
logger.traceIfEnabled {'Building TimeStamperMain GUI'}
|
||||
panel(
|
||||
border:lineBorder(color:Color.BLACK, thickness:1, parent:true),
|
||||
layout: new MigLayout('insets 0 5 0 0, fill','', '[]0[]0[]'),
|
||||
|
Reference in New Issue
Block a user