1. JOption pane checking if some input text was enter, if not OK button not working stackoverflow.comin JOption pane I have some JTextArea where user must eneter some text. Then if user click OK code execute. But i want that code will not execute if input text ... |
2. Urgent (Removing "OK" button from JOptionpane) coderanch.comHi freinds.... I am comming across a problem relating the default buttons of JOptionpane. I have created a panel which is being used numerous places.....The place where there is a Pop-Up dialog..I have passed the panel to the JOptionpane just... My problem is ...JOptionpane provides default "OK" button..which is now getting shown in the dialog... I want to remove/hide the "OK" ... |
3. ui manager getColor and link JOptionpane OK button to code coderanch.comHi, Got most of this but having a couple of problems. How to assign color value to Strings "X" and "O" after the count and linking the OK button to code reseting the game. Any suggestions? Michael package mike.org; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TicTacToeSwing extends JFrame implements ActionListener { //declare and instantiate JButtons private JButton jbtnTicTacToe1 = ... |