Question About Multiple Choice/True/False Answer Alignment

When I insert a multiple choice or true/false question, The second response (answer B for either question type, is mis-aligned with it's radio button:
The Master Slide for these questions looks like this:
I can't figure out how to align the answer with its radio button.  Any ideas?
I'm using CP 7.0.1.237 on Windows 7.

This is indeed a very random issue. I have seen this in earlier versions of Captivate as well. I always create my template files from the blank theme, so I don't think it is specific to the theme.
As for solutions, sometimes changing the quality of slide to high worked, other times just reopening Captivate worked. Here are some of the solutions I have found on these forums:
1.  Create one more answer than I need (ie for a 4 answer question, create 5 answers) and then delete answer B.
2.  Uninstalled/reinstalled my Captivate 6 software
Sreekanth

Similar Messages

  • Question about Multiple Choice Quiz

    I have multiple choice quiz that I'd like make more complex. The quiz is based on a movie clip with a series of questions on different frames and the same set of answer buttons on each frame (no keyframes on the answer button layer). The user clicks a button to go from one question to the next. There’s a scoring mechanism that displays the number of correct answers (score), the total number of answers clicked (right or wrong), and the percentage of right answers.
    For each question, only the first answer counts toward the score. If you click correctly the first time, a point is added to the score and to the total. If you click incorrectly the first time, a point is added to the total only. After you give the first answer, right or wrong, you can still click on all the answers to see which answer was correct; the correct answer button changes in appearance and the correct sound cue plays but no point is added to the score or total. If you click on a wrong answer after you’ve given the first answer, the incorrect sound cue plays but no point is added to the total. In other words, you can’t help or hurt your score after clicking on the first answer, but you can determine which answer was correct.
    This all works fine.
    But now I want to make a similar exercise that has TWO questions on each frame. The answers both come from the same set of answer buttons. The question is how to preserve the “only the first click counts” mechanism for each of the two answers, since clicking on the answer to the first question will mark the frame as “answer has been given” and prevent any further scoring. There needs to be a point given for each correct answer on the frame.
    Here’s the code from an answer button in the existing quiz. How would I modify this to allow for two answers per frame?
    on (press) {
                    /* This code executes whether this is the first click on the answer button or a subsequent click. If the answer is correct (if this is frame 1 or 3), the correct sound cue plays and the answer button changes its appearance, and if the answer is incorrect (if this is any other frame), the incorrect sound cue plays */
                    if (_currentframe == 1){
                            _parent.snd_obj.playsound("correct", "cue1");
                            answer1_mc.gotoAndStop(2);
                    }else if (_currentframe == 3){
                            _parent.snd_obj.playsound("correct", "cue1");
                            answer1_mc.gotoAndStop(2);
                    }else{
                            _parent.snd_obj.playsound("incorrect", "cue2");
                    /* This code executes only if this is the first click on the answer button. It checks to see if an answer has been clicked in this frame, and if not, it marks the answer as given (so this code will be executed only once) and then adds one point to the total, one point to the score for correct answers, and re-calculates the percentage */
                    if (!_parent.answerGiven[_currentframe]) {
                            _parent.answerGiven[_currentframe] = true;
                            _parent.total = _parent.total + 1;
                            _parent.percent = Math.round((_parent.score / _parent.total) * 100);
                           if (_currentframe == 1){
                                   answer1_mc.gotoAndStop(2);
                                   _parent.score = _parent.score + 1;
                                   _parent.percent = Math.round((_parent.score / _parent.total) * 100);
                          }else if (_currentframe == 3){
                               answer1_mc.gotoAndStop(2);
                               _parent.score = _parent.score + 1;
                               _parent.percent = Math.round((_parent.score / _parent.total) * 100);
                           }else{
                               _parent.snd_obj.playsound("incorrect", "cue2");

    This is indeed a very random issue. I have seen this in earlier versions of Captivate as well. I always create my template files from the blank theme, so I don't think it is specific to the theme.
    As for solutions, sometimes changing the quality of slide to high worked, other times just reopening Captivate worked. Here are some of the solutions I have found on these forums:
    1.  Create one more answer than I need (ie for a 4 answer question, create 5 answers) and then delete answer B.
    2.  Uninstalled/reinstalled my Captivate 6 software
    Sreekanth

  • I bought a Canon 8400F scanner- question about multiple photos being scanne

    Hi,
    I have a question about about scanning photos. It was posted that if you scan something with multiple photos, it will separate the pictures.
    If I put 6 pictures on the scanner, will it automatically scan them and separate them, or is there something in the software where I select it to separate each picture.
    Thank you

    I'm not at my Mac right now but it should be real obvious in the CanoScan software. Open it up and play around. It will jump out at you.
    You don't tell it to select "each" picture. You merely tell it that there are multiple pictures and it then does everything automatically.

  • Question about multiple application modules.

    Hello,
    Suppose I have 2 database schema’s. For both schemas I have 1 application module. All view objects are in the same project.
    For each application module I have an application definition.
    Is it possible to link between these two applications? Because sometimes these database schema’s link to each other and you would like to jump from one application directly to the other.
    For example you have orders locates in 1 DB schema and customers in another DB schema.
    You would want to jump from the order directly to the customer details in the second schema.
    Is this possible? Or do I need to make nested application modules etc?
    I can find very little info about this; the JHS def guide does not offer much information about multiple application modules etc.
    -Anton

    Anton,
    Yes, you can jump aroundd as you like.
    You just can't use view links between VO's based on different db schema tables.
    Nesting AM's doesn't help there, the DB connection of the top-level AM will be used.
    Why don't you create synomyms for the tables in the other schema?
    Steven Davelaar,
    JHeadstart Team.

  • Adobe captivate cs4 : problem about multiple choice

    Hello,
    I use adobe captivate cs4  for E-learning.
    when I use multiple choice in my quize, this choice is drop to under line.
    but  look quiz in this program. it's normal.
    It's appear when I publish only!! 
    (EX.pic)
    Help me please and thx for your answer

    I publish is .exe file

  • Question about multiple CD/DVD-ROM drives..

    One CD/DVD reader, one CD/DVR burner. I like having two, but there is only one CD power port (JCD1). Am I missing something?
    Also, should I master/slave them and put them under IDE1 or separate the two between IDE1 and IDE2?
    Thanks for the advice.

    Wonkanoby,
    understand what your saying.
    So what's
    Quote
    CD-In Connector: JCD1
    The connector is for CD-ROM audio connector.
    p2-18 (31) manual about then.

  • Question about multiple LTS

    Hi,
    I am currently working with the rpd and a general doubt pops up... in the physical layer I have dimensions related, like for example Person, related to another dimension City and for example Age (with Foreign Key join):
    City -< Person
    Age -< Person
    So in order to have a true star schema in the BMM, I need to create a single logical table with these three physical tables, right? The question is how.
    I can add the physical tables as 3 logical table sources, or have one single logical table source, mapped to these three physical tables.
    What is the difference, if any? Can someone explain, please? I always use the first choice (multiple logical table sources, each of them mapped to one physical table), but is it better to have just one single logical table source?
    Thanks in advanced :)

    I'm not surprised that it works fine, but there is a chance that it can lead to some problems. Let me explain.
    You now have three LTS in your Logical dimension table Person.
    Person
    Age
    City
    When you create a report with columns from City and the Fact table, the BI Server will need to set up a join path between Fact and City table. There is no other option then via the physical Person table. So the BI Server decides for you to create a join between fact and person and person and city.
    When the City is joined to other tables in the physical layer then the BI Server might create another join path between Fact and City, because it thinks it is more efficient. This can lead to inccorect results.
    When you add the three physical tables to one LTS, you explicitly tell the BI Server, to create a join path from Fact to City table via the Person table.

  • Question about multiple audio tracks

    Hello,
    I see that imovie has only 2 audio tracks available when creating a movie. I need more than two since I will be working with a voiceover track, a soundtrack and at least one background/environment track all at one time. I won't be able to use the sound recorded with the video so that "track" is not an option.
    My question is; Am I out of luck here and need to spend the 1K for studio pro to add more multiple audio tracks?
    Also, I tried working with garageband but since all of my audio tracks import in at a minimum of 40 beats per minute, the voiceovers are all sped up and sound chipmunky.
    Thanks for any help!

    Well I didn't mean to irritate you...LOL And yes, I realize that this is the iM 6 forum but the gist of my question was related to multiple audio tracks in iM and thought I would ask about it in the forum pertaining to the latest release.
    I had already posted a question in the GB forum regarding the bpm problem and found no answers so I was pretty much about to shelve that idea and forgo the whole garageband thing; this without knowing about the new "swap" features. I just updated to iM 6 yesterday.
    As far as the "on-tape" raw audios: I was working on my movie in iM4. I wanted to add more audio bits but I don't have a proper mic for my G5 so I recorded the audio bits on dv8 tape through my camcorder. I imported the video (the image was the inside of my lens cap!), extracted the audio, took those audio files and imported them into GarageBand. That's when I noticed the bpm problem.
    I'm sorry about the lack of info I originally gave but like I said, I had pretty much gave up on the idea of using GarageBand. I'm pretty new at this and I'm trying to decide what I need in terms of software to get what I want out of my movie. I'd be willing to pay for FCxp but still looking into whether I need to do just that or whether I can get by by using imovie and now it looks like GarageBand too.
    ah, thanks for that
    what irritates me, Prince wrote:
    The audio tracks were voiceovers that came from my
    dv8tape, imported into imovie4.
    ... ehm, but this is the iM 6(six) section, as said,
    iM 6 allows now "swapping" files with GB3... (I'm way
    back in the 90ies.... see my specs... )
    so, video is in some iM, and he wants to use the
    actual "on-tape" raw audios...
    I thnik we need a little more detail...

  • OT: question about multiple root directories

    ok, so on this website i just transferred to a new host, i
    password
    protected a directory, and for many people (possibly
    everyone) it is
    asking for the login info twice or three times before it lets
    you in. i
    contacted the host tech support, who gave me an explanation
    that i don't
    think makes sense. or maybe it does, but i don't think
    applies to my
    problem. and even if it does, they didn't offer any advice on
    how to
    solve the problem, just what might be causing it. bad tech
    support.
    anyway, i had a different idea about what the might be. there
    are two
    root directories on the server: public_html and www. they
    both have the
    same files, and therefore my protected directory is protected
    in both
    places. to me, that seems like it could be why it's asking
    for login
    info more than once.
    so, i want to find out if this is the case by deleting the
    one i'm not
    uploading to. so basically, my question is, if i have chosen
    public_html
    as the directory that i upload to, is it safe to delete the
    www
    directory? or is there a reason that i need two root
    directories and,
    essentially, two copies of my site on the server?
    i realize these are probably questions best suited for my
    host, but i'm
    unimpressed with their tech support so far (though i like
    everything
    else about them), and i'm confident that someone here will be
    able to
    answer this question for me.
    thanks!

    ok, well that's good to know! thanks.
    also, i changed my mind about the tech support response.
    here's what he
    said:
    Typically when you are seeing multiple login prompts like
    what you
    describe it has to do with content/site linking.
    Here is a rather wordy explanation:
    When entering a password-protected web site for the first
    time, you
    will occasionally notice that you are asked for your
    password twice.
    This may happen immediately after you entered the password
    the first
    time, or it may happen when you click on the first link
    after
    authenticating the first time.
    This happens for a very simple, but nonetheless confusing,
    reason,
    again having to do with the way that the browser caches the
    login
    information.
    Login information is stored on the browser based on the
    authentication realm, specified by the AuthName directive,
    and by
    the server name. In this way, the browser can distinguish
    between
    the Private authentication realm on one site and on another.
    So, if
    you go to a site using one name for the server, and internal
    links
    on the server refer to that server by a different name, the
    browser
    has no way to know that they are in fact the same server.
    For example, if you were to visit the URL
    http://example.com/private/,
    which required authentication, your
    browser would remember the supplied username and password,
    associated with the hostname example.com. If, by virtue of
    an
    internal redirect, or fully-qualified HTML links in pages,
    you are
    then sent to the URL
    http://www.example.com/private/,
    even though
    this is really exactly the same URL, the browser does not
    know this
    for sure, and is forced to request the authentication
    information
    again, since example.com and www.example.com
    <
    http://www.example.com> are
    not exactly the same hostname. Your
    browser has no particular way to know that these are the
    same web site.
    at first i thought that didn't make any sense because i've
    been using
    the same url every time. but after paying closer attention
    during the
    login process, i see that he's right. i've been typing in the
    url with
    the www, but once you get logged in, there is no www. so i
    tried typing
    it in without the www, and i got right in with the first
    attempt.
    so, i suppose my question now is, can i make it so that
    typing in the
    url with the www, lets you in on the first login attempt? or
    should i
    just tell everyone to leave out the www?
    thanks for the help!
    Alan wrote:
    >
    >> there are two
    >> root directories on the server: public_html and www
    >>
    >
    > Usually, only one of them is a real folder. The other is
    a symbolic link, a
    > shortcut to the other.
    >
    > Don't delete either of them. You might delete the real
    folder instead of the
    > symbolic link. And- in most hosting setups, you wont
    have permissions to
    > delete the folder anyway. Changing the
    ownership/permissions of those
    > folders prevents panicked help ticket calls.
    >
    > You didn't say what the host says is the reason people
    are asked for
    > passwords several times. What did they say?
    >
    > and- is the first page that opens in the password
    section a framed page?
    > Or- does it draw images and other files from deeper
    nested directories? Such
    > an images folder?
    >
    >

  • Another question about multiple copies

    I've seen several others posting questions lately about making multiple copies, but my question is just slightly different. I'll be making an iDVD project for our 5th Grade Recognition at school. Obviously, I'll be making it on my Mac at home. However, once it's finished and I have my final DVD, I'm going to need to make over 50 copies.
    Last year, when I did the presentation as a Powerpoint show, it was easy enough to use multiple (Windows) computers at school to duplicate. There are 4 computers that I used to just rotate CD's in and out of to make copies.
    Will I be able to use a Windows machine to make copies of an iDVD disk? I know that the computers can burn DVD's, so that's not an issue. I can't remember exactly which programs the computer have. I believe that one is Sonic something. The one that I used for CD's was IRecordNow (or something like that).
    Is there any "protection" placed on the iDVD disk that will prevent me from placing the iDVD into the drive and choosing "copy" in whatever program that I use?

    Is there any "protection" placed on the iDVD disk that will prevent me from placing the iDVD into the drive and choosing "copy" in whatever program that I use?
    No. Only DVDs made in a production house have copy protection applied.
    (31727)

  • Question about multiple class files

    I just started learning JAVA a couple of days ago and the first program I wrote had two classes in one file. here is the program :
    class fib_num {
    public int value;
    public boolean is_even;
    class Fibonacci {
    /** Print the Fibonacci sequence for values < MAX and mark even numbers with an asterick */
    private static final int MAX = 50;
    private static final String Title = "The Fibonacci sequence for values less than " + MAX + ":";
    private static fib_num[] fib = new fib_num[MAX];//This is actually an array of object
    //references to objects of the fib_num class
    public static void main(String[] args) {
    System.out.println(Title);
    //We must initialize each element of the array also !!!!
    for (int i = 0; i < fib.length; i += 1) {
    fib = new fib_num();
    int lo = 1, hi = 1;
    fib[0].value = lo;
    fib[0].is_even = false;
    fib[1].value = hi;
    fib[1].is_even = false;
    for (int i = 2; i < fib.length; i += 1) {
    //create the next Fibonacci number and then save the previous Fibonacci number
    hi = lo + hi;
    lo = hi - lo;
    fib.value = hi;
    //now indicate if the Fibonacci number is even/odd
    if (fib.value % 2 == 0) {
    fib.is_even = true;
    }else {
    fib.is_even = false;
    print (fib);
    //This method prints an array of Fibonacci numbers
    public static void print(fib_num[] array) {
    if (array == null || array.length == 0)
    throw new IllegalArgumentException();
    String mark;
    for (int i = 0; array.value < MAX; i += 1) {
    if (array.is_even) {
    mark = "*";
    }else {
    mark = "";
    System.out.println((i + 1) + ": " + array.value + mark);
    I ran the program and everything went fine. But today I started to write another program with two classes. However the file will not compile and I get an error about interfacing or something. here is the program:
    Note: it's not nearly complete.
    class enumerate {
    //print out all permutations of a list of integers
    public static final int MAX = 4;
    public static int[] initialize(int[] nums) {
    for (int i = 0; i < nums.length; i++) {
    nums = i + 1;
    return nums;
    public static void print(int[] nums) {
    for (int i = 0; i < nums.length; i++) {
    System.out.print(nums);
    System.out.println("");
    public static void swap (int[] nums, int i, int j) {
    int temp = nums;
    nums = nums[j];
    nums[j] = temp;
    public static void main (String[] args) {
    int[] list = new int[MAX];
    list = initialize(list);
    PermutationGenerator x = new PermutationGenerator(5);
    // Systematically generate permutations.
    import java.math.BigInteger;
    public class PermutationGenerator {
    private int[] a;
    private BigInteger numLeft;
    private BigInteger total;
    // Constructor. WARNING: Don't make n too large.
    // Recall that the number of permutations is n!
    // which can be very large, even when n is as small as 20 --
    // 20! = 2,432,902,008,176,640,000 and
    // 21! is too big to fit into a Java long, which is
    // why we use BigInteger instead.
    public PermutationGenerator (int n) {
    if (n < 1) {
    throw new IllegalArgumentException ("Min 1");
    a = new int[n];
    total = getFactorial (n);
    reset ();
    // Reset
    public void reset () {
    for (int i = 0; i < a.length; i++) {
    a = i;
    numLeft = new BigInteger (total.toString ());
    // Return number of permutations not yet generated
    public BigInteger getNumLeft () {
    return numLeft;
    // Return total number of permutations
    public BigInteger getTotal () {
    return total;
    // Are there more permutations?
    public boolean hasMore () {
    return numLeft.compareTo (BigInteger.ZERO) == 1;
    // Compute factorial
    private static BigInteger getFactorial (int n) {
    BigInteger fact = BigInteger.ONE;
    for (int i = n; i > 1; i--) {
    fact = fact.multiply (new BigInteger (Integer.toString (i)));
    return fact;
    // Generate next permutation (algorithm from Rosen p. 284)
    public int[] getNext () {
    if (numLeft.equals (total)) {
    numLeft = numLeft.subtract (BigInteger.ONE);
    return a;
    int temp;
    // Find largest index j with a[j] < a[j+1]
    int j = a.length - 2;
    while (a[j] > a[j+1]) {
    j--;
    // Find index k such that a[k] is smallest integer
    // greater than a[j] to the right of a[j]
    int k = a.length - 1;
    while (a[j] > a[k]) {
    k--;
    // Interchange a[j] and a[k]
    temp = a[k];
    a[k] = a[j];
    a[j] = temp;
    // Put tail end of permutation after jth position in increasing order
    int r = a.length - 1;
    int s = j + 1;
    while (r > s) {
    temp = a[s];
    a[s] = a[r];
    a[r] = temp;
    r--;
    s++;
    numLeft = numLeft.subtract (BigInteger.ONE);
    return a;
    I thought the error had somethin to do with only having one class per .java file since the compiler creates a .class file. But how come my first program had two classes and it was OK. Is it b/c the second class was merely a collection of fields, almost like a simple struct in C?
    Any help would be appreciated. Thanks

    Move the import java.math.BigInteger line to the start of the file.
    Use the "[ code ] [ /code ]" tags around your code when you post, it makes reading it a lot easier.

  • Question about multiple Script declarations

    I'm reading Flash Builder 4 and Flex 4 Bible.
    On page 121 it states:
    "Any particular <fx:Script> element can contain nested ActionScript or use the source property to link to an external Actionscript file, but it cannot do both at the same time. You can, however, have as many <Script> declarations in a single MXML file as you need>"
    My questions are about the last sentence.
    1)  They specifically used <fx:Script> and <Script>. Are these two different entities?
    2)  I've never seen examples of using multiple <fx:Script> declarations in a project. How would this work?
    3)  Are they promoting bad practices by making this claim?
    Thank you
    Kristin

    Although multiple script tags are allowed, I'd guess that they're not commonly used.
    Gordon Smith
    Adobe Flex SDK Team

  • Question about multiple ipods on one computer

    I set up my own ipod nano on my computer and I have been using it without problems for some time. Now someone else in my family got the same ipod nano. I do not know how to set up this new ipod. Do i use the same software already on my computer? Do i just register this new ipod? Please help. Thank you

    Hello!
    Let me explain this in detail for you:
    The Do Not Disconnect screen
    It is normal for your iPod to say this message to you when you connect it to your computer.
    When you need to disconnect it from your computer, you'll first need to eject it.
    There are a few ways to eject your iPod; through iTunes, the Safely Remove Hardware program, and "My Computer".
    Through iTunes
    Ejecting your iPod via iTunes depends on what setting your iPod is on for.
    Connect your iPod. Go into Edit> preferences> iPod. See what setting your iPod is on; "automatic" or "manual".
    Automatic
    If you aren't restoring, or updating your iPod, iTunes should automatically eject your iPod from iTunes. If it doesn't, then right-click the name of your iPod in iTunes, and make sure that the "enable for disk use" is un-checked.
    Manual
    If you need to eject your iPod from iTunes if the setting is "manual", click the little arrow that's next to the name of your iPod in the left source list in iTunes.
    Through the "Safely Remove Hardware" program
    Look at the bottom-right corner of your screen, and there's the system tray icons there. If the "Safely Remove Hardware" icon is there, click on it, select your iPod, and click "stop".
    Through "My Computer"
    Go to "My Computer".
    Find your iPod's listing there (it's typically "E:" or "F:").
    Right-click it, click on "eject".
    For additional information about ejecting your iPod, check this Apple Support articles about it.
    Safely disconnecting your iPod
    About the "Do Not Disconnect" and "OK to Disconnect" screens on iPod
    Any more questions? I'll be glad to try to help you again.
    ~~Kylene

  • Question about the choice of containers of the J2EE application server

    Hello,
    I need to be clarified about the J2EE technology. After read some documentation about J2EE, I saw that it is possible to use different kind of containers in order to develop a J2EE application.
    Actually I use an application server (JONAS) with tomcat embbeded so I develop my application that is composed by EJB and servlet. So when I build and deploy my application at the end I have got a .ear, and everything works well.
    But my questions are:
    1- If I installe a J2EE server where a web server (Tomcat or another) is already installed can I use this web server as my web container.
    2- If it is possible how can I indicate to my J2EE server that I want to use this web server as a web container?
    3- And for my application does the .ear will work or do I have to split my entire application in .jar for the EJB and .WAR for the servlet.
    4- My last question, how my .war and .jar will know that they have to work together, in fact do I have to precise a link between them if yes how?
    Thank you very much for any information

    1. Every J2EE server must have a web container, so one will always be installed. As long as you write a compliant .war that is deployed either stand-alone or as part of an .ear, you can be guaranteed it will deploy and run.
    2. The fact that you are deploying a .war or an .ear that contains 1 or more .wars is enough for the J2EE product to know you need to run the web-application on the web container. Many people uses the terms
    web server and web container interchangeably. Often people are more likely to use the term web server if it runs as a separate process. If it helps, you can think of the J2EE web container as being an implementation of a servlet and jsp container that runs on top of a regular HTTP engine, but J2EE vendors don't necessarily have to have separate products for each.
    3. You can either deploy a standalone .war or embed 1 or more .wars within an .ear.
    4. The fact that you have a .war and an ejb-jar within the same .ear tells the application
    server that they're part of the same application. If you need to talk between your web application
    and the ejb, there are number of ways to express that dependency. E.g., if you want to invoke on
    an ejb through its Remote client view, you would define an ejb-ref in the environment of the web-application.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Beginners Questions about Multiple JPanels in JFrame and event handling

    I am a newbie with SWING, and even a newerbie in Event Handling. So here goes.
    I am writing a maze program. I am placing a maze JPanel (MazePanel) at the center of a JFrame, and a JPanel of buttons (ButtonPanel) on the SOUTH pane. I want the buttons to be able to re-randomize the maze, solve the maze, and also ouput statistics (for percolation theory purposes). I have the backbone all done already, I am just creating the GUI now. I am just figuring out EventHandlers and such through the tutorials, but I have a question. I am adding an ActionListener to the buttons which are on the ButtonPanel which are on JFrame (SOUTH) Panel. But who do I make the ActionListener--Basically the one doing the work when the button is pressed. Do I make the JFrame the ActionListener or the MazePanel the ActionListener. I need something which has access to the maze data (the backbone), and which can call the Maze.randomize() function. I'm trying to make a good design and not just slop too.
    Also I was wondering if I do this
    JButton.addActionListener(MazePanel), and lets say public MazePanel implments ActionListenerdoesn't adding this whole big object to another object (namely the button actionlistener) seem really inefficient? And how does something that is nested in a JPanel on JFrame x get information from something nested in another JPanel on a JFrame x.
    Basically how is the Buttons going to talk to the maze when the maze is so far away?

    I'm not an expert, but here's what I'd do....
    You already have your business logic (the Maze classes), you said. I'm assuming you have some kind of public interface to this business logic. I would create a new class like "MazeGui" that extends JFrame, and then create the GUI using this class. Add buttons and panels as needed to get it to look the way you want. Then for each button that does a specific thing, add an anonymous ActionListener class to it and put whatever code you need inside the ActionListener that accesses the business logic classes and does what it needs to.
    This is the idea, though my code is totally unchecked and won't compile:
    import deadseasquirrels.mazestuff.*;
    public class MazeGui extends JFrame {
      JPanel buttonPanel = new JPanel();
      JPanel mazePanel = new JPanel();
      JButton randomizeB = new JButton();
      JButton solveB = new JButton();
      JButton statsB = new JButton();
      // create instanc(es) of your Maze business logic class(es)
      myMaze = new MazeClass();
      // add the components to the MazeGui content pane
      Component cp = getContentPane();
      cp.add(); // this doesn't do anything, but in your code you'd add
                // all of your components to the MazeGui's contentpane
      randomizeB.addActionListener(new ActionListener {
        void actionPerformed() {
          Maze newMaze = myMaze.getRandomMazeLayout();
          mazePanel.setContents(newMaze); // this is not a real method!
                                          // it's just to give you the idea
                                          // of how to manipulate the JPanel
                                          // representing your Maze diagram,
                                          // you will probably be changing a
                                          // subcomponent of the JPanel
      solveB.addActionListener(new ActionListener {
        void actionPerformed() {
          Solution mySolution = myMaze.getSolution();
          mazePanel.setContents(mySolution); // again, this is not a real
                                             // method but it shows you how
                                             // the ActionListener can
                                             // access your GUI
      // repeat with any other buttons you need
      public static void main(String[] args) {
        MazeGui mg = new MazeGui();
        mg.setVisible(true);
        // etc...
    }

Maybe you are looking for

  • Can i use multiple ipods on one account

    How do i use multiple ipods on one account so that we can share the music that we own and has been downloaded from cd's

  • What does it take to build smart card applications?

    Just out of interest I was wondering what does it take to build smart card applications: - Can I do it at home with my PC or do I have to have access to expensive hardware? - How difficult is it to master given that I do it on my own with no help. Do

  • Application Sever - Enterprise Manager

    I have forgot the password for Enterprise. Is there any way login into the enterprise manager with some system default userid and password. Can you inform what is the default userid and password for enterprise manager.

  • HSB Color Space Question - How Many Colors Are There In Photoshop

    Hello guys, I have a sort of basic question that I have been trying to figure out for a few days. I am trying to find out how many colors there are in the Color Picker  when the Hue radio button is selected. I know there are 256^3 RGB (#Hex) colors,

  • Capture card

    Hi, I would like to capture my imac's screen with my macbook pro. (they both have thunderbolt connections.) I would like to record some gameplay and stream. What capture card would you recommend? And what quality would be fine recording? Specs: MacBo