Search:

Type: Posts; User: pmc

Search: Search took 0.08 seconds.

  1. Re: Is stubbing out a catch block ever a valid thing to do?

    Yeah, that makes much more sense to me - appreciated. :)
  2. Re: Is stubbing out a catch block ever a valid thing to do?

    catch (BadLocationException exception) {
    JOptionPane.showMessageDialog(null, "o_O an error that can't happen just happened", "Impossible Error", JOptionPane.ERROR_MESSAGE);
    }


    Adding code...
  3. Is stubbing out a catch block ever a valid thing to do?

    JTextArea textArea = new JTextArea();

    highlightAll.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent event) {
    textArea.selectAll();
    Highlighter highlighter =...
Results 1 to 3 of 3