sale.stdforms
Class MsgForm
java.lang.Object
|
+--sale.FormSheet
|
+--sale.stdforms.MsgForm
- public class MsgForm
- extends FormSheet
A simple message FormSheet that will display a message in a JTextArea surrounded by
a JScrollPane.
MsgForms use a FormSheetContentCreator
to create the FormSheet's contents.
- Since:
- v2.0
- Version:
- 2.0 21/05/1999
- Author:
- Steffen Zschaler
- See Also:
- Serialized Form
Methods inherited from class sale.FormSheet |
addButton,
addButton,
addContentCreator,
attach,
attach,
attach,
buttonIterator,
buttonIterator,
cancel,
close,
detachDisplay,
detachProcess,
detachSalesPoint,
fillBtnPanel,
getButton,
getButtonsLock,
getCaption,
getComponent,
getComponentLock,
getDisplay,
getDisplayLock,
getProcess,
getSalesPoint,
isCancelled,
ok,
removeAllButtons,
removeButton,
setCaption,
setComponent,
setWaitResponse,
toString,
waitResponse |
MsgForm
public MsgForm(String sCaption,
String sMsg)
- Create a new MsgForm. The "
FormSheet.waitResponse()
" property will be set to true.
- Parameters:
sCaption
- the FormSheet's caption.sMsg
- the message to be displayed. It can contain '\n's which will be
interpreted accordingly.
MsgForm
public MsgForm(String sCaption,
String sMsg,
boolean fWaitResponse)
- Create a new MsgForm.
- Parameters:
sCaption
- the FormSheet's caption.sMsg
- the message to be displayed. It can contain '\n's which will be
interpreted accordingly.fWaitResponse,
- the initial value for the "FormSheet.waitResponse()
" property.