Please note that new user registrations disabled at this time.

The Succeeder Stronghold

Anything goes... just keep it clean.
User avatar
Ravager
Posts: 22464
Joined: Mon Jun 27, 2005 1:50 pm

Post by Ravager »

[QUOTE=Lestat][url="http://ohsnap.ytmnd.com/"]This one[/url]'s for Rav.

And now I'm off to sleep.[/QUOTE]
Haha. Thanks so much. That made me jump... :rolleyes: :laugh:
Goodnight Lestat.
User avatar
shana
Posts: 1591
Joined: Mon Mar 07, 2005 2:44 pm
Contact:

Post by shana »

I jumped, too--my volume is waaayy too loud.
User avatar
Ravager
Posts: 22464
Joined: Mon Jun 27, 2005 1:50 pm

Post by Ravager »

Glad it wasn't just me caught out then... :D
User avatar
werebeargoddess
Posts: 1096
Joined: Sat May 01, 2004 9:05 am
Location: Stargazing in a field
Contact:

Post by werebeargoddess »

So did I- I actually closed out of it, since I was surprised. :o
I wanted to change my sig, but I can't think of anything to change it to :(
User avatar
Ravager
Posts: 22464
Joined: Mon Jun 27, 2005 1:50 pm

Post by Ravager »

Hehe.

Haven't seen you around in a while...how are you WBG? :D
User avatar
werebeargoddess
Posts: 1096
Joined: Sat May 01, 2004 9:05 am
Location: Stargazing in a field
Contact:

Post by werebeargoddess »

pretty good- I had a bit of a fever, but it's getting better.
I wanted to change my sig, but I can't think of anything to change it to :(
User avatar
Gunofgod
Posts: 1394
Joined: Fri Nov 04, 2005 8:27 am
Location: Igevere

Post by Gunofgod »

The Stronghold needs to be bumped! *BUMP*
Respect the Fury of the Furries. :)
User avatar
dj_venom
Posts: 4416
Joined: Mon Sep 27, 2004 7:00 am
Location: The biggest island in the world
Contact:

Post by dj_venom »

@WBG: Haven't seen you around SYM at all ;) , though I know you're not new. Hi!

@Gog: A man with a sense of right and wrong :p .
In memorian: Fiona; Ravager; Lestat; Phreddie; and all of those from the 1500 incident. Lest we forget.
User avatar
Ravager
Posts: 22464
Joined: Mon Jun 27, 2005 1:50 pm

Post by Ravager »

[QUOTE=dj_venom]@Gog: A man with a sense of right and wrong :p .[/QUOTE]
Definitely...and I'll do the same... :p
User avatar
dj_venom
Posts: 4416
Joined: Mon Sep 27, 2004 7:00 am
Location: The biggest island in the world
Contact:

Post by dj_venom »

How dare you bump this thread to the top of the list.
In memorian: Fiona; Ravager; Lestat; Phreddie; and all of those from the 1500 incident. Lest we forget.
User avatar
Ravager
Posts: 22464
Joined: Mon Jun 27, 2005 1:50 pm

Post by Ravager »

How dare I? Well, I get to the thread, see it shamefully inactive then post to bump it, easy as that. :p ;)
User avatar
dj_venom
Posts: 4416
Joined: Mon Sep 27, 2004 7:00 am
Location: The biggest island in the world
Contact:

Post by dj_venom »

I didn't ask how did you do it, I asked how you dared do it? :p

Hi Rav.
In memorian: Fiona; Ravager; Lestat; Phreddie; and all of those from the 1500 incident. Lest we forget.
User avatar
Ravager
Posts: 22464
Joined: Mon Jun 27, 2005 1:50 pm

Post by Ravager »

I know, I just wanted to ignore the question and answer a better one. :laugh: ;)

Hiya! How are you?
User avatar
dj_venom
Posts: 4416
Joined: Mon Sep 27, 2004 7:00 am
Location: The biggest island in the world
Contact:

Post by dj_venom »

