Monday, April 25, 2011

Contoh/Sample Java Progressbar

 Oke sekarang saya akan coba ngutak-atik progress bar di java, berikut samplenya




download sample ini, ekstrak, open project di Netbeans, arahkan k folder hasil ekstrak.
berikut penjelasan source codenya:
method start();
private void start() {
        try {
        time = Integer.parseInt(timeInput.getText());
        } catch (Exception e) {
            JOptionPane.showMessageDialog(this, "