Java Swing - O Reilly // Create a text (Web site design and hosting)

Java Swing - O Reilly // Create a text area JTextArea ta = new JTextArea(); ta.setLineWrap(true); // Add all actions to the menu (split into two menus to make it more usable) Action[] actions = ta.getActions(); JMenuBar menubar = new JMenuBar(); JMenu actionmenu = new JMenu(”Actions”); menubar.add(actionmenu); JMenu firstHalf = new JMenu(”1st Half”); JMenu secondHalf = new JMenu(”2nd Half”); actionmenu.add(firstHalf); actionmenu.add(secondHalf); int mid = actions.length/2; for (int i=0; iSearching for affordable and proven webhost to host and run your servlet applications? Go to Linux Web Hosting services and you will find it.

Leave a Reply