We lost soccer 7-0 :( . Well, we were going alright until our keeper almost passed out, then we changed to someone who wasn't so good... :rolleyes: . 5 goals, all of them a result of poor keeping. But other than that, we went well considering...

Now, I'm java coding, and I have a question. It's to do with applets, and me having no idea how to do them. I have the code and all that is required, but I'm clueless as to implementing it. Also, I'm confused about Applet and JApplet? :confused:
In memorian: Fiona; Ravager; Lestat; Phreddie; and all of those from the 1500 incident. Lest we forget.
User avatar
Ravager
Posts: 22464
Joined: Mon Jun 27, 2005 1:50 pm

Post by Ravager »

Ouch. Unlucky...

You need to write a little HTML file like the following (if you don't already have it):

Code: Select all

<HTML>
<APPLET code="Class name" WIDTH = 300 HEIGHT = 200 ></APPLET>
</HTML>
As for the JApplet/Applet...the JApplet is the fancier version using Swing stuff, if you haven't learnt about the Swing stuff yet, it's probably just worth leaving it alone for now...

Just looking through my own Java stuff actually, I have an exam in it on Monday.
User avatar
dj_venom
Posts: 4416
Joined: Mon Sep 27, 2004 7:00 am
Location: The biggest island in the world
Contact:

Post by dj_venom »

I'll give you some more info. Our teacher, being the resourceful person, decided to make our assignment decoding some code she had stuffed up. However she simply copied some code off the internet. A quick search for the name of the game returns the first result of being the correct code :laugh: . So [url="http://www.sun.com/aboutsun/comm_invest/jgp/docs/camel_game.pdf"]here[/url] it is. The final few pages contain the applet code. However I have no idea how to actually get it to work.

And trust me, I'm fine with ignoring it. :D
In memorian: Fiona; Ravager; Lestat; Phreddie; and all of those from the 1500 incident. Lest we forget.
User avatar
Ravager
Posts: 22464
Joined: Mon Jun 27, 2005 1:50 pm

Post by Ravager »

Heh. I'd still prefer your teacher over my lecturer or to be studying stuff like that over the advanced stuff I have been. :rolleyes:
So, you write that code, that's fine, save it and you should end up with a CamelApplet.java and CamelApplet.class file (among others depending on the used program). Then you write the HTML file in Notepad or something, make sure it's saved as a .HTML file, then you open that file using a browser which will display the applet.
Applets were always designed to be viewed on the Internet anyways.

There's also the shortcut code, add a line like this near the top, just under the imports: //<applet code=Classname.class width=500 height=400></applet>
(Change classname.class to CamelApplet.class etc)
But using the HTML way is the proper way...
User avatar
dj_venom
Posts: 4416
Joined: Mon Sep 27, 2004 7:00 am
Location: The biggest island in the world
Contact:

Post by dj_venom »

So do I keep any of the original code that the applet file creates? Or do I simply overwrite all?

Code: Select all

/*
 * NewApplet.java
 *
 * Created on 5 May 2006, 09:27
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package Templates.Classes;

/**
 *
 * @author 4302
 */
public class Applet extends java.applet.Applet {
    
    /** Initialization method that will be called after the applet is loaded
     *  into the browser.
     */
    public void init() {
        // TODO start asynchronous download of heavy resources
    }
    
    // TODO overwrite start(), stop() and destroy() methods
}
That's the original code in an Applet file... where do I place the code?
In memorian: Fiona; Ravager; Lestat; Phreddie; and all of those from the 1500 incident. Lest we forget.
User avatar
Greg.
Posts: 1938
Joined: Sun Oct 31, 2004 3:56 pm
Location: Here, now
Contact:

Post by Greg. »

Greetings people.

Liking the new avatar Ravachu... I have to say your white bunny was better, but still...
User avatar
Ravager
Posts: 22464
Joined: Mon Jun 27, 2005 1:50 pm

Post by Ravager »

@DJV, the original code is fine, you just need to create a new file which uses that code (the webpage html)

@Greg, thanks! :p
I'll probably go back to the bunny eventually.
Locked