Search:

Type: Posts; User: qrts

Search: Search took 0.20 seconds.

  1. Replies
    4
    Views
    1,795

    Re: Returning to a loop after showConfirmDialog.

    One last problem, and that is fixing errors on my showInputDialog. can anyone help me? when i run the program and click ok, i get a variable voteString might not have been initialized, if i hit...
  2. Replies
    4
    Views
    1,795

    Re: Returning to a loop after showConfirmDialog.

    package javaapplication16;


    import javax.swing.JOptionPane;

    public class VoteCount {

    public static void main(String[] args) {

    int yesVotes = 0, noVotes = 0, totalVotes = 0;
  3. Replies
    4
    Views
    1,795

    Returning to a loop after showConfirmDialog.

    SOLVED. thanks snowguy13!!

    Hello everyone. I'm currently working on an assignment that requires me to have a loop counting votes until q is entered to activate a dialog box asking if I really want...
Results 1 to 3 of 3