User Profile

Collapse

Profile Sidebar

Collapse
Caution
Caution
Last Activity: Dec 12 '06, 03:04 AM
Joined: Oct 15 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Caution
    replied to JFrame help
    in Java
    I'm not sure how/if that's going to help me right now. I just need to understand why removeAll() isn't working.

    Here's where I am now, didn't change much, but the submit button at least calls displaySeatingM enu() correctly, the problem is components from mainMenu() don't get removed.
    Code:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    
    public class Airplane extends JFrame {
    ...
    See more | Go to post

    Leave a comment:


  • Caution
    replied to JFrame help
    in Java
    when I scroll over the container, the new buttons then overlap the old ones... I tried removeAll and removing them one by one, not working...
    See more | Go to post

    Leave a comment:


  • Caution
    replied to JFrame help
    in Java
    I haven't learned anything about JPanels yet :\

    I just converted all of the JRadioButtons into JButtons. The button I used to test bringing up the second window works, but it isn't removing any of the previous content in the container.

    I used getContentPane( ).removeAll(); then called the method to load the next screen. It doesn;t look like removeAll() did anything...
    See more | Go to post

    Leave a comment:


  • Caution
    replied to JFrame help
    in Java
    not sure if I was clear enough, really frustrated right now, let me know if I wasn't clear :\
    See more | Go to post

    Leave a comment:


  • Caution
    started a topic JFrame help
    in Java

    JFrame help

    Ok.. bare with me, not sure how to word this.

    I am writing a program that stores airplane data. My problem right now is trying to figure out how to get the navigation to work.

    My program loads my "menu page". All I want to do is figure out how to load different content in the same container when I click a button.

    For instance, right now I am working on just getting displaySeating( ) to work....
    See more | Go to post

  • Caution
    replied to few quick basic html questions
    Any suggestion for the first part?

    I have a function called describeIt() that has two attributes: text and photo. Some of the times I use this function, I don't need a photo, so the text says to use object detection to find out if photo isn't blank so I can run a function to show the photo
    See more | Go to post

    Leave a comment:


  • Caution
    replied to few quick basic html questions
    I need to make an image follow a path around another image after it's clicked by running a function that I've already created, I just can't figure out the syntax to start it
    See more | Go to post

    Leave a comment:


  • Caution
    started a topic few quick basic html questions

    few quick basic html questions

    Doing a project right now, can't figure out how to do a couple things.

    1) One of my functions has a parameter (an image) that doesn't exist. The textbook suggests to use object detection "to determine whether a div element with the value of the photo parameter exists". I've looked at the section talking about object detection for a while and I still can't figure out how to do this.

    .. That's the main problem,...
    See more | Go to post
No activity results to display
Show More
Working...