User Profile

Collapse

Profile Sidebar

Collapse
Stubert
Stubert
Last Activity: Dec 11 '08, 04:35 PM
Joined: Dec 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Stubert
    replied to Drop down menu
    Hi, I've used a CSS menu on my website that I got from a tutorial on this website:

    CSS Menu Tutorial

    Hopefully this will help you understand how to implement a drop-down menu.

    Thanks,

    Stuart
    See more | Go to post

    Leave a comment:


  • Stubert
    replied to IE7 display issues
    Oh wells, thanks anyway. I'll go set them up now and just sulk at IE for a bit.

    Thanks,

    Stuart...
    See more | Go to post

    Leave a comment:


  • Stubert
    started a topic IE7 display issues

    IE7 display issues

    Hey, I was just wondering if anyone could diagnose the error in my CSS/HTML for my website, it displays how I want it to on FF but not in IE7.

    Here is the link to the site:

    Website

    I am wanting the navigation bar, to be inside the wrapper div, but it displays outside when viewed in IE7.

    If you want me to post the code please say and I will.

    Thanks, Stu.
    See more | Go to post

  • Stubert
    replied to JMenuItem ActionListener help
    in Java
    Thanks for the replies, at first I was using a stupid amount of if statements in one actionPerformed method and it was just too messy to understand, hence the first post. I'm going to look up the Command pattern now and I'll get back to you guys.

    Thanks again,

    Stuart
    See more | Go to post

    Leave a comment:


  • Stubert
    started a topic JMenuItem ActionListener help
    in Java

    JMenuItem ActionListener help

    Hi there just a quick question, if I have multiple JMenuItems do I need to create an inner class ActionListener for each and every JMenuItem I create? Or is there a more efficient way of doing it?

    I know I could just use event.getSource and check it all in one big ActionListener, but I've been informed that this is bad pracitce and should be done using inner classes.

    Just wondering if there were any other ways of achieving...
    See more | Go to post

  • Stubert
    started a topic JCreator Classpath issue
    in Java

    JCreator Classpath issue

    Hey guys I'm using a Window Vista laptop and I've been away from it for a while, but since I've came back I've been trying to compile programs on JCreator LE 4.5, it must be something ridiculous but I've tried everything I can possibly think of...

    This is the output from my file, which only displays "Hello World" to the console:

    --------------------Configuration: GUI2 - JDK version 1.6.0_03 <Default>...
    See more | Go to post

  • Stubert
    replied to String comparisons
    in Java
    So let me get this right, when you delcare a single string "Hey there" it gets assigned to a location in memory, say Location 56 for example. Every new string that is declared which has the value "Hey there" just points to the memory location 56. Whereas if you create a new instance of the string it creates a new instance of it in memory too at location 57?
    See more | Go to post

    Leave a comment:


  • Stubert
    replied to traffic light
    in Java
    Have you made sure that 'm' has been initialised? If it is has not then it will either never execute the loop because the program does not know what 'm' is..
    See more | Go to post

    Leave a comment:


  • Stubert
    replied to Encoding
    Hey I know nothing of Python but maybe one of your errors is coming from the declaration of the letter 'f' in your dictionary, you've only used one ' and not closed it.
    See more | Go to post

    Leave a comment:


  • Stubert
    replied to ATM sim
    in Java
    Got my answers, closed :)
    See more | Go to post

    Leave a comment:


  • Stubert
    replied to gui problem
    in Java
    Ahh I think I get it, the @Override annotation is used to tell the compiler that you DO want to override the method but if you have done something wrong, ie declared the method with an argument, it will warn you that you have done it incorrectly and will NOT infact be overriding the method you wanted to?

    - Stu
    See more | Go to post

    Leave a comment:


  • Stubert
    replied to gui problem
    in Java
    gui problem

    Hi there I was just wondering if you could explain what @Override does, I had a look around on Google but couldn't really come up with anything except that it overrides the method in the superclass, which understand. But are the methods you're using in a superclass?

    I know this is a bit off topic but I've not came across it before.

    Thanks
    - Stu
    See more | Go to post
    Last edited by Stubert; Jan 3 '08, 09:46 PM. Reason: Can't see text

    Leave a comment:


  • Stubert
    replied to ATM sim
    in Java
    Atm




    Nevermind... I done fixed it myself!...
    See more | Go to post
    Last edited by Stubert; Jan 3 '08, 11:41 AM. Reason: Never typed anything...

    Leave a comment:


  • Stubert
    replied to ATM sim
    in Java
    Right, I'm back again. I need some help with my menu I'm creating, still for this same project I'm wanting to print out a menu, allow the user to make a choice then do the appropriate action. I've got most of it working so far, but I need to define the limits on how much they can deposit, which varies on which kind of account they have. Now what I was thinking of doing was, when the user enters a choice from the menu I get the program to check wihch...
    See more | Go to post

    Leave a comment:


  • Stubert
    replied to Cellspacing different between browsers
    If I were you I'd get rid of the table layout all together and use CSS to structure your page. Also I'd get the web developer toolbar for Firefox then validate the site until it is green-lighted. It might help. As for what is creating the differences in the page... I dunno sorry....
    See more | Go to post

    Leave a comment:


  • Stubert
    replied to ATM sim
    in Java
    I was thinking of doing this when I was at work. I had previously implemented a do while loop but I was trying something like this:

    Code:
    do{
    //all the code from the last post//
    }while(balance>maxDeposit
    The way you're suggesting it makes more sense, as there will be no change to the balance in the first place so the need to change it back is gone.

    So I've realised that...
    See more | Go to post

    Leave a comment:


  • Stubert
    started a topic ATM sim
    in Java

    ATM sim

    Hi there I am trying to write an ATM sim, but am having some trouble when it comes to depositing cash into the accounts..

    I need to make sure that the user cannot enter more than £3000 into an account, this is their maxDeposit. But the code I ahve implemented so far, alerts them and prompts them to enter a different value, then if the user enters the same number it will just add it anyway.

    Here is some of the code:...
    See more | Go to post
No activity results to display
Show More
Working...