Extreme Noob Question-How do I make it run by itself?

Well recently I found the source code for Asteroids so I copy it into JCreator and save it as a .java file. Than I make a html file so I can play it. Everything runs fine but how do I make it a stand alone program? I want to be able to put Asteroids on my desktop and click on it and I want the game to run. Well I've been having some trouble. 1. I don't know which file I put on my desktop the .java one or the html one? Also no matter which one I choice, when I click on it, it still asks me what to run it with. I find Java and click on it. That a message poops up on the screen that says "Unable to launch the specified application" and than I remember that when I was looking at Asteroids' source code it said that it was a applet. So I don't know how to change it into an application and I�m not completely sure what I use to run it with. Yes I know in know I rambled (In my topic) but can some help me out?

Yes I know I should learn to make programs without using JCreator but that might take a while (I'm guessing months, if not more) but I just want to do this one program. So does it need to be a application? Or if it okay that it's a applet? Also when I make it into a JAR file well it be able to run by itself?

Similar Messages

  • Noob question: How do I make a loop of frames?

    So I'm trying to make an walking animation but I don't want to move a symbol in motion tween for each part of the leg each time. So how can I make a loop of it? Thanks!

    I'm trying to like, idk how to explain, like for example if I animate animate 1 second of walking, but I want to have 60 seconds of walking and I want an easier way of repeating the same walking sequence, how would I Do that? I can't end the layer or else it blanks out.

  • Simple question - How do you make an onchange event occur in a select list

    Simple question - How do you make an onchange event occur in a select list to fire a process?
    Thanks

    1) Using ApEx Selec list on Submit Item.
    You will create a PL/SQL Process after Submit. -> Conditional Type Request = Expression1. -> Expression1 is the name of your Select List. Process Source - > Procedure you like. For example depending of your select List value you will add rows in different tables.
    2) Javascript This example will change a System parameter value when changed
    <select id="P3_SUBSYSTEM" onchange="location.href='f?p=101:3:2164422329953284::NO::P3_SUBSYSTEM:'+this.options[selectedIndex].value;" size="1" name="p_t21">

  • Hi, i would like to change my account security questions , how can i make iy online?

    hi, i would like to change my account security questions , how can i make iy online?

    Note:
    You can only set up and/or change a Rescue Email Before you forget the questions/answers.
    If you have Forgotten the Security Questions / Answers...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact
    More Info >  Apple ID: All about Apple ID security questions

  • How can I make the ipod stop itself after playing one song?

    How can I make the ipod stop itself after playing one song?

    When playing a song, are the controls at the top of the screen there? (Genius, Shuffle, Loop?)
    If not, tap the center of the page once to expose them
    now keep tapping the circle on the left part of the exposed controls untill a one (1) appears...

  • Hi, I have a iMac Tiger running slowly, how can I make it run faster?

    Hi, I have a iMac Tiger 10.4.11 running slowly, how can I make it run faster?

    Look at what is happenning with your Mac when you run Activity Monitor.
    Macintosh-HD -> Applications -> Utilities -> Activity Monitor
    Click on the CPU tab on the lower half of the window to see how much time you are using. 
    Click on System Memory to get statistics on memory usage.  You should have some free memory. 
    When you have lots of page outs more memory will be helpful.  My entry for entry for Page ins/outs is:
    Page ins/outs: 29163/0
    Notice I have 0 pageouts which says that I am not using my harddrive for extra memory space.  Thus, I have enough memory.
    Activity Monitor has a neat feature where it can display a dynamic dock icon.  In Activity Monitor View > Dock icon > Show cpu history.
    "Reading system memory usage in Activity Monitor :"
    http://docs.info.apple.com/article.html?artnum=107918
    <a href="http://developer.apple.com/documentation/Performance/Conceptual/ManagingMemory/A rticles/AboutMemory.html#//apple_ref/doc/uid/20001880"
    >Managing Memory</a>
    See   Kappy 
    http://discussions.apple.com/message.jspa?messageID=8025223#8025223
    Problems from insufficient RAM and free hard disk space
    http://thexlab.com/faqs/lackofram.html

  • SAP_INFOCUBE_DESIGNS question - how do I make it populate

    Hello All,
        I am on BW 3.5.
    I got an EarlyWatch that said my dimensions on one of cube were too big. I ran SAP_INFOCUBE_DESIGNS in SE38 in my development box and that confirmed it.
    So, I redesigned the cube, reactivated it and reloaded it. I then ran SAP_INFOCUBE_DESIGNS again. The cube doesn't even show up on it. I suspect I have to trigger something in BW to make it populate for that cube. How do I make that happen manually?
    Thanks.
    Dave

    Hi Dave,
    The report SAP_INFOCUBE_DESIGNS reads the number of records from the database table DBA_TABLES.
    If you feel that the report shows wrong data, please check corresponding entry in DBA_TABLES. Have a look at fields LAST_ANALYZED and NUM_ROWS. These will reflect the data you see in SAP_INFOCUBE_DESIGNS.
    The problem may be because there was no fresh statistics.
    Rgds,
    Colum

  • Display Question: How do I make...

    How do I make the iPod display like this when playing a song:
    Song Title
    Artist
    Album
    Genre
    Right now, it is the default:
    Song Title
    Artist
    Album
    Is this even possible?
    Thanks.
    iPod Video (4G?)   Windows XP  

    It's not possible.

  • Supuid Question: How do you make a new Photo Album on iPhone 3g?

    How do you make a new Photo Album on iPhone 3g?
    When I press photos, it just goes to a screen with Camera Roll and no other buttons to press.
    I have read one article that states to click the "Add" button, but I don't see an Add button or a + button.
    Thanks in advance...

    Thanks for the response.
    So, is there no quick way to put the Camera Roll pictures into an album?
    It seems I have to click on those, send to Mobile Me, then download to my computer and put in the folders I am syncing.
    Not every intuitive at all.
    Thanks again.

  • FAQ: How do I make Photoshop run faster, or How do I increase performance?

    Why doesn't Photoshop run faster?
    There are many factors that contribute to the responsiveness of Photoshop. From hardware to software, there a nearly an infinite number of combinations that can boost or hinder Photoshop as it tries to work. Considering factors like how much RAM you have only begins to scratch the surface. Then you have to look at how fast the RAM is and how fast the motherboard will be in supporting it. A computer can only run as fast as its slowest components. Additionally, the hardware resources must be split between all of the running applications. And while you may only be running a web browser at the same time as Photoshop, what about all of the applications running in the background? Security software such as antivirus remains hidden, operating behind the scenes, but it still takes up CPU cycles and RAM. And what about the files you are working with? What are their pixel dimensions? File size on disk? Number of layers, smart objects, styles, and adjustments?
    To start, though, you must make sure you meet or exceed the minimum system requirements:
    Tech specs
    What can I do to make Photoshop run more efficiently?
    There are many factors to take into consideration and may steps that can be taken. Here are a list of resources that go into great detail.
    Optimize performance | Photoshop CS4, CS5, CS6
    How to tune Photoshop CS6 for peak performance
    Photoshop CS6: The Need for Speed
    What about Photoshop taking advantage of the power of my video card?
    With each new release of Photoshop, it will take more advantage of you GPU (Graphic Processing Unit), which can process display information much faster than your CPU. You video card also has its own separate RAM (known as VRAM) for storing this information. However, not all video cards are equal, even if they have the same amount of VRAM. There are different display processing technologies that all video cards do not have access to. These include technologies like OpenGL, OpenCL, and Shader Model. And these technologies have different versions that your video card may or may not have.
    For more information on Photoshop's use of GPU, please review:
    Photoshop CS6 GPU FAQ
    FAQ: What features use the GPU and how do I troubleshoot GPU issues?
    What other performance boosts has Photoshop gained recently?
    While Photoshop tends to gain overall performance upgrades by cleaning up the code to make things run more smoothly with each release, there are a couple new technologies that Photoshop has taken advantage of:
    Adobe Mercury Graphics Engine
    64-bit OS benefits, limitations | Photoshop CS4, CS5, CS6

    Good day!
    Please read this:
    Optimize performance | Photoshop CS4, CS5, CS6, CC
    If you have follow-up questions please read this (specifically »Supply pertinent information for quicker answers«):
    http://forums.adobe.com/docs/DOC-2325
    Regards,
    Pfaffenbichler
    (edited)

  • How can I make Terminal run Java 7 downloaded from the Oracle Website?

    I've downloaded Java 7 from the Oracle website, and I want the Terminal application to run that Java 7 download. I try to run Java programs that require Java 7, but it runs with the Apple Internal Java 6 release. How can I make it so my MacBook Pro runs the download of Java that I downloaded? I know this sounds stupid, but am I routing my machine to run the internal Java 6 version? I have seen many videos in which people with the same software version as me run Java like this with no problem. Could you please let me know why this is happening and how I can fix it? I really want to be able to use the Java 7, particularly because I'm always getting this "Unsupported Major Minor Version 51.0" from many applications that are Terminal based.
    Thanks!

    I think I've answered your question. The Oracle JRE is a web plugin. The JDK is a development kit for applications with embedded Java. Neither one replaces the Apple-distributed Java frameworks for running standalone applications without embedded Java. Any other questions you have should be answered by the Oracle documentation.

  • How do you make the program repeat itself?

    How would I make it so that when the if statement at the end of the code the program starts over from the begining?
    Any help appreciated. Here is the code if you wanna see it.
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    class SuperTester{
         public static void main ( String[] args ){
         // Create array that will hold deck
         Deck[] decko = new Deck[52];     
         // Fill the array with a deck
         decko = Deck.makeDeck();
         // Print new deck
         System.out.println( "PRINT NEW DECK" );
         System.out.println( "" );
         Deck.printDeck( decko );
         // Shuffle the deck ( simulated riffle shuffling )!
         decko = Deck.shuffleDeck( decko );
         // Print the shuffled deck
         System.out.println( "" );
         System.out.println( "PRINT SHUFFLED DECK" );
         System.out.println( "" );
         Deck.printDeck( decko );
         // Print first 5
         System.out.println( "" );
         System.out.println( "PRINT TOP 5" );
         System.out.println( "" );
         Deck.printFirstFive( decko );
         // Print single card
         System.out.println( "" );
         System.out.println( "PRINT SINGLE CARD" );
         System.out.println( "" );
         Deck.printCard ( decko [2] );
         System.out.println( "" );     
         BufferedReader in = new BufferedReader( new InputStreamReader (System.in));
         int input;
         System.out.println( " Do you want to re-run program? " );
         System.out.println( " Push 1 for yes " );
         System.out.println( " Push 2 for no " );
         System.out.println( "" );
    try
         input = Integer.parseInt( in.readLine() );
    catch( Exception e ){
    if ( input == 1 ){
    //WHAT DO I PUT HERE TO MAKE THE PROGRAM REPEAT ITSELF?
         } // end method
    } // end class

    So i should just do something like?
    int x = 0;
    while (x == 0){
    //code
    if (inpu == 1) {
        x == 0;
    }else{ x == 1; }                                                                                                                                                                                                                                                       

  • Super Noob question, how do i share photos?

    My girlfriend and I bought our very first mac yesterday and we love it! We are in the slow transition of putting all our digital files from our PC to our mac and I have come across one problem.
    Do we have to upload every thing twice to put it on both accounts? I Figured once she loaded all the pics on her account I would be able to view and access them with mine.
    There must be some way to do this. If not my memory seems like it would fill up having all the same files loaded twice.
    Again, Super noob here, but loving it so much.
    Thanks.
    Message was edited by: Clearkidc

    Clearkidc
    Welcome to the Apple Discussions.
    There are two ways to share, depending on what you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Remember iPhoto must be running in both accounts for this to work.
    Frankly, as you are brand new to Macs I suggest you use the above until you're more familiar with the machine and the Operating System.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc. then:
    Quit iPhoto in both accounts
    Move the iPhoto Library Folder to an external HD set to ignore permissions. You could also use a dmg.
    (Some people have had success putting the library in the Users/ Shared folder. If you do this make sure the file permissions are set to allow read/write access to everyone.)
    In each account in turn: Hold down the option (or alt) key and launch iPhoto. From the resulting dialogue, select 'Choose Library' and navigate to the new library location. From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.
    Regards
    TD
    Message was edited by: Terence Devlin

  • NEWB question - How do I make my video Black and white?

    I've poked around the manual, google, and the forums. I'm sure the answer is MORE than obvious, but at this time....i cannot figure it out.
    How do i get to a settings/coolor bar with sliders that will allow me to make video B&W, control saturation and brightness?
    Thanks guys!

    GOOD NEWS! Thanks to you guys, I figured it out. Within the 3-way color corrector here is what I did (for future searchers):
    - Go the effects tab.
    - Go to Video Filters> Color Correction> 3-way color corrector.
    - Click and drag the filter on the the clip in the time line.
    - Now double-click the clip you just dragged the filter on to, this should be it up in the viewer up top.
    - No, click on the 3-way color correction tab.
    - You will see 3 color wheels. Ignore them for now and notice the slider underneath them, "Saturation" or "Sat". Take this slide and move it to the very left.
    You now have black and white video.

  • Table Question:  How do you make text in cell rotate?

    Hi....
    I'm working with tables for the first time.  I'm doing a publicity schedule with a simple table. 
    On the top row.....  I put in cells with diagonal lines, so I could fit it many publication along the top row.  I got the diagonal lines in there.  But, when I'm typing the names of the publications (that should go along those diagonal lines), at about 45 degree angle, it just types straight text that fills the cell.  What am I doing wrong, or how do I achieve what I'm trying to do???

    http://indesignsecrets.com/diagonal-headings-in-indesign-tables.php
    Look at the second comment for another method that may well work best for your purposes.
    Take care, Mike

Maybe you are looking for

  • Where are the audio drivers in 10.4.8?

    I use Spark XL for many years as a two track editor for audio with a Motu 896. On my new intel the Apple i/o is found by Spark but the new Motu driver not. Where do I put the Motu in the system? Or do I reinstall the fresh Motudriver? What can I do..

  • What are the CLAD exam topics?

    Hi guys, Here I am a bit confised about the topics covered in CLAD exam. My confusion comes from the fact that in the NI site for preparation guidlines the topics outlined are as follows: Exam Topics (Outline): LabVIEW programming principles LabVIEW

  • DBM - Time Management - CATS Transfer to CO

    Hello DBM Gurus, we are trying to set up Time Management  in our DBM implementation (6.04). the DBM transactions work and create timestamps in CATS as expected but, we seem to have a problem with the integration between CATS an CO. The entries in cat

  • Php if/elseif and mysql

    I was wondering if you could help we with this. PART 1 i have a table of students info. I give the students praise points for doing well in the lesson. I want to compare two students's praise points, if one is bigger (Higher) than the other i want to

  • Issue while running RSEOUT00

    Hi Guru's, I am creating idocs for Master Recipe  using a custom program,after MASTER_IDOC_DISTRIBUTE i am passing idoc number and basictype to RSEOUT00. The Prog RSEOUT00 is successfully getting executed and its giving a popup saying 'X' idoc select