Lines Matching refs:new
49 wv = new PropertyValue("CharWeight", -1,
50 new Float(com.sun.star.awt.FontWeight.BOLD),
54 wv = new PropertyValue("CharWeight", -1,
55 new Float(com.sun.star.awt.FontWeight.NORMAL),
60 cv = new PropertyValue("CharColor", -1, new Integer(color),
68 descriptor.setPropertyValue("SearchCaseSensitive", new Boolean(true));
69 descriptor.setPropertyValue("SearchWords", new Boolean(true));
71 // Replaces all instances of searchKey with new Text properties
93 myListener = new ActionListener() {
104 cRed = new Color(255, 0, 0);
116 cBlack = new Color(255, 255, 255);
131 exitListener = new ActionListener() {
138 searchButton = new JButton("Highlight");
141 exitButton = new JButton("Exit");
144 buttonPanel = new JPanel();
145 buttonPanel.setLayout(new FlowLayout());
151 searchPanel = new JPanel();
152 searchPanel.setLayout(new FlowLayout());
153 findTextBox = new JTextField(20);
154 findWhat = new JLabel("Find What: ");
159 frame = new JFrame("Highlight Text");
164 frame.getContentPane().setLayout(new GridLayout(2,1,10,10));