Results 1 to 4 of 4

Thread: Unable to start runtime due to invalid configuration ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    2

    Unable to start runtime due to invalid configuration ?

    Hello,

    I want to run my applet on Jbuilder, but if i run this application i get the following error :

    Unable to start runtime due to invalid configuration




    this is my code what i run :

    package untitled2;

    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;

    public class Untitled1 extends Applet implements ActionListener {
    TextField invoer;
    Button plus, min;
    int getal; // het ingelezen getal

    // Plaats de grafische componenten
    public void init() {
    plus = new Button("Verhoog");
    min = new Button("Verminder");
    invoer = new TextField( 5 );
    add( plus );
    add( invoer);
    add( min);
    plus.addActionListener(this);
    invoer.addActionListener(this);
    min.addActionListener(this);
    }

    // Verwerk de events
    public void actionPerformed ( ActionEvent e) {
    // Stap1: Als plus-Voorraad dan verhoog getal met 1
    if (e.getSource() == plus) {
    // Stap2: increment
    getal++;
    }
    // Stap3: Als min-Voorraad dan verlaag getal met 1
    if (e.getSource() == min) {
    // Stap4: decrement
    getal--;
    }
    // Stap5: Als enter-toets dan lees en converteer getal
    if (e.getSource() == invoer)
    getal= Integer.parseInt( invoer.getText() );
    // Stap6: schrjf getal in het textField invoer
    invoer.setText(Integer.toString(getal));


    }
    }


    Please help me

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Unable to start runtime due to invalid configuration ?

    "Unable to start runtime due to invalid configuration" is a JBuilder specific error, not a Java error
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    2

    Re: Unable to start runtime due to invalid configuration ?

    What can i do about it then . I tryed on 2 versions of Jbuilder the same problem

  4. #4
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Unable to start runtime due to invalid configuration ?

    Perhaps asking in a JBuilder form would be a good idea. Or even better, don't use JBuilder at all
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width