n class="lineno" id="35"> 35 public static var NO_STR:String = "No";
36 public static var CLOSE_STR:String = "Close";
37
38
39 public static var OK:Number = 1;
40 public static var CANCEL:Number = 2;
41 public static var YES:Number = 4;
42 public static var NO:Number = 8;
43 public static var CLOSE:Number = 16;
44
45 private var okButton:JButton;
46 private var cancelButton:JButton;
47 private var yesButton:JButton;
48 private var noButton:JButton;
49 private var closeButton:JButton;
50
51 private var centerPane:JPanel;
52 private var msgLabel:JLabel;
53 private var inputText:JTextField;
54 private var buttonPane:JPanel;
55 private var frame:JFrame;
56
57 public function JOptionPane() {
58 super(new BorderLayout());
59 centerPane = SoftBox.createVerticalBox(6);
60 msgLabel = new JLabel();
61 centerPane.append(ASWingUtils.createPaneToHold(msgLabel, new FlowLayout(FlowLayout.CENTER, 5, 5)));
62 inputText = new JTextField();
63 var inputContainer:JPanel = new JPanel(new BorderLayout());
64 inputContainer.setBorder(new ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C I J K L M N O P Q j k l m n o @" A" B" C" D" E" F" G" I" J" K" L" M" N" O" P" Q" R" S" U" V" W" X" Y" Z" [" ]" ^" _" `" a" b" c" d" j" k" l" m" n" o" p" q" r" t" u" v" w" x" y" z" {" |" }" ~" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " # # # # # # # # # # # # # # # # # # !# "# ## $# %# '# (# )# *# +# ,# -# .# /# 0# 1# 2# 3# 4# 5# 6# 7# 8# 9# :# ;# <# =# ># ?# @# A# B# C# D# E# F# G# H# I# J# K# L# M# N# O# P# R# S# T# U# V# W# X# Y# Z# [# \# ]# ^# _# b# c# d# e# f# g# h# i# j# k# l# m# n# o# p#