Results 1 to 6 of 6

Thread: whats wrong with this code?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    whats wrong with this code?

    hi, im trying to put a marquee with this code, whats wrong with this code?

    i attach the code..

    br,
    Attached Files Attached Files

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: whats wrong with this code?

    1- This line doesn't make since, if it's a method give it a return type
    Code:
    public indearcalc()
    2- you are call leer_opciones(); which doesn't exist in your code
    3- openCommand & optionsCommand doesn't exist in your class
    4- You have 2 definitions of [private void menu()] and [public void startApp()]. You can't do that in OOP
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    Re: whats wrong with this code?

    so, what should i do? any suggestion..

    sorry im newbie on to java..

    br

  4. #4
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: whats wrong with this code?

    You'll have to do some reading on Java and JME before you start working on it.
    You can't just start coding, you'll have to do some learning first
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    Re: whats wrong with this code?

    thanks

    now i have a ticker banner

  6. #6
    Junior Member
    Join Date
    Jul 2006
    Posts
    30

    Re: whats wrong with this code?

    After looking over your code, I agree with ComputerJy also you have put all your code into one place onstead of have several smaller pieces of code that get called form each other or the main form.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width