Please solve this error for me

This program gives an error as follows
<---------------------------------------------------------------------->
H:\Semester1\Java\Assignment 5\RandomLetterApplet.java:96: cannot resolve symbol
symbol : method toString (char)
location: class java.lang.Character
               g2.drawString(Character.toString(ch), xPos, yPos);
^
1 error
Tool completed with exit code 1
<---------------------------------------------------------------------->
Here is the program
<---------------------------------------------------------------------->
import java.applet.Applet;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.util.Random;
import java.awt.Font;
import java.lang.Character;
An applet that draws 100 letters randomly from A to Z of random fonts and sizes.
public class RandomLetterApplet extends Applet
     private Random generator;
     private char ch;
     private float red;
     private float green;
     private float blue;
private Color fontColor;
     private int fontSize;
     private int xPos;
     private int yPos;
     private Font font;
     private final int ASCII_VALUE_OF_A = 65;
     private final int ASCII_VALUE_OF_Z = 90;
     private final int APPLET_WIDTH = 500;
     private final int APPLET_HEIGHT = 500;
     private final int MIN_X = 0;
     private final int MIN_Y = 0;
     private final int MIN_FONT_SIZE = 8;
     private final int MAX_FONT_SIZE = 48;
     public RandomLetterApplet()
          // Constructs a random object
          generator = new Random();
     public void paint(Graphics g)
          Graphics2D g2 = (Graphics2D)g;
          for (int i = 1; i <= 100; i++)
               generates aninteger between 65 and 90 and then converts it
               to corresponding alphabet
               ch = (char)((int)(generator.nextDouble() * (ASCII_VALUE_OF_Z - ASCII_VALUE_OF_A)
               + ASCII_VALUE_OF_A));
               // Generates a random value between [0.0f, 1.0f)
               red = generator.nextFloat();
               green = generator.nextFloat();
               blue = generator.nextFloat();
               // Constructs a new color
               fontColor = new Color(red, green, blue);
               // Sets the color produced above as the foreground color
               g2.setColor(fontColor);
               // Generates a random font size between 8 and 48
               fontSize = (int)(generator.nextDouble() * (MAX_FONT_SIZE - MIN_FONT_SIZE) + MIN_FONT_SIZE);
               // Creates a new font
               font = new Font("Seriff", Font.BOLD, fontSize);
               g2.setFont(font);
               // Generates a random position along x-axis
               xPos = (int)(generator.nextDouble() * (APPLET_WIDTH - MIN_X) + MIN_X);
               // Generates a random position along y-axis
               yPos = (int)(generator.nextDouble() * (APPLET_HEIGHT - MIN_Y) + MIN_Y);
               g2.drawString(Character.toString(ch), xPos, yPos);

Well, after looking at the text your compiler so helpfully gave you:
symbol : method toString (char)
location: class java.lang.Character
g2.drawString(Character.toString(ch), xPos, yPos);And consulting the API docs (which I Strongly Suggest you read) for the java.lang.Character class (a clue I found in the above text) I see absolutely no static method called "toString" that takes a char. Thus, it is my esteemed opinion, that there is no static method with a signature of toString(char) in the Character class, and your attempt to use it on line 96 of your RandomLetterApplet.java file is causing this error.
Is that solved?
Lee

