daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Jul 22nd, 2018 65 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. // Esse aqui é o botão que vai disparar a inclusão
  2. private void button1ActionPerformed(java.awt.event.ActionEvent evt) {
  3.         // TODO add your handling code here:
  4.         jComboBox1.addItem(makeObj("Teste"));
  5.     }
  6.  
  7. private Object makeObj(final String s) {
  8.         return new Object(){public String toString() {return s;}};
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top