Help - Applet Question ???

Hi, I thought I post it yesterday, but I could not find it.
I write a simple applet as follow:
public class demoapplet extends Applet {
private StringBuffer buf = new StringBuffer(1000);
public void init() { }
public void start() {
//display start info
disp("start");
buff = processXML();
sendHTTP(buff);
//display start info
disp("end");
public void disp(string st) {
Graphics g;
g.drawString(st,10,60);
public stringbuffer processXML() { ...}
public void sendHTTP(stringbuffer buf) {... }
My question:
1. How to init Graphics object?
If I use paint method, I can not pass string variable.
2. How to send stringbuffer to another application
via HTTP?
3. Any problem I put my processXML and sendHTTP in start method? It only be called once when user load html page.
Many thanks

Hey Hi! david...
first of all make your questions a bit more clear,
about getting the graphics object you can get it by
Graphics g=getGraphics();
in the Applet.
Also about getting the string in the paint method of the Applet. you can declare a string variable in the class and it would be accessible in the paint method.
I first of all suggest you to get your basics right ..
regards
vikram

Similar Messages

  • I asked a question and accidentally clicked "this helped my question" . how can i delete that

    Yeah i really am stupid. i clicked the "this helped my question" button to somthing that didnt help at all! any way to delete it?

    No, the point award system does not permit retraction once awarded.  You just have to let it go.

  • Online Help Related Questions

    Hi
    FYI there is no longer a dedicated place on Microsoft.com for online help related questions.  
    We are told that VS General (here) is the best place for help questions.
    Note that these sites are a good place to get help on help (Microsoft and MVP presence):
    http://groups.yahoo.com/group/hatt/ -- for WinHelp & HTML Help & general help discussion
    http://tech.groups.yahoo.com/group/MSHelpViewer/ -- For HelpViewer help (VS 2010/2012 help; Windows 8 help)
    http://tech.groups.yahoo.com/group/MSHelp2/  -- For MS Help 2.x help (VS 2002/2003/2005/2008 help)
    Feel free to ask questions on this thread if you need to. At least then we can find your post. 
    You can also email the VS/MSDN help team directly -- [email protected]
    Please let them know how you feel about the lack of support for Online Help in the forums.
    Rob
    www.helpmvp.com -- Various Help resources
    Rob Chandler Help MVP www.helpwareGroup.com | mshcmigrate.helpmvp.com | hv2.helpmvp.com

    Actually, we cannot (at least anymore) directly email the team. I tried and got a reject from the mail server.  So, I'm going to post here so I can feel better knowing I said something and then I can get back to programming :-)
    Ok, I’ve been developing Windows apps since Win 3.1 (yeah, a long time) and have always admired the Microsoft attitude towards Developers and it’s desire to educate and empower R&D.
    So, I’m wondering what’s going on?  Why am I being asked to have an account to develop anything for MY own PC?  Why am I being asked for my Microsoft account password, repeatedly, when I’m just looking up documentation on UserControl or C3 keywords…
    repeatedly?  This is nothing short of annoying and it gives me pause and concern about the ecosystem.  Is the plan to lock down programmer’s capabilities, knowledge and tools?
    I’m involved in the TAP program for Windows 10 and have voiced concerns in the same category with regard to installation and deployment of Universal Apps.  Security is not a reasonable excuse.  Some of us love to program and actually
    control their PCs.  We are not planning to sell everything we write on the Windows Store.  What happened to programming something cool for your home network or just for friends?  We need, and used to have, Microsoft’s support in doing
    this sort of thing.  Documentation and tools are more important now than ever.  I’m saddened to see the direction things are heading…
    If there is a sane reason I’m being badgered to ‘log in’ to read .NET documentation every hour, please share.  If not, please consider lobbying to get things back on track.
    Thanks

  • "HELP" NEED QUESTION ANSWERED, ":PLEASE":

    "HELP" NEED QUESTION ANSWERED, ":PLEASE": OH DEAR GOD SEND SOMEONE TO ME WITH THE ANSWER.

    You need patience. This isn't instant answers, you may have to wait for an answer. Your questions are here - locking this thread.
    https://support.mozilla.com/en-US/questions/859594 <br />
    https://support.mozilla.com/en-US/questions/859665

  • Question please help as soon as possible if you can-- Applet question

    Is there a way to separate a string onto different lines when you draw a string to the applet like there is with escape sequences in a regular application? Thanks

    ok my apologies, I'm not great at explaining things...I have a loop to generate and shuffle a deck of cards. The loop also generates a random number which is equal to a certain string value. Here I'll just show you the code...it will be easier that way:
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.util.Random;
    import java.lang.*;
    public class CardGame extends Applet implements ActionListener {
         Button Deal;
         Button NewGame;
         Button PutDown;
         Button PickUp;
         Color bgColor;
         Color rectColor;
         Image deck;
         MediaTracker mt;
         CheckboxGroup radioGroup;
         Checkbox radio1;
         Checkbox radio2;
         Checkbox radio3;
         Checkbox radio4;
         Checkbox radio5;
         Checkbox radio6;
         Checkbox radio7;
         Checkbox radio8;
    //     String[] faceValue = {"ACE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", "NINE", "TEN", "JACK", "QUEEN", "KING"};
    //     String[] suitValue = {"CLUBS", "HEARTS", "SPADES", "DIAMONDS"};
         int rndFaceValue;
         int rndmSuitValue;
         int[] valueArray = new int[52];
         String[] array = new String[52];
         int[] indexArray = new int[8];
         int i;
         int w;
         String card1;
         String card2;
         String card3;
         String card4;
         String card5;
         String card6;
         String card7;
         String card8;
         String cardOnTable;
         String checkRad;
         String removeCard;
         public void init()
              setLayout(null);
              setSize(1000, 600);     
              mt = new MediaTracker(this);
              Deal = new Button("Deal");
              NewGame = new Button("New Game");
              PutDown = new Button("Put Down");
              PickUp = new Button("Pick Up");
              Deal.setBounds(750, 450, 75, 25);
              NewGame.setBounds(750, 475, 75, 25);
              PutDown.setBounds(750, 425, 75, 25);
              PickUp.setBounds(750, 400, 75, 25);
              add(Deal);
              add(NewGame);
              add(PutDown);
              add(PickUp);
              Deal.addActionListener(this);
              NewGame.addActionListener(this);
              PutDown.addActionListener(this);
              PickUp.addActionListener(this);
              PutDown.setEnabled(false);
              PickUp.setEnabled(false);
              radioGroup = new CheckboxGroup();
              radio1 = new Checkbox(" ", radioGroup, false);
              radio2 = new Checkbox(" ", radioGroup, false);
              radio3 = new Checkbox(" ", radioGroup, false);
              radio4 = new Checkbox(" ", radioGroup, false);
              radio5 = new Checkbox(" ", radioGroup, false);
              radio6 = new Checkbox(" ", radioGroup, false);
              radio7 = new Checkbox(" ", radioGroup, false);
              radio8 = new Checkbox(" ", radioGroup, true);
              add(radio1);
              add(radio2);
              add(radio3);
              add(radio4);
              add(radio5);
              add(radio6);
              add(radio7);
              add(radio8);
              radio1.setBounds(143, 525, 10, 10);
              radio2.setBounds(222, 525, 10, 10);
              radio3.setBounds(301, 525, 10, 10);
              radio4.setBounds(380, 525, 10, 10);
              radio5.setBounds(459, 525, 10, 10);
              radio6.setBounds(538, 525, 10, 10);
              radio7.setBounds(617, 525, 10, 10);
              radio8.setBounds(840, 385, 10, 10);
                   Random generator = new Random();
              int rndmNum = generator.nextInt(52) + 1;
         //     int[] valueArray = new int[52];
         //     String[] array = new String[52];
         //     int i;
              for(i=0; i<52; i++)
                   int nRND = rndmNum;
                   boolean valueUsed = false;
                   boolean okToGo = false;
                   while(valueUsed == false && okToGo == false)
                        for(int x = 0; x < i+1; x++)
                             if (valueArray[x] == nRND)
                                  valueUsed = true;
                                  x = i;
                        if (valueUsed == true)
                             nRND = generator.nextInt(52) + 1;
                             valueUsed = false;
                        else
                             okToGo = true;
                             valueArray[i] = nRND;
                   if (nRND == 1)
                        array[i] = "Ace of Clubs";
                   if (nRND == 2)
                        array[i] = "Two of Clubs";
                   if (nRND == 3)
                        array[i] = "Three of Clubs";
                   if (nRND == 4)
                        array[i] = "Four of Clubs";
                   if (nRND == 5)
                        array[i] = "Five of Clubs";
                   if (nRND == 6)
                        array[i] = "Six of Clubs";
                   if (nRND == 7)
                        array[i] = "Seven of Clubs";
                   if (nRND == 8)
                        array[i] = "Eight of Clubs";
                   if (nRND == 9)
                        array[i] = "Nine of Clubs";
                   if (nRND == 10)
                        array[i] = "Ten of Clubs";
                   if (nRND == 11)
                        array[i] = "Jack of Clubs";
                   if (nRND == 12)
                        array[i] = "Queen of Clubs";
                   if (nRND == 13)
                        array[i] = "King of Clubs";
                   if (nRND == 14)
                        array[i] = "Ace of Hearts";
                   if (nRND == 15)
                        array[i] = "Two of Hearts";
                   if (nRND == 16)
                        array[i] = "Three of Hearts";
                   if (nRND == 17)
                        array[i] = "Four of Hearts";
                   if (nRND == 18)
                        array[i] = "Five of Hearts";
                   if (nRND == 19)
                        array[i] = "Six of Hearts";
                   if (nRND == 20)
                        array[i] = "Seven of Hearts";
                   if (nRND == 21)
                        array[i] = "Eight of Hearts";
                   if (nRND == 22)
                        array[i] = "Nine of Hearts";
                   if (nRND == 23)
                        array[i] = "Ten of Hearts";
                   if (nRND == 24)
                        array[i] = "Jack of Hearts";
                   if (nRND == 25)
                        array[i] = "Queen of Hearts";
                   if (nRND == 26)
                        array[i] = "King of Hearts";
                   if (nRND == 27)
                        array[i] = "Ace of Spades";
                   if (nRND == 28)
                        array[i] = "Two of Spades";
                   if (nRND == 29)
                        array[i] = "Three of Spades";
                   if (nRND == 30)
                        array[i] = "Four of Spades";
                   if (nRND == 31)
                        array[i] = "Five of Spades";
                   if (nRND == 32)
                        array[i] = "Six of Spades";
                   if (nRND == 33)
                        array[i] = "Seven of Spades";
                   if (nRND == 34)
                        array[i] = "Eight of Spades";
                   if (nRND == 35)
                        array[i] = "Nine of Spades";
                   if (nRND == 36)
                        array[i] = "Ten of Spades";
                   if (nRND == 37)
                        array[i] = "Jack of Spades";
                   if (nRND == 38)
                        array[i] = "Queen of Spades";
                   if (nRND == 39)
                        array[i] = "King of Spades";
                   if (nRND == 40)
                        array[i] = "Ace of Diamonds";
                   if (nRND == 41)
                        array[i] = "Two of Diamonds";
                   if (nRND == 42)
                        array[i] = "Three of Diamonds";
                   if (nRND == 43)
                        array[i] = "Four of Diamonds";
                   if (nRND == 44)
                        array[i] = "Five of Diamonds";
                   if (nRND == 45)
                        array[i] = "Six of Diamonds";
                   if (nRND == 46)
                        array[i] = "Seven of Diamonds";
                   if (nRND == 47)
                        array[i] = "Eight of Diamonds";
                   if (nRND == 48)
                        array[i] = "Nine of Diamonds";
                   if (nRND == 49)
                        array[i] = "Ten of Diamonds";
                   if (nRND == 50)
                        array[i] = "Jack of Diamonds";
                   if (nRND == 51)
                        array[i] = "Queen of Diamonds";
                   if (nRND == 52)
                        array[i] = "King of Diamonds";
         public void actionPerformed(ActionEvent evt)
              if(evt.getSource() == Deal)
                   card1 = array[0];
                   card2 = array[1];
                   card3 = array[2];
                   card4 = array[3];
                   card5 = array[4];
                   card6 = array[5];
                   card7 = array[6];
                   cardOnTable = array[7];
                   indexArray[0] = 0;
                   indexArray[1] = 1;
                   indexArray[2] = 2;
                   indexArray[3] = 3;
                   indexArray[4] = 4;
                   indexArray[5] = 5;
                   indexArray[6] = 6;
              //     indexArray[7] = 0;
                   w = 8;
                   Deal.setEnabled(false);
                   PickUp.setEnabled(true);
                   repaint();
              if (evt.getSource() == PutDown)
                   if(radio1.getState())
                        checkRad = array[indexArray[0]];
                        card1 =" ";
                        cardOnTable = " ";
                   else if(radio2.getState())
                        checkRad = array[indexArray[1]];
                        card2 =" ";
                        cardOnTable = " ";
                   else if(radio3.getState())
                        checkRad = array[indexArray[2]];
                        card3 =" ";
                        cardOnTable = " ";
                   else if(radio4.getState())
                        checkRad = array[indexArray[3]];
                        card4 =" ";
                        cardOnTable = " ";
                   else if(radio5.getState())
                        checkRad = array[indexArray[4]];
                        card5 =" ";
                        cardOnTable = " ";
                   else if(radio6.getState())
                        checkRad = array[indexArray[5]];
                        card6 =" ";
                        cardOnTable = " ";
                   else if(radio7.getState())
                        checkRad = array[indexArray[6]];
                        card7 =" ";
                        cardOnTable = " ";
                   repaint();
                   PutDown.setEnabled(false);
              if (evt.getSource() == PickUp)
                   if(radio8.getState())
                        card8 = array[w];
                        indexArray[0] = w;
                        w = w + 1;
                        repaint();
                   PickUp.setEnabled(true);
         public void paint(Graphics g) {
              g.drawString("Card Pending Approval", 780, 250);
              g.drawString("Welcome to Rummy!!", 300, 50 );
              g.drawRect(100, 100, 600, 440);
              g.drawRect(110, 420, 75, 100);
              g.drawRect(190, 420, 75, 100);
              g.drawRect(270, 420, 75, 100);
              g.drawRect(350, 420, 75, 100);
              g.drawRect(430, 420, 75, 100);
              g.drawRect(510, 420, 75, 100);
              g.drawRect(590, 420, 75, 100);
              g.drawRect(110, 120, 75, 100);
              g.drawRect(190, 120, 75, 100);
              g.drawRect(270, 120, 75, 100);
              g.drawRect(350, 120, 75, 100);
              g.drawRect(430, 120, 75, 100);
              g.drawRect(510, 120, 75, 100);
              g.drawRect(590, 120, 75, 100);
              g.drawRect(300, 250, 75, 100);
              g.drawRect(380, 250, 75, 100);
              //pending card
              g.drawRect(810, 280, 75, 100);
              g.drawString(card1, 115, 450);
              g.drawString(card2, 195, 450);
              g.drawString(card3, 275, 450);
              g.drawString(card4, 355, 450);
              g.drawString(card5, 435, 450);
              g.drawString(card6, 515, 450);
              g.drawString(card7, 595, 450);
              g.drawString(cardOnTable, 390, 275);
              g.drawString(card8, 810, 325);
              g.drawString(checkRad, 390, 275);
    now i know this is probably written in the worst of ways, but I'm only in HS just learning so please don't mind my awful coding. :)
    Also in the code there is a bracketed i in the loop where it converts the number to a string for all 52 of them i dont know why it did not copy them.
    Message was edited by:
    mphamma8

  • Newbee help: applet sends itself to sock server!!!

    hi all,
    im a c# developer 'n new to java applets,
    my client have a server and a web java applet that connects to server using socket
    i've got a task to create a c# windows application to do same as the applet.
    im just confused, when i saw the applet code, it connects to server, and sends itself to the server!!!
    here's the code, can anyone plz help me what's actually happening...
                   try
                        to_server = new Socket(getCodeBase().getHost(), port_of_server);
                        _OOS = new ObjectOutputStream(to_server.getOutputStream());
                        is = new DataInputStream(new BufferedInputStream(to_server.getInputStream()));
                        os = new PrintStream(new BufferedOutputStream(to_server.getOutputStream(), 1024), false);
                        txtAreaMessages.setText("");
                        txtMessage.setEnabled(true);
                        txtMessage.setText("");
                    catch(Exception exception)
                        _logout();
                        txtAreaMessages.appendText("Could not Connect...");
                        return;
                    // THIS IS THE CODE WHERE IM CONFUSED!!!
                    _OOS.writeObject(this);
                    _OOS.flush();
                    os.print(1);
                    os.flush();
                    ClientNew clientnew = new ClientNew(is, os, txtAreaMessages);
                    clientnew.start();
                    btnLogin.setEnabled(false);
                    txtLoginName.setEnabled(false);
                    btnSend.setEnabled(true);
                    btnMobMessage.setEnabled(true);
                    ch_thread = new Thread(this, "abc");
                    ch_thread.start();alll is well, but what's with ObjectOutputStream, and why its sending (this) to server??
    im asking this question here because i wanna learn it as well :D
    it'll be really great help if someone can tell me same to do in c#
    // chall3ng3r //

    the decompiled source code should tell you what you need to rewrite the client-server communications, which you will unfortunately have to do.
    is it some kind of trick to allow only connection from the applet not from c# or vb??no, its an easy, java-specific method of communication.
    if it is, how to do same in c#, (just gimme a hint, not the full solution)yes, you would have to do work to allow any other language to emulate this.
    no, its not impossible to do.
    i know nothing about c#

  • Multiple-jar applet question

    Here's a basic question that none of the examples seem to address. If my applet is comprised of multiple jars (some dynamically loaded based on system configuration), do they all have to be signed, or does just the jar file containing the applet entry point need to be signed?
    Conversely, could it be that only the jar files that contain code that wants to write files to the local file system need to be signed, or does everything need to be signed?

    Conversely, could it be that only the jar files that contain code that wants to write files to
    the local file system need to be signedThe Stack needs to be "trusted" code. If an unsigned applet "not trusted" calls a method
    of the signed applet it should not be allowed to do "trusted" things.
    One example is when you call a public method of the applet from javascript. There is a
    sollution other that signing all.
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post

  • Page level help text question

    APEX - 4
    DB version - 10g
    Web server architecture - OHS
    Browser - IE8
    Theme - 5
    I know how to set and display help text for a page item, and I see there is the option to add help text at the page level, but how does the user accessing the screen see the page level help text?
    I was thinking it might be a good way to add user help guide information at the page level.
    Thank you for any assistance.

    I know how to set and display help text for a page item, and I see there is the option to add help text at the page level, but how does the user accessing the screen see the page level help text?Using a Help page and region accessed via a help link (e.g. a navigation bar entry), or using the <tt>apex_application.help</tt> API method in a PL/SQL Dynamic Content region.
    This is covered in the APEX documentation which should be consulted before posting a question here.

  • PLEASE HELP- flashing question mark in folder

    Hi everyone,
    last night I was just on my macbook as usual and suddenly it froze, so I turned it off. When i went to turn it back on, all that appeared was a flashing question mark in a folder.
    I have tried all the suggestions on this page http://docs.info.apple.com/article.html?artnum=58042 , but none of them worked because it didn't even recognise/find the harddrive in the disk utility section. I don't have apple care ($419 is a lot of money for a student!) but I only bought the macbook about 6 months ago, so it is still within warranty. What should I do now?
    Any help is much much appreciated!
    Melissa

    Melissa,
    I just had the same exact problem last night too. I called the apple technical service number and nothing they did helped because the hard drive wasn't found. I even got a fire wire cable and tried to hook my MacBook up to another Mac and tried the target disk mode hoping I could pull off data that I needed, but the other mac couldn't find the disk either. I'm kind of worried about losing some of my data. If you could let me know if you find any solution that would be awesome! I plan on going to the apple store this weekend to get it looked at.
    -Michelle

  • IN DESPERATE NEED FOR HELP flashing question mark appears MacBook

    Hello everyone, I got this White MacBook Mac OS X 10.4.11 yesturday I was updating limewire and iTunes, I was downloading some songs from Limewire when all of a sudden my macbook frozed. I was not able to do a thing. Not even minimizing nor quiting the app nor even opening another aplication, so I decided to shut it down by holding the power button until it shut down (about 8 secs). So I restart my macbook and I got this grey=blank screen whit a flashing question mark on it. I've tried EVERYTHING on this link http://support.apple.com/kb/TS1440?viewlocale=en_US even these one http://support.apple.com/kb/HT1533 and all I was able to accomplish, was to hold the mouse (/trackpad) button to eject a Cd, and while pressing Shift during startup (in order to start in Safe Boot mode) all I get is this lock image and this space to type a password. I've tried typing every password I know and I can't fix my macbook. Can anyone please help me out on this one?

    It means certain system files needed for startup are corrupted. You will have to reinstall OS X. If your hard drive is unaffected you can try the following:
    How to Perform an Archive and Install
    An Archive and Install will NOT erase your hard drive, but you must have sufficient free space for a second OS X installation which could be from 3-9 GBs depending upon the version of OS X and selected installation options. The free space requirement is over and above normal free space requirements which should be at least 6-10 GBs. Read all the linked references carefully before proceeding.
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

  • Simple Applet Question

    Hi. I have made a simple program which asks for the users name, and then using PrintWriter writes whatever the user enters, onto a text file and so on. However, I want to use this program on my webpage, currently I am using a very simple javascript 'prompt' but i do not know how to save it to a file in javascript. So I took my code and made it into an applet (extends applet, etc...) but when i load it in a web page it says loading applet and then goes away. SO, i was wondering if somebody could please help me to make my java applet have a space where the user can enter in their name and press "ok" or whatever it may be. As always here is my code that I used...
    Please either help me to do this on my webpage with Javascript or a java applet, thanks alot ;)
    MY CODE:
    import java.io.*;
    import javax.swing.*;
    public class userNames
    public static void main(String args[])
    PrintWriter myStream = null;
    try
    myStream = new PrintWriter(new FileOutputStream("names.txt" , true));
    catch(FileNotFoundException e)
    System.out.println("Sorry, no such file");
    String askName = JOptionPane.showInputDialog("Hello, what is your name?");
    String a = "";
    String b = null;
    int count = 0;
    while(askName!=a && askName!=b)
    count++;
    myStream.println(count + ". " + askName);
    myStream.close();
    JOptionPane.showMessageDialog(null, "Thank you "+ askName+"!");
    System.exit(0);

    An applet will try to write to the local file system, ie the user who loads the page.
    That, and applets are subject to many security restrictions, File I/O being one of them. I'd suggest you give up trying this with Applet.
    HTH,
    Radish21

  • Need help mac question

    i need help
    i am going to buy the new macbook with
    mac osx v10.5 leopard
    (1)can i update the mac to mac osx v10.5.5 without buying the mac osx v10.5.5 cd
    (2)i want to know if the the games guitar hero call of duty and medal of honor will work on my macbook ihave
    NVIDIA GeForce 9400M graphics
    320gb hard drive
    guitar hero 3+aerosmith:
    System Requirements
    Mac OS X v10.4.11 or v10.5.4 or later
    2GHz or faster Intel Core 2 Duo processor (2.33GHz recommended); does not support PowerPC processors
    1GB of RAM (2GB recommended)
    7.1GB free hard-disk space + 1GB swap file
    Video card: ATI Radeon X1600 or nVidia GeForce 7300
    Video memory (VRAM): 128MB (256MB recommended)
    DVD-ROM drive
    Internet or LAN connection (for Internet or multiplayer gaming)
    Macintosh mouse and keyboard
    Supported video cards: NVIDIA GeForce 7300, 7600, 8600, 8800; NVIDIA Quadro FX 4500; ATI Radeon X1600, X1900, HD 2400, HD 2600
    call of duty 4:
    System Requirements
    Mac OS v10.5.4 or later
    2Ghz or faster Intel Core 2 Duo processor
    1GB of RAM
    9GB free hard-disk space
    ATI Radeon X1600 or NVIDIA GeForce FX7300 video card
    128MB of VRAM
    DVD drive
    Mouse and keyboard
    Broadband or LAN connection for multiplayer mode
    Supported video cards: ATI Radeon X1600, X1900; Radeon HD 2400, 2600; NVIDIA GeForce 7300, 7600, 7800, 8600, 8800; GeForce Quadro FX 4500
    medal of honor war chest:
    System Requirements
    Operating system: Mac OS X v10.2.8 or later
    CPU processor: PowerPC G4/G5 or later
    CPU speed: 800Mhz minimum, 1Ghz or faster recommended
    Memory: 256MB recommended
    Hard disk Space: 2.6GB free disk space
    Video card (ATI): ATI Radeon 7500 or better
    Video card (NVidia): GeForce2 MX or better
    Video memory (VRAM): 32 MB or higher
    Media required: DVD drive for installation and play

    The answer to (1) is yes. for OSX, there hasn't yet been a full-number release (they're all v10). Point releases come out every couple years or so, and usually cost about $130. So if you had 10.4 and wanted to upgrade to 10.5, you'd have to buy it. But updated numbers after the second point are free. So if you have 10.5, then 10.5.5 is a free download.
    Question (2) I'm less sure about, but I would guess that all of those games would probably work. They don't list the particular video card in the Macbook as "Supported", but it's newer than the cards listed. All the other requirements are met.
    From the requirements listed, I would guess that "medal of honor war chest" is a PPC game, which means it will probably run on the Intel Macbook, but under emulation. I think usually the newer Intels are fast enough that running PPC stuff under emulation should be fine, but I don't do much of that so I can't speak from experience.
    I sometimes install Windows on a second partition on my Macs so I can dual boot, just for games. So there's that option too.

  • Need help with question about Microsoft Excel?

    I have recently begun using Microsoft Office for Mac. My question is related to the Excel program. I have used this for years on a PC where when the program opens, it shows a Workbook with a single page. However, on the Mac, when it opens, it shows many pages, the first going from column A to G, the second going from H to N, etc. and each page with the text "Click to add data". This continues forever. I would like to have just one sheet as on the PC. I have not found a way to limit this view to a single page. I have looked in the Preferences and in "View", but nothing seems to change the configuration. Any suggestions?
    Thanks

    My zoom only shows the magnification and does not give a "one page" option. However, I did find an icon that I loaded into the menu bar which gives the one page view. This may be due to the version 2004 that I am using.
    I also find that if I want to change the number of columns and rows, I change the size of each. I assume this is correct.
    Thanks for the help. This is slightly different that the PC version, but I am sure over time, there will be no problem.

  • Two applet questions

    Hi there,
    I don't know if it's good to post two questions in one post, but I think it's okay since they are just small questions.
    First one: When an applet is dragged out of a browser, I have to close the browser if I want Java to ask me if I want to create a desktop shortcut. Is it possible to change this behaviour, or will it be changed in the next release?
    Second question: How can I re-integrate a JavaFX-Applet into the webpage? There seems to be no other possibility than to use that default small close button provided by Java, but I'd like to call it from the code. That must be possible?

    Yes, I tried this, but it leads to "java.lang.IllegalStateException: Can not call FX.exit() twice".
    Is there some way to do it like it is in standard java? Because there's the possibility to implement a function for the closeListener (or something like that), and then it's possible to directly call the listener to put the applet back into the page. And it hides the standard close button. Maybe we get this functionality in JFX 1.3?
    I'm currently using stage.close(), but that leads to the problems I already described.

  • HELP Difficult question Re: 2 iPhones and an iPod......

    Hi.  I have an iPhone 4s with iTunes on my computer for years.  My daughter has an iPod that was originally set up on her father's computer and with her own AppleID.  I just got her an iPhone and want to transfer/sync all her info from the iPod to the iPhone.  However, when I connect her phone to my computer it connects to my iTunes account.  Even if I sign out and sign back in as her it is still my music shown in the library.
    I backed up her iPod to my computer and rstored it to her iPhone.  Everything showed up EXCEPT the music.  It can be found in iTunes, purchases, music.....but NOT in the music folder on the phone.
    Lastly, I would like to maintain our seperate AppleID's but be able to share music we purchase since I am ultimately purchasing all the music anyway. 
    Here are my questions.....
    1) Why am I not seeing her music list when I sign into iTunes as her on my computer?  How can I get to her music list? 
    2) How can I get her music list to show up in the music folder on her iPhone?
    3) How can we sign in seperately and see our accounts individually going forward? 
    4) How can we share music purchased between the 2 AppleID accounts?
    Thank you for your help!

    How to Set Up Two iTunes Accounts on One Computer | Chron.com
    To get music on the device you have to download it to the device. You can redownload media by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    The abve inslcuded both directly to device and to computer
    You can also transfer from device to computer by:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    Note the 90 day period for changing accounts for iCloud purposes. This included redownload
    iTunes Store: Associating a device or computer to your Apple ID

Maybe you are looking for