Similar Messages

  • Please solve this problem for me.

    I can not get it up in the game's "Your Purchase Could Not Be Completed. For assistance, contact iTunes Support at www.apple.com / support / itunes / ww. Please solve this problem for me.

    Maybe you should try following the directions in the message... http://www.apple.com/support/itunes/ww

  • Hello, Why am I getting the following message after I start up my computer: "CAHeadless has encountered an error. [/Adobe/premiere/elements/Release/12/ALL_LANG_12.1/CAHeadless/Make/Mac/../../Src/CAHeadle ss.cpp-683]." Anyone, please solve this for me? Tha

    Hello, Why am I getting the following message after I start up my computer: "CAHeadless has encountered an error. [/Adobe/premiere/elements/Release/12/ALL_LANG_12.1/CAHeadless/Make/Mac/../../Src/CAHeadle ss.cpp-683]." Anyone, please solve this for me? Thank you very much!

    Hello, Why am I getting the following message after I start up my computer: "CAHeadless has encountered an error. [/Adobe/premiere/elements/Release/12/ALL_LANG_12.1/CAHeadless/Make/Mac/../../Src/CAHeadle ss.cpp-683]." Anyone, please solve this for me? Thank you very much!

  • Can anyone solve this error? 0xc 19a0013

    can anyone solve this error? 0xc 19a0013 my black ink cartridge will not print and its full. i've cleaned the heads and still no black.  please help.

    Hello family1023, and welcome to the HP Forums, I hope you enjoy your experience!
    I see you are experiencing print system issues.  I would love to try and help you, but I do need a little information first. I am linking a few HP Support documents below that will show you how to find your product number. Also, please include which operating system you are using. Also, if you're using Windows, please include whether your operating system is 32-bit or 64-bit. With this information and the product number we can provide you with accurate information.
    How Do I Find My Model Number or Product Number?
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    Which Windows operating system am I running?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    Please let me know what you find, and thanks for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • How to solve this error java.util.MissingResourceException

    Hi Friends,
    I had developed one web dynpro application by using  Internationalization - I18N of WebDynPro (Java)  Application (Blog)   but I got one error that is
    <b>java.util.MissingResourceException: Can't find bundle for base name com.sap.example.language.lang, locale en_US</b> 
    Actually i created two properties file
    1. lang_en.properties
    2. lang_ta.properties
    I stored this two properties file in this package com.sap.example.language
    and this my code in DOInit()
    sessionLocale =  WDClientUser.getCurrentUser().getLocale();
    resourceHandler = ResourceBundle.getBundle("com.sap.example.language.lang",sessionLocale);
         catch (WDUMException e)
         e.printStackTrace();
         wdContext.currentContextElement().setUsername_label(resourceHandler.getString("testview.username"));
         wdContext.currentContextElement().setPassword_label(resourceHandler.getString("testview.password"));
    How to solve this error?
    Guide me.
    Advance Thanks,
    Balaji

    Hi Friends,
    I had developed one web dynpro application by using Internationalization - I18N of WebDynPro -Java Application (Blog) but I got one error that is
    <b>java.util.MissingResourceException: Can't find bundle for base name com.sap.example.language.lang, locale en_US</b>
    Actually i created two properties file
    1. lang_en.properties
    2. lang_ta.properties
    I stored this two properties file in this package com.sap.example.language
    and this my code in DOInit()
    sessionLocale = WDClientUser.getCurrentUser().getLocale();
    resourceHandler = ResourceBundle.getBundle("com.sap.example.language.lang",sessionLocale);
    catch (WDUMException e)
    e.printStackTrace();
    wdContext.currentContextElement().setUsername_label(resourceHandler.getString("testview.username"));
    wdContext.currentContextElement().setPassword_label(resourceHandler.getString("testview.password"));
    How to solve this error?
    Guide me.
    Advance Thanks,
    Balaji

  • When i want to download an app in app store give me an error number and i could not down load.how i can solve this error number?

    When i want to download an app in app store give me an error number and i could not down load.how i can solve this error number?

    Hi Amir.09395340646,
    Welcome to the Support Communities!
    What app are you trying to download? Is it iPhoto for iOS?  What error message are you receiving? The first thing I would suggest is to log out of your iTunes Store account on your iPhone. Then restart the device and log in again. 
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311?viewlocale=en_US
    If the above did not resolve your issue, follow the troubleshooting steps in the article below.
    The link includes the complete details and screenshots, but I've highlighted a few points for you:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    - Make sure that your iOS software is up to date by connecting your iOS device to iTunes and clicking on Check for Update in your device's Summary page in iTunes.
    - Check and verify that you are in range of a Wi-Fi router or base station. If you are on a 3G capable device, make sure that cellular data is turned on from Settings > General > Cellular.
    - Check to make sure you have an active internet connection. You can check the User Guide for your device for help with connecting to the internet.
    - Check to make sure other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the internet.
    - Try resetting (turning off and then on again) your Wi-Fi router
    - If the issue still persists see, iOS: Troubleshooting Wi-Fi networks and connections or iOS: Troubleshooting Wi-Fi networks and connections.
    I hope this information helps ....
    - Judy

  • ALC-PDG-001-000-ALC-PDG-010-015-The conversion operation timed out before it could be completed. Please report this error to the system administrator.

    I am getting the error when trying to convert a word file to pdf.
    My Adobe Lifecycle ES is  installed on 2GM RAM . Is this the issue for the below error.
    ALC-PDG-001-000-ALC-PDG-010-015-The conversion operation timed out before it could be completed. Please report this error to the system administrator.
    Please provide me a valuable solution. I am new to Adobe ls es.

    This is a forum for Acrobat desktop product. For LiveCycle, try this forum
    http://forums.adobe.com/community/livecycle/livecycle_es/pdf_generator_es

  • How to solve this error using OSX Server's bots

    Plz help me.
    My remote repository is SVN version controll system.
    when I started integration using bot in OSX Server. this error was pisplayed on a log.
    how to solve this error to integrate my project using OSX Server.
    Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:466 77537310 +61ms] Will NOT send email notifications because notifyCommitterOnFailure is NO Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:470 77537310 +0ms] Posting email notification for bot run with type com.apple.notifications.BotFailed Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:471 77537310 +0ms] Sending email to committers = (null) Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:1033 77537310 +0ms] Posting notification of type com.apple.notifications.BotFailed Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:199 77537310 +0ms] Posting notification for bot run GUID f87f0098-f8ca-4bfa-945e-cbb11a2f6abb of type com.apple.notifications.BotFailed Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{AuthService.enterMagicalAuthRealm()} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +45ms] Connecting to https://localhost:4443/svc to execute [https]Request{XCBotService.postNotificationForBotGUID:andRunGUID:andNotificati onType:additionalEmails:(c6189ca0-0649-0649-c01e-81c4d0b52dd9,f87f0098-f8ca-4bfa -945e-cbb11a2f6abb,com.apple.notifications.BotFailed,( ))} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:601 77537310 +84ms] Deleting work queue item: cf7fe6b8-4df8-b723-4794-50fbf27955ed Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{XCWorkQueueService.deleteWorkQueueItemWithGUID:(cf7fe6b8-4df8-b7 23-4794-50fbf27955ed)} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildBundle.m:929 77537310 +13ms] Marking build bundle complete with status failed and sub-status internal-checkout-error Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{AuthService.enterMagicalAuthRealm()} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:97 77537310 +55ms] Updating bot run with GUID f87f0098-f8ca-4bfa-945e-cbb11a2f6abb Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:102 77537310 +0ms] Updating bot run (f87f0098-f8ca-4bfa-945e-cbb11a2f6abb): { guid = "f87f0098-f8ca-4bfa-945e-cbb11a2f6abb"; status = failed; subStatus = "internal-checkout-error"; } Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{XCBotService.updateBotRun:({ guid = "f87f0098-f8ca-4bfa-945e-cbb11a2f6abb"; status = failed; subStatus = "internal-checkout-error"; })} Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:108 77537310 +121ms] Updating bot with GUID c6189ca0-0649-0649-c01e-81c4d0b52dd9 Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:117 77537310 +0ms] Updating bot with latest bot run GUID key Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Debug>: [XCSBuildHelper.m:124 77537310 +0ms] Updating bot (c6189ca0-0649-0649-c01e-81c4d0b52dd9): { guid = "c6189ca0-0649-0649-c01e-81c4d0b52dd9"; latestFailedBotRunGUID = "f87f0098-f8ca-4bfa-945e-cbb11a2f6abb"; latestRunStatus = failed; latestRunSubStatus = "internal-checkout-error"; } Apr  3 16:56:42 server.mbkwon.com xcsbuildd[20259] <Info>: [CSRemoteServiceClient.m:151 77537310 +0ms] Connecting to https://localhost:4443/svc to execute [https]Request{XCBotService.updateBot:({ guid = "c6189ca0-0649-0649-c01e-81c4d0b52dd9"; latestFailedBotRunGUID = "f87f0098-f8ca-4bfa-945e-cbb11a2f6abb"; latestRunStatus = failed; latestRunSubStatus = "internal-checkout-error"; })}

    Hello,
    You need to make sure both names match exactly

  • In my Component monitoring i got this error for Adapter engine status.

    In my Component monitoring i got this error for Adapter engine status. Status is in red..
    Attempt to fetch cache data from Integration Directory failed; cache could not be updated
    [Fetch Data]: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.03.server3, string], target element type: SAP_BusinessSystem)
    Please clarify ASAP..
    Thanks..

    HI,
    See below links you will get ..
    Process Integration (PI) & SOA Middleware
    ERR:Could not find SLD name for XI Application "DIRECTORY"
    Unable to find an associated SLD element
    Regards
    Chilla..

  • What is this Configuration Error: 1  = I must reinstall the AI every time again and again and loose so much time! How can I solve this error?

    What is this Configuration Error: 1  = I must reinstall the AI every time again and again and loose so much time! How can I solve this error?
    please answer on my email too
    [email protected]

    Nobody can tell you anything without proper system info or other technical details. The simply answer probably is that you are running your system with insufficient user privileges and system restore or some security tools are blocking stuff/ erasing your install.
    Mylenium

  • How to solve this error JBoss Server start time............

    How to solve this error JBoss Server start time............
    10:45:38,484 INFO [TomcatDeployer] deploy, ctxPath=/JobWorkInvoice, warUrl=.../deploy/JobWorkInvoice.war/
    10:45:38,640 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
    10:45:38,640 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
    10:45:38,640 ERROR [STDERR] log4j:ERROR [WebappClassLoader
    delegate: false
    repositories:
    /WEB-INF/classes/
    ----------> Parent Classloader:
    java.net.FactoryURLClassLoader@d5f9b9
    ] whereas object of type
    10:45:38,640 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@5d173].
    10:45:38,687 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows.
    10:45:38,687 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender
    10:45:38,687 ERROR [STDERR]      at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:174)
    10:45:38,687 ERROR [STDERR]      at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:149)
    10:45:38,687 ERROR [STDERR]      at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:162)
    10:45:38,687 ERROR [STDERR]      at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:424)

    The error message suggests that your system is running out of memory. How much memory is available for OC4J on this box?
    You may also see problems like these when any of the following Jar files in your classpath :
    <li>$OH/jlib/repository.jar
    <li>$OH/j2ee/home/jazn.jar
    <li>$OH/j2ee/home/oc4j.jar
    <li>$OH/j2ee/home/jazncore.jar
    <li>$OH/jlib/infratool.jar
    Thanks,
    EJ

  • How to solve this error from window phone 80073cf9 lumia 630.

    any one know how to solve this error from window phone 80073cf9  lumia 630.

    Hello Muhammad,
    We appreciate the post, but this forum is for Windows Store and Phone Developer related questions. Your question can best be answered through the
    Windows Phone support page.
    Thanks!
    -Jonathan
    Windows Store Developer Support
    Office Store Developer Support

  • When using nant i was told "excepted point(.) and coma(;)".how to solve this error

    hi
      i am using nant and for my code 
                var symmetricKey = new RijndaelManaged() { Mode = CipherMode.CBC, Padding = PaddingMode.Zeros };
              it is ok when i compile it  by visual studio,but when i use nant i was told"excepted point(.) and  coma(;)".
             how to solve this error?
          any help would be appreciated
    best regards
    martin

    anyway now i realized that since i used .Net Frame work 2.0, and i should use like this
     RijndaelManaged symmetricKey = newRijndaelManaged();
                symmetricKey.Mode = CipherMode.CBC;
                symmetricKey.Padding = PaddingMode.Zeros; and i cannot use "var" i've solved this problem and it could be helpful if some one who have the same problem

  • Pl solve this error

    how to solve this error
    Unreachable Statement After Jump Statement EXIT:
      PERFORM get_item_category1
        TABLES    gt_comm_pr_frg_rel
                  gt_comm_prmat
        USING     ls_orderadm_i_wrk
        CHANGING  item_category_group1.
    subsequent coding
      IF lt_orderadm_i_wrk IS INITIAL.
        SELECT SINGLE * FROM comm_pr_frg_rel
               INTO lt_comm_pr_frg_rel
               WHERE product_guid = ls_orderadm_i_wrk-product.
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM comm_prmat
                  INTO lt_comm_prmat
                  WHERE frg_guid = lt_comm_pr_frg_rel-fragment_guid.
          IF sy-subrc EQ 0.
            item_category_group1 = lt_comm_prmat-item_cat_group.
          ENDIF.
        ENDIF.
      ENDIF.
      EXIT.

    im getting the error in slin
    .....the part of code is as folows
    DATA: lt_comm_pr_frg_rel TYPE  comm_pr_frg_rel,
            lt_comm_prmat      TYPE  comm_prmat.
      DATA    item_category_group1 TYPE crmt_item_cat_group.
      CLEAR item_category_group1.
    Store the data into the global internal tables for the first time.
      IF gt_comm_pr_frg_rel IS INITIAL.
        SELECT * FROM comm_pr_frg_rel
          INTO CORRESPONDING FIELDS OF TABLE gt_comm_pr_frg_rel
          FOR ALL ENTRIES IN lt_orderadm_i_wrk
          WHERE product_guid = lt_orderadm_i_wrk-product.
        IF sy-subrc = 0.
          SELECT * FROM comm_prmat
            INTO CORRESPONDING FIELDS OF TABLE gt_comm_prmat
            FOR ALL ENTRIES IN gt_comm_pr_frg_rel
            WHERE frg_guid = gt_comm_pr_frg_rel-fragment_guid.
        ENDIF.
      ENDIF.
      IF lt_orderadm_i_wrk IS INITIAL.
        SELECT SINGLE * FROM comm_pr_frg_rel
               INTO lt_comm_pr_frg_rel
               WHERE product_guid = ls_orderadm_i_wrk-product.
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM comm_prmat
                  INTO lt_comm_prmat
                  WHERE frg_guid = lt_comm_pr_frg_rel-fragment_guid.
          IF sy-subrc EQ 0.
            item_category_group1 = lt_comm_prmat-item_cat_group.
          ENDIF.
        ENDIF.
      ENDIF.
      EXIT.
    Get the Item category
      PERFORM get_item_category1
        TABLES    gt_comm_pr_frg_rel
                  gt_comm_prmat
        USING     ls_orderadm_i_wrk
        CHANGING  item_category_group1.
      item_category_group = item_category_group1.
    ENDFUNCTION.
    *&      Form  get_item_category
         -->LT_COMM_PR_textREL
         -->LT_COMM_PRMtext
         -->LS_ORDERADMtextRK
         -->ITEM_CATEGOtextROUP
    FORM get_item_category1
          TABLES   lt_comm_pr_frg_rel    STRUCTURE comm_pr_frg_rel
                   lt_comm_prmat         STRUCTURE comm_prmat
          USING    ls_orderadm_i_wrk     TYPE crmt_orderadm_i_wrk
          CHANGING item_category_group1   TYPE crmt_item_cat_group.
      DATA: ls_comm_pr_frg_rel      TYPE comm_pr_frg_rel,
            ls_comm_prmat           TYPE comm_prmat .
    Get item category group of product
      LOOP AT lt_comm_pr_frg_rel INTO ls_comm_pr_frg_rel
        WHERE product_guid  = ls_orderadm_i_wrk-product .
        READ TABLE lt_comm_prmat INTO ls_comm_prmat
          WITH KEY frg_guid = ls_comm_pr_frg_rel-fragment_guid.
        IF sy-subrc = 0.
          item_category_group1 = ls_comm_prmat-item_cat_group.
          EXIT.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "get_item_category

  • Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
    In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
    After that is done reboot the machine and see if you can log in.
    If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
    Reboot and try again.
    If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
    Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
    Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
    Lots of work, but there is no Lion disks.
    https://discussions.apple.com/message/16276201#16276201

