All pastes #970666 Raw Edit

Something

public text v1 · immutable
·published 2008-04-04 05:49 UTC
rendered paste body
/*
 * Binary.java
 *
 * Created on 4 Απρίλιος 2008, 8:29 πμ
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
import javax.swing.JOptionPane;

public class Binary {
     public Binary() {
    }
     
    static String input(){
        return JOptionPane.showInputDialog(null,"Dose ena arithmo:");
        
    }
    static void massage(String x){
        JOptionPane.showMessageDialog(null, "O arithmos einai :" +x);
    }
    /** Creates a new instance of Binary */
   
    public static void main(String[] args) {
        String in= input();
        massage(in);
        System.exit(0);
    }
}