Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Java applets

  1. #1
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Java applets

    Hey me and a friend are writing a java applet and want it to use multiple forms, although we havnt found ne sites saying u can do this - ne advice?

    thank you

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    What exactly do you mean by "multiple forms"? Please elaborate.

  • #3
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well we use a program called netbeans to code in, basically we are coding a game and we need to have several screens,

    mainly though one for options and one for the actual playing,

    so we need to be able to link the gui forms together - ie if they choose play (after choosing settings on the options page) the new form/screen/page appears with the game itself

  • #4
    New Coder
    Join Date
    Nov 2004
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, since most of what I do is client only, I may not have a good answer, but hopefully others can tell me whether I'm thinking correctly or not. I believe you can use java webstart to run a normal app, and by that I mean a JFrame based app as opposed to an applet. I think users would rather run your game through java webstart than in a browser.

    If you are using frames, you can just have your classes call other frames, which can accept input. This input could be fed into a data managing class. Before I would even start on this game, I would practice on implementing some guis first. You don't sound like you have a lot of experience so I wouldn't recommend developing a game as your first ui option. Then, after you have some experience, i would spend some time with your friend and talk about the design of your program before you ever write a line of code. This will keep you much more organized. Good luck. I'm sure you'll have more questions, so keep them coming.

  • #5
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thx for the reply - And yeah i do have much experience but every language ive learnt has been through doing something harder than the basics - Its my way of learning.

    I appreciate the advice (and dont worry the games not other complicated )


  •  

    Posting Permissions

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