Maybe you are looking for

  • Mouse Flickering Issues

    Hello. I've on an iMac (24-inch, early 2009) on 10.5.8 OSX Leopard. For the past 1 month, I've been experiencing rapid flickering of the mouse cursor. This happens regularly when I'm using firefox. The only way to get out of that situtation is to pre

  • Accessing object payload type attributes by index?

    Plz help Using object type in queues enforce some limitations to altering object type. You can use only ALTER TYPE and use alteration that only "expand" properties. It'is possible to change column type from VARCHAR2(10) to VARCHAR2(20) but not vice v

  • I'm confused about classpath

    Please can anyody explain it to me? I have WindowsXP and in my folder i have some program in jar and classes12.zip (oracle jdc classes for version 8i). I try to load the driver ( Class.forName("oracle.jdbc.driver.OracleDriver") ). When I run it via "

  • JOptionPane Won't Display When ResultSet = null

    I wrote the following method to connect to an Access database via JDBC. Everything works properly except for the dialog box. It doesn't show up when the SQL query doesn't return anything. I've tried using the JOptionPane as an if, an else if, and an

  • How to stop threads ???

    Dear all, I have a main class in which I declare and start 3 different threads, nothing else. When an event occurs in one of the threads, I would like to stop the 2 others and to finish my application ? How can I do that ? My Main: public class clien