How do I keep track of dialog boxes?


If I have a three question test, How do I keep track of the answers?


OK a bit of sanity.
you have a 3 question test.
presumably you have a 3 element array of questions (Strings?)
String[] questions = {"What is 1 + 1","What is 2 + 2","What is 3 + 3"};
in a loop you ask each question, then get the response to each.
String answer = .....readLine();
if you change this to an object
class Question
  String question;
  String answer;
  public Question (String q){question = q;}
}then your array looks like this
Question[] questions = {new Question("What is 1 + 1"), etc
so now the display of the question changes from
likewise for the answer
String answer = .....readLine();
questions[x].answer = .....readLine();
now, in your Question array, each 'question' stores the answer received

November 30, -0001

How do I keep track of dialog boxes?

If I have a three question test, How do I keep track of the answers?OK a bit of sanity. you have a 3 question test. presumably you have a 3 element array of questions (Strings?) String[] questions = {"What is 1 + 1","What is 2 + 2",&qu

How to open a 'Save As' Dialog box in JSP?

Hi all, i need to export a CSV file. A button is provided to the user to choose the directory to save the file. My problem is how to open a 'Save As' dialog box in JSP? Thanks in advanceHi, Below is my full code to download fiel but still the Save Di

How to avoid the Commit/Rollback dialog box

I've a JClient app with two frames wich relate to the same appllication module with the same connection (I need it because I want a single commit). I start the first frame,then I click a button to start the second frame, I insert data in the second o

How can I supress a Windows dialog box programmatically in LabView?

I am trying to automatically supress or close a windows dialog box that appears when a LabView program crashes. I have a restart program that will automatically reopen the program and I don't want to have to click on the program error window that res

How to customize the Save as dialog Box for saving Web Query???

Hello,    we are usnging SAP NW Portal and BI 7.0 (SP14).    We have published BI web queries in the Portal and it works just fine, now when the User select the Button "Save As" in the Context Menu of any web query, this will open a new Dialog B

How to disable the "GETTING PLAYLIST" dialog box that appears in Radio

In itunes radio playlists, I click on a station and a message appears in a box, centered on the monitor screen that says "getting playlist" along with a blue striped status bar. I wonder if I can get rid of this annoying thing.! Because I know i

How do I keep track of and see my rollover minutes?

My billdate just turned over but when I go to AT&T's site or go get my minutes on my iPhone, it just says 450. I know I had about 100 rollover minutes from last month. How do I see them?I had the exact same situation... I tried to check on line and v

HT204135 How can one make the printer dialog box to have Show Details as default?

  I very often use different presets from document to document.  Thanks.Once you select the Show Details for any application, the next time you use that application and select to print, the full details pane should be shown. If this is not happening

I keep getting a dialog box that tells me to reboot my computer to complete a previous upgrade, however when I do I keep getting the same dialog box and cannot load firefox. I tried to remove Firefox but I keep getting the same message to reboot.

I was asked to upgrade Firefox using the Yahoo version and that is whne the problem started. I cannot remove Firefox or use it.Try these locations: C:\Documents and Settings\<user>\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\upda

How to keep track of which checkboxes are checked

I have 21 checkboxes on a scene and want a user to have to pick at least four of them, i will then use the ticked checkboxes to bring data back from a database. My question is how do i keep track of which checkboxes are clicked so i can put them in t

How to keep showing external dialog window in foreground of labview window

hi,  i have run .exe file from my labview using It wokrs too. but i have problem with dialog window from .exe file.if i run .exe file using command line it appears a dialog window named for example 'START' if i pressed yes or No then again a

How do I get a dialog box to reappear?

I'm trying to write an application where 1. There is an opening frame. The user can click a 'start' button which opens the first of a series of dialog boxes. 2 Each of these dialog boxes has a user input field and buttons 'next' 'back' and 'cancel' ,

Popup Dialog boxes in Extensions

I am building an extension that allows our company to insert a CFINVOKE tag for a ColdFusion component with all of the proper arguments. One of the arguments for the component is an array of address information that looks like so in CF: <cfset Addres

Opening a LOV dialog box on button click

How can i open a LOV dialog box on click of a button? I tried putting javascript:fun() in button request value but it did not work. can it be done using branches?Abhishek, Unfortunately, the button in a region position will not work as the only submi

Crystal 10 RCD and Windows (Advanced) Print Dialog Box

Years ago I wrote a Crystal Viewer program and Crystal Support showed me how to change the Viewer Print Dialog box so it would use the Advanced Print Dialog (I believe it used the Windows Print Dialog). Does anyone know how to set the RDC Viewer to u

Is here a way to disable the print dialog box?

I am trying to disable the print dialog box so that a page can print directly from a javascript "print" command. How can I disable the print dialog box so that it will print automatically?You can try creating a new boolean preference - '''print.

How to disable dialog box for ending document display

I have a wf item that has a pdf attachment.  Every time the attachment is opened, a dialog box appears stating: 1. Switch to the window of your PC application to display the document 2. Close your document 3. Press "Continue" in the R/3 window I

A "success" dialog box keeps popping up during wifi connection

Since I've upgraded to Mavericks, an always-on-top dialog box displaying the text "Success!" keeps popping up about every few minutes... very annoying! At work, where I use my Macbook as well, a similar popup is shown, but the message is blocked

Network Access dialog box keeps popping up too quickly to click

Lately, Compressor (or maybe Batch Monitor) has been causing this problem: While a batch is compressing, a dialog box pops up on the screen for a fraction of a second, way too quickly to read it or click on it. I see "Deny" and "Allow"

I have one song from an album that I bought at itunes that won't play.  Instead a dialog box comes up saying this computer is not authorized.  When I put in my apple id and password, it says this computer is already authorized.  How do I get this fixed?

This album is American Idol Top 4 Season 12 - the song that brings up the dialog box is Emotion by Candice Glover. Is there a way to redown load the album with out repaying?  Is that the best fix?? Thanks, ScottDelete the problem track from the iTune