Can multi-colored round ball be stopped?

The round multicolored ball comes up and continues sometimes for several minutes......is this pesky little thing stoppable? Is it only with Mac's? I am hoping someone out there has a method of destruction for that little ball..........thanks!

Ah yes, the spinning beach ball of death. SBBD's.
Well it depends upon what you were doing, what your machine's specs are and if it can be fixed or not.
Usually it's one or more of the following:
1: a network "hang" of some sort.
2: slow, full or problematic boot drive.
3: low RAM and pagination of excesses memory to the hard drive.
4: ovrloaded processor.
For #2 Hold c and boot from your installer disk that came with the computer and under one of the menu's is Disk Utility > Repair Disk (write any errors down) and Repair permissions.
If you get errors in Disk Utility, get a copy of your vital data off the drive immediately if it's not repaired.
Also if your boot drive is more than 75% filled your going to get a slow machine, keep it below 50% filled (if possible) for best performance.
If you can change your boot drive to a 7,200 RPM one, and reinstall OS X, it will be faster than a 5,400 RPM one.
For #3 Add more RAM at Crucial.com
For #4 slow down on multiple programs at once.

Similar Messages

  • I have a Mac Air. It said my start up disk was almost full and to delete files. I did but am not sure of what all I should delete. Then the color wheel wouldn't stop spinning so I just closed it. Now it won't open up at all. What can I do?

    I deleted files from my MacBook Air after it said my start up disk was almost full. It did several xs, then the color wheel wouldn't stop spinning, so I closed it. Then after a sufficient amount of time, I tried to start it up again, only now the Apple start up wheel just spins non stop and nothing else happens. How or what can I do to get my MacBook Air to work again, without having to take it in? Thanks so much!

    Backup your MBA then take it to Apple

  • How can I get Multi-color text it a swing componet?

    How can I get Multi-color text it a swing componet?
    I've tryed JTextPane and JEditorPane.
    If they support having text in more then one color then I don't see how.
    I want to make a color-coded Java editor in Java, but I can't color-code if I can only have one color.
    JComponent.setForeground(Color fg)
    is not what I need.
    maybe Java doesn't support it yet.
    but I hope it does.
    Please help, thanks.

    Hi,
    I've made you a little example with a coloured JEditorPane and JTextPane:
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ColorDemo extends JFrame {
         public ColorDemo() {
              super("ColorDemo");
              // coloured JEditorPane
              JEditorPane editorPane = new JEditorPane("text/html",
                   "<FONT color=red> This </FONT>"+
                   "<FONT color=blue> is </FONT>"+
                   "<FONT color=green> a </FONT>"+
                   "<B> JEditorPane </B>");
              editorPane.setPreferredSize(new Dimension(250, 150));
              // coloured JTextPane
              JTextPane textPane = new JTextPane();
              textPane.setPreferredSize(new Dimension(250, 150));
              Document doc = textPane.getDocument();
              Style def = StyleContext.getDefaultStyleContext().
                   getStyle(StyleContext.DEFAULT_STYLE);
              try {
                   StyleConstants.setForeground(def, Color.blue);
                   doc.insertString (0, "This ", def);
                   StyleConstants.setForeground(def, Color.red);
                   doc.insertString (5, "is ", def);
                   StyleConstants.setForeground(def, Color.green);
                   doc.insertString (8, "a ", def);
                   StyleConstants.setBold(def, true);
                   StyleConstants.setForeground(def, Color.black);
                   doc.insertString (10, "JTextPane", def);
              } catch (Exception e) {}
              JPanel contentPane = new JPanel();
              contentPane.add(textPane);
              contentPane.add(editorPane);
              setContentPane(contentPane);
         public static void main(String[] args) {
              JFrame frame = new ColorDemo();
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);
              frame.pack();
              frame.setVisible(true);
    }Hope this helps,
    Kurt.

  • I am typing 3 page of Word Document.  It has locked up and has this round multi colored circle going around when mouse is on the document....help!!!  Why is it doing this

    I am typing 3rd page of Word Document.  It has locked up and a round multi colored ring turning when the mouse is on the document.  It will not allow me to save it or move forward?   Help!!!

    Hopefully Word's auto-save feature will have saved most of your work.
    If Word will not allow you to do anything, you have to force-quit the evil thing:  > Force Quit...

  • Was trying to send a movie by email, ipad file to large, do you want to reduce and send, i said ok, hit send, screen went black and little circle keeps going round and round and wont stop. what can i do, and whats wrong?

    was trying to send movie by email ipad said file to large do you want to reduce and send, i said ok, hit send, screen went blank and little circle keeps running round and round and wont stop.
    how do i fix this and what is going on?

    "try to restart the iPad, if you can't access mail, try to hold restart by pressing home button and Lock button together."
    You should click Reply in the specific message you are responding to.

  • Can't access email. Screen is frozen with spinning multi colored circle

    Can not access emails. Screen is frozen with spinning multi colored circle

    press "command+option+esc" to quit the unresponsive program.

  • I-pod touch has multi-colored lines across it, can it be fixed?

    I was playing a game on my Touch when it froze and then it changed to a screen with multi-colored horizontal lines across it. I have tried to reset it, but it will not respond. I cannot even get it to turn off. I have a feeling that it is a hardware problem, any suggestions?

    - Try:
    iOS: Not responding or does not turn on
    - If not successful and you can't turn the iPod fully off, let the battery fully drain. After charging for at least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • How can I make multi-colored links change their rollover or hover color?

    I have made links with seperate colors using css, but the links with new colors have no hover property. I want these links to change color when the cursor hovers over them the same way the other links on my page do. I have tried making a new css rule for <hover> and tried writing the property into the css code but to no effect. I have searched the web and this forum for an answer and found notheing that works. Does anyone know how to give links with multiple colors a hover property that will make them change color? All of my other links change color as defined in the page properties, but the links with new color rules don't change color anymore. This is probably pretty basic. I'm new to DW, using CS6. If anyone can provide a step by step and show where the code should be inserted, this would be very helpful. Thank you in advance!

    Basic HTML5 Layout with Multi-colored menu.
    Copy & paste the code below into a new, blank document.  SaveAs test.html.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Document</title>
    <!--[if IE]>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <![endif]-->
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <style>
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    body {
        font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
        font-size: 62.50%;
        width: 900px;
        /**with width, this is centered**/
        margin: 20px auto;
        padding: 0;
        background: #CCC099;
        box-shadow: 3px 3px 12px #333;
        border-radius: 12px;
    /**TEXT LINKS**/
    a {
        text-decoration: none;
        font-weight: bold;
        color: #F63
    a:visited { color: #F93 }
    a:hover, a:active, a:focus { text-decoration: underline }
    header {
        margin: 0;
        padding: 0;
        min-height: 100px;
        border-radius: 12px 12px 0 0;
        color: #FFF;
        background: url(http://lorempixel.com/output/abstract-q-c-1056-100-7.jpg) no-repeat;
    /* Multi-colored Horizontal Drop-Menu */
    nav {
        float: right;
        padding: 4px;
        text-align: center;
        background: rgba(0,0,0,0.3)
    nav ul {
        margin: 0;
        padding: 0
    nav li {
        list-style: none;
        font-size: 12px;
        float: left;
        text-align: center;
    /**top level menu**/
    nav li a {
        display: block;
        text-decoration: none;
        margin-right: 0; /* space between links */
        width: 10em; /* adjust as needed or use auto */
        padding: 8px;
        font-weight: bold;
        line-height: 1.50em;
        border-top: none;
        color: #000;
    /**alternating background colors**/
    nav li:nth-child(odd) > a { background: #CAD3D3 }
    nav li:nth-child(even) > a { background: #FFCCCC }
    /**top menu style on mouse over**/
    nav li:hover > a {
        color: #FFF;
        background: #033D53;
    /**sub-menu**/
    nav li ul {
        display: none;
        text-align: center;
        margin: 0;
        padding: 0 1em;
        background: none;
    /**sub-menu, help for older IE**/
    nav li:hover ul, nav li.hover ul {
        display: block;
        position: absolute;
        padding: 0;
    nav li:hover li, nav li.hover li { float: none; }
    /**drop-menu style**/
    nav li:hover li a, nav li.hover li a {
        width: 10em; /* adjust width as needed or use auto */
        margin-top: 0;
    /**drop-menu style on mouse over**/
    nav li li a:hover {
        background: #D3E1B7;
        color: #004A43;
    /* Clear floated elements at the end*/
    nav:after {
        display: table;
        content: '';
        clear: both;
    /**END DROP-MENUS STYLES**/
    article {
        background: #FFC;
        padding: 3%;
        font-size: 125%;
    /**3-COLUMNS**/
    section {
        float: left;
        width: 33.33%;
        padding: 1%;
        background: #EAEAEA;
        min-height: 250px;
    /**alternating background-colors**/
    section:nth-child(even) { background: #DADADA; }
    footer {
        clear: left;
        color: #FFF;
        background: #033D53;
        font-size: small;
        font-weight: bold;
        text-align: center;
        padding: 1%;
        border-radius: 0 0 12px 12px;
    /**text styles**/
    p {
        margin: 0 0 1.5em 0;
        padding: 0;
        font-size: 1em;
    /**header text**/
    h1 {
        margin: 0;
        padding: 0.5em 1% 0;
    h2 {
        margin: 0;
        padding: 0 1%;
        font-style: oblique
    h3 {
        margin: 0;
        padding: 0;
        font-size: 1.5em;
        color: #09F;
    </style>
    </head>
    <body>
    <header> <h1>Site Name</h1> <h2>Some Pithy Slogan</h2>
    <!--begin top menu-->
    <nav>
    <ul>
    <li><a href="#">ABOUT US &#9660;</a>
    <ul>
    <li><a href="#">Videos</a></li>
    <li><a href="#">Newsletter</a></li>
    </ul>
    </li>
    <li><a href="#">PRODUCTS &#9660;</a>
    <ul>
    <li><a href="#">Broken Glass</a></li>
    <li><a href="#">Mosaic Tiles</a></li>
    <li><a href="#">Adhesives</a></li>
    <li><a href="#">Grout</a></li>
    </ul>
    </li>
    <li><a href="#">ACCESSORIES &#9660;</a>
    <ul>
    <li><a href="#">Gloves</a></li>
    <li><a href="#">Rubber Mallets</a></li>
    <li><a href="#">Sponges</a></li>
    <li><a href="#">Safety Glasses</a></li>
    </ul>
    </li>
    <li><a href="#">CONTACT</a></li>
    </ul>
    </nav>
    <!--end top menu-->
    </header>
    <article>
    <h3>Main Content goes here...</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi! Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.</p>
    </article>
    <!--3-columns-->
    <section> <h3>Heading 3</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi! Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.</p>
    <ul>
    <li><a href="#">some link</a></li>
    <li><a href="#">some link</a></li>
    <li><a href="#">some link</a></li>
    </ul>
    </section>
    <section>
    <h3>Heading 3</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.
    Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.
    Aenean tristique enim ut ante dignissim. </p>
    </section>
    <section>
    <h3>Heading 3</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis.  Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius.  Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    </section>
    <!--end 3-columns-->
    <footer>
    <address>
    Company address . Phone . Fax
    </address>
    <small>&copy; 2014 SiteName. All rights reserved</small>
    <p> </p>
    <p> <a href="http://jigsaw.w3.org/css-validator/check/referer"> <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
    alt="Valid CSS!"> </a> <img src="http://www.w3.org/html/logo/badge/html5-badge-h-css3-semantics.png" height="31" alt="Valid HTML5"></p>
    </footer>
    </body>
    </html>
    Nancy O.

  • Multi-colored block noise bug in Adobe Premiere - DV video

    When I edit a DV video in Premiere 6.5 sometimes  the final DV video output will have this strange multi-colored blocks  that last a frame or two, and it will have a loud violent hiss right  there.  It's not in the original DV video, and it won't be in the same  place if I resave it.  I can't figure out what's causing it.  I blured  the logo in the bottom left corner, but it's fine.  It will look perfect  with the video screwed up behind it.  Anyone have any ideas what's  happening, or have you run into this before??

    Anything that does that "once in awhile" and "not in the same place" is most often caused by TSR software running in the backbround
    That TSR software is doing "something" to the hardware that is stealing a few clock cycles or polling the system bus... and that causes problems with Premiere
    You need to check what else is running in the background, and stop it if at all possible
    Also, This is aimed at Premiere Pro, but may help 
    A link with many ideas about computer setup http://forums.adobe.com/thread/436215?tstart=0
    Many of the ideas at the next link are generic enough they have helped some Non-Premiere users fix problems
    Work through all of the steps (ideas) listed at http://ppro.wikia.com/wiki/Troubleshooting
    If your problem isn't fixed after you follow all of the steps, report back with the DETAILS asked for in the questions at the end of the troubleshooting link

  • Small multi-colored wheel, load time is very long, it's like it freezes up, I have to force quite it sometimese

    Small multi-colored spinning wheel shows up, it just keeps spinning and spinning, takes long time to load. Sometimes I have to force quite, to get it to stop. Does anyone know the name for it, and how to get reed of it?

    I just went trough this on my iMac.  The spinning wheel is jokingly refurred to as the "Spinning Beach Ball Of Death" or SBBOD.  Take a look at the following link: http://www.thexlab.com/faqs/sbbod.html
    After about an hour on the phone with apple support, I ended up completly restoring the system and files from Time Machine.

  • Indexing, TM backup and the multi-Colored Pinwheel

    Hi All.
    I seem to be getting a lot of multi-colored pinwheel hangs on my 6 month old MacBookPro and I can't tell if it is due to Parallels 6 being installed or what.
    I sometimes get Finder to be 101.3 (or close) % of CPU. I also have a vm_prl that pegs out at 100% CPU which I know is a Parallels issue I need to solve.
    Question:
    Does anyone know why Finder would get up to 100% CPU and is it a problem possibly related to the slowness of the computer?
    Also, I noticed that Mac is "indexing" my 1 TB external drive when I plug it in. Is it possible that this (or my Time Machine via Wifi backups) are causing the slowdown and what to do about it.
    Thanks from the newbie to Mac.
    - Jon

    Hotwheels22 wrote:
    Hi James.
    I am going to print this out and study it. It may take me a couple of days to respond but I'm hoping you will be around so I can follow up.
    Yup. I don't stray very far, or for very long, anymore.
    I'm not sure if this changes your input but I do seem to have had a lot of issues over the last six months and it has been really hard when I combine the Parallels slow downs/issues with the Apple problems. For instance, I get major slowdowns when Parallels is not even open which causes me concern.
    I don't do Windoze, so can't address that directly. But if it's truly shut down, it shouldn't affect the performance of OSX.
    Plus there have been a whole host of notifications and errors that just seem to keep me bogged down when combined with these slowdowns.
    Forgive me, but that's like telling your auto mechanic that your car is making all sorts of funny noises.
    Without some idea of what they are, nobody can do much. That's why I suggested you have a look at your logs. There are probably some pretty good clues lurking there.
    I mean, I may be at the end of my rope with this and also at a point where other items have stopped moving enough to tackle it. Other than my time and effort - is there another reason not to go ahead and try and get a fresh install? It's been recommended at the Genius Bar at least once and it was recommended on the Parallels forum just yesterday (with the rationale that I am a new Mac user and when you add the complexity of Parallels on top it /is/ possible to mess up something with the Mac OS...).
    Depends on what you mean by "fresh install." You can get a fresh copy of OSX fairly easily, without touching anything else. That may be worth a try.
    Some folks may say (or mean) a "clean install," which doesn't exist on OSX, but they usually mean erase and reinstall everything. That's the drastic step I'd do only as a last resort.
    If you want a fresh copy of OSX, just start up from your Snow Leopard Install disc and install OSX. Unless it's the same version as you're now on, before using any apps, download and install the 10.6.5 "combo" update. That's the cleverly-named combination of all the updates to Snow Leopard since it was first released, so installing it should fix anything that's gone wrong since then, such as with one of the normal "point" updates. Info and download available at: http://support.apple.com/kb/DL1324 (if you're on 10.6.4, http://support.apple.com/kb/DL1048 ). Be sure to do a +Repair Permissions+ via Disk Utility (in your Applications/Utilities folder) afterwards.

  • Multi-colored polygon?

    I want to make a multi-colored polygon, as in every pixel of the polygon is a different color. I looked in the java.awt.Polygon documentation, but they didn't have anything like that. Another thing I want to do is have it flexible- like if it hits the wall, the whole polygon won't keep it's shape and bounce off. The pixels should bounce off as they hit the wall. I did make a code for all of that, but I was wondering if there's an easier way. Look:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Happy extends Applet implements Runnable {
         Image buffer;
         Graphics2D gfx;
         int[] dotx, doty, xdir, ydir;
         int speed;
         Color[] color, random;
         Thread thread;
         public void init() {
              int j;
              thread = new Thread(this);
              thread.start();
              random = new Color[] {Color.red,Color.green,Color.blue,Color.magenta,Color.yellow,Color.cyan,Color.yellow};
              buffer = null;
              makeDots();
         private void makeDots() {
              int j,x,y;
              dotx = new int[320];
              doty = new int[320];
              xdir = new int[320];
              ydir = new int[320];
              color = new Color[320];
              speed = 1;
              x = 100;
              y = 100;
              for (j = 0;j < 20;j++,x-=2) makeDot(j,x,y); // top
              for (y+=2,j = 20;j < 40;j++,x-=2,y+=2) makeDot(j,x,y); // top-left
              for (j = 40;j < 60;j++,y+=2) makeDot(j,x,y); // left
              for (x+=2,j = 60;j < 80;j++,x+=2,y+=2) makeDot(j,x,y); // bottom-left
              for (j = 80;j < 100;j++,x+=2) makeDot(j,x,y); // bottom
              for (y-=2,j = 100;j < 120;j++,x+=2,y-=2) makeDot(j,x,y); // bottom-right
              for (j = 120;j < 140;j++,y-=2) makeDot(j,x,y); // right
              for (x-=2,j = 140;j < 160;j++,x-=2,y-=2) makeDot(j,x,y); // top right
              makeSquare(160,50,130); // left eye
              makeSquare(220,95,130); // right eye
              x = 42;
              y = 170;
              for (j = 280;j < 290;j++,x+=2,y+=2) makeDot(j,x,y); // left side of mouth
              for (j = 290;j < 310;j++,x+=2) makeDot(j,x,y); // mouth
              for (y-=2,j = 310;j < 320;j++,x+=2,y-=2) makeDot(j,x,y); // right side of mouth
         private void makeSquare(int i, int startx, int starty) {
              int j;
              int c = 0;
              int x = startx;
              int y = starty;
              for (j = i;j < i+60;j++,x+=2,c++) {
                   makeDot(j,x,y);
                   if (c == 9) {
                        c = -1;
                        x = startx-2;
                        y += 2;
         private void makeDot(int j, int x, int y) {
              dotx[j] = x;
              doty[j] = y;
              xdir[j] = speed;
              ydir[j] = speed;
              color[j] = getRandomColor();
         private Color getRandomColor() {
              return random[(int)Math.round(Math.random()*(random.length-1))];
         public void run() {
              while (true) {
                   checkDots();
                   repaint();
                   try {
                        Thread.sleep(10);
                   catch (InterruptedException e) {}
         private void checkDots() {
              int x,y,j;
              for (j = 0;j < dotx.length;j++) {
                   x = dotx[j];
                   y = doty[j];
                   if ((x <= 0 && xdir[j] < 0) || (x >= getSize().width && xdir[j] > 0)) {
                        xdir[j] -= xdir[j]*2;
                        color[j] = getRandomColor();
                   if ((y <= 0 && ydir[j] < 0) || (y >= getSize().height && ydir[j] > 0)) {
                        ydir[j] -= ydir[j]*2;
                        color[j] = getRandomColor();
                   dotx[j] += xdir[j];
                   doty[j] += ydir[j];
         public void paint(Graphics g) {
              int j;
              if (buffer == null) {
                   buffer = createImage(getSize().width,getSize().height);
                   gfx = (Graphics2D)buffer.getGraphics();
              gfx.setColor(Color.black);
              gfx.fillRect(0,0,getSize().width,getSize().height);
              for (j = 0;j < dotx.length;j++) {
                   gfx.setColor(color[j]);
                   gfx.fillRect(dotx[j],doty[j],2,2);
              g.drawImage(buffer,0,0,null);
         public void update(Graphics g) {
              paint(g);
    }This is what it does: http://smigs.co.uk/skittles/Happy.html
    The main part to look at in the code is the makeDots() method. As you can see, it's quite messy. Is there some easier way? (If there isn't, that's okay- I just want to know)

    I can give you 2 programs, that I did with random images - it should get you going, though I did them when I was a newbie myself!!! So, I'm sure you could improve on them. Neither of them are 'exactly' what you want, but will - no doubt - give you ideas;-
    ONE: wasn't what I was looking for ...I do have 2 better one's somewhere.import javax.swing.*;
    import java.awt.Graphics;
    import java.awt.Color;
    public class randImg extends JApplet {
       int a  = (int)(Math.random()*280);          // Rectangle position
       int b  = (int)(Math.random()*280);
       int c  = (int)(Math.random()*100);          // Rectangle size
       int d  = (int)(Math.random()*100);
       int red = (int)(Math.random()*255);          // Rectangle colours
       int green = (int)(Math.random()*255);
       int blue = (int)(Math.random()*255);
       public void init() {
          setBackground(Color.white);
       public void paint(Graphics g) {
            for (int i=0 ; i<=10 ; i++) {       
            g.drawRect( 0, 0, 300, 300);
            g.drawRect( a, b, c, d);
            g.fillRect( a, b, c, d);  
            g.setColor( new Color( red, green, blue) );
    }TWO: yeah its a bit primitive, but ... whatever random polygon shapes and one of 6 random sounds.
    import java.applet.*;
    import java.awt.*;
    import java.awt.Graphics;
    import java.awt.Color;
    import java.awt.Polygon;
    public class fillShapes extends Applet {
       private AudioClip sound1;
       private AudioClip sound2;
       private AudioClip sound3;
       private AudioClip sound4;
       private AudioClip sound5;
       private AudioClip sound6;
       public void init() {
       sound1 = getAudioClip (getDocumentBase(),"sound1.au");
       sound2 = getAudioClip (getDocumentBase(),"sound2.au");
       sound3 = getAudioClip (getDocumentBase(),"sound3.au");
       sound4 = getAudioClip (getDocumentBase(),"sound4.au");
       sound5 = getAudioClip (getDocumentBase(),"sound5.au");
       sound6 = getAudioClip (getDocumentBase(),"sound6.au");
       setBackground(Color.white);
       public void paint(Graphics g) {
         g.setColor(new Color(225, 235, 255));
         g.fillRect(0,0,900,350);  
            int s = 0;       
            do {
            int a  = (int)(Math.random()*240);          
               int b  = 12 + (int)(Math.random()*240);
               int c  = 15 + (int)(Math.random()*244);          
               int d  = 15 + (int)(Math.random()*344);
            int e  = (int)(Math.random()*244);          
               int f  = (int)(Math.random()*344);
            int h  = (int)(Math.random()*344);
            int j  = (int)(Math.random()*244);
            int l  = (int)(Math.random()*244);
            int m  = 5 + (int)(Math.random()*395);          
               int n  = (int)(Math.random()*395);
            int o  = 5 + (int)(Math.random()*399);
            int p  = 5 + (int)(Math.random()*399);
            int u  = (int)(Math.random()*244);          
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);      
            g.setColor( new Color( red, green, blue) );
            int xVal[] = {a,b,c,d,e,f,h};
            int yVal[] = {j,l,m,n,o,p,u};                  
            g.fillPolygon(xVal, yVal, 7);       
            ++s;
                } while (s <= 4);
            int i = 0;         
            do {
            int a  = (int)(Math.random()*270);          
               int b  = (int)(Math.random()*220);
               int c  = 50 + (int)(Math.random()*399);          
               int d  = 50 + (int)(Math.random()*399);
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;        
            g.fillOval(a, b, c, d);         
            g.setColor( new Color( red, green, blue) );
            ++i;
                } while (i <= 3);  
            int k = 0;       
            do {
            int a  = (int)(Math.random()*300);          
               int b  = (int)(Math.random()*200);
               int c  = 50 + (int)(Math.random()*499);          
               int d  = 50 + (int)(Math.random()*499);
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;        
            g.fillRect(a, b, c, d);         
            g.setColor( new Color( red, green, blue) );
            ++k;
                } while (k <= 3);
            int x = 0;       
            do {
            int a  = 200 + (int)(Math.random()*300);          
               int b  = 32 + (int)(Math.random()*411);
               int c  = 15 + (int)(Math.random()*425);          
               int d  = 15 + (int)(Math.random()*445);
            int e  = 250+ (int)(Math.random()*495);          
               int f  = 150+ (int)(Math.random()*444);
            int h  = 250+ (int)(Math.random()*244);
            int j  = (int)(Math.random()*444);
            int l  = (int)(Math.random()*444);
            int m  = (int)(Math.random()*445);          
               int n  = 150+ (int)(Math.random()*495);
            int o  = 220 + (int)(Math.random()*455);
            int p  = 129 + (int)(Math.random()*455);
            int u  = (int)(Math.random()*244);          
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;
            g.setColor( new Color( red, green, blue) );
            int xVal[] = {a,b,c,d,e,f,h};
            int yVal[] = {j,l,m,n,o,p,u};                  
            g.fillPolygon(xVal, yVal, 7);       
            ++x;
                } while (x <= 4);
            int q = 0;       
            do {
            int a  = 150 + (int)(Math.random()*344);          
               int b  = 12 + (int)(Math.random()*240);
               int c  = 50 + (int)(Math.random()*299);          
               int d  = 50 + (int)(Math.random()*299);
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;        
            g.fillOval(a, b, c, d);         
            g.setColor( new Color( red, green, blue) );
            ++q;
                } while (q <= 2);
            int r = 0;       
            do {
            int a  = 200 + (int)(Math.random()*274);          
               int b  = 21 + (int)(Math.random()*240);
               int c  = 50 + (int)(Math.random()*399);          
               int d  = 50 + (int)(Math.random()*399);
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;        
            g.fillRect(a, b, c, d);         
            g.setColor( new Color( red, green, blue) );
            ++r;
                } while (r <= 3);
            int t = 0;       
            do {
            int a  = 150 + (int)(Math.random()*314);          
               int b  = 12 + (int)(Math.random()*240);
               int c  = 50 + (int)(Math.random()*399);          
               int d  = 50 + (int)(Math.random()*399);
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;        
            g.fillOval(a, b, c, d);         
            g.setColor( new Color( red, green, blue) );
            ++t;
                } while (t <= 2);
            int w = 0;       
            do {
            int a  = 350 + (int)(Math.random()*314);          
               int b  = 21 + (int)(Math.random()*240);
               int c  = 50 + (int)(Math.random()*299);          
               int d  = 50 + (int)(Math.random()*299);
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;        
            g.fillRect(a, b, c, d);         
            g.setColor( new Color( red, green, blue) );
            ++w;
                } while (w <= 2);
            int v = 0;       
            do {
            int a  = 350 + (int)(Math.random()*314);          
               int b  = 12 + (int)(Math.random()*240);
               int c  = 50 + (int)(Math.random()*299);          
               int d  = 50 + (int)(Math.random()*299);
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;        
            g.fillOval(a, b, c, d);         
            g.setColor( new Color( red, green, blue) );
            ++v;
                } while (v <= 2);
            g.setColor(Color.white);
            g.setFont(new Font("Arial",Font.BOLD,48));
            g.drawString("Welcome to the MULTIMEDIA", 30, 80);
            g.drawString("SUPPORT CENTRE", 100, 160);
            g.drawString("Please sign in below:", 70, 240);
            g.setColor(Color.lightGray);
            g.setFont(new Font("Arial",Font.BOLD,48));
            g.drawString("Welcome to the MULTIMEDIA", 29, 79);
            g.drawString("SUPPORT CENTRE", 99, 159);
            g.drawString("Please sign in below:", 69, 239);
            g.setColor(Color.darkGray);
            g.setFont(new Font("Arial",Font.BOLD,48));
            g.drawString("Welcome to the MULTIMEDIA", 28, 78);
            g.drawString("SUPPORT CENTRE", 98, 158);
            g.drawString("Please sign in below:", 68, 238);
            g.setColor(Color.black);
            g.setFont(new Font("Arial",Font.BOLD,48));
            g.drawString("Welcome to the MULTIMEDIA", 27, 77);
            g.drawString("SUPPORT CENTRE", 97, 157);
            g.drawString("Please sign in below:", 67, 237);
            int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            g.setColor(new Color(red, green, blue));
            g.setFont(new Font("Arial",Font.BOLD,48));
            g.drawString("Welcome to the MULTIMEDIA", 26, 76);
            g.drawString("SUPPORT CENTRE", 96, 156);
            g.drawString("Please sign in below:", 66, 236);       
            int sound = 1+(int)(Math.random()*6);
              if (sound == 1)sound1.play();
              else if (sound == 2)sound2.play();
              else if (sound == 3)sound3.play();
              else if (sound == 4)sound4.play();
              else if (sound == 5)sound5.play();
              else sound6.play();
         class delay extends Thread {
            try {
            Thread.sleep(2000);
            catch (InterruptedException exception) {
              System.err.println( exception.toString() );
            repaint();     
    }THREE: Polygon Shapes, I think this was a pre-runner of 'TWO'
    import java.awt.Graphics;
    import java.awt.Color;
    import javax.swing.*;
    import java.awt.Graphics;
    import java.awt.Color;
    import java.awt.Polygon;
    public class polyShapes extends JApplet {  
       public void init() {
       setBackground(Color.white);
       public void paint(Graphics g) {          
            int s = 0;       
            do {
            int a  = (int)(Math.random()*240);          
               int b  = 12 + (int)(Math.random()*340);
               int c  = 15 + (int)(Math.random()*244);          
               int d  = 15 + (int)(Math.random()*344);
            int e  = (int)(Math.random()*244);          
               int f  = (int)(Math.random()*344);
            int h  = (int)(Math.random()*344);
            int j  = (int)(Math.random()*244);
            int l  = (int)(Math.random()*244);
            int m  = 23 + (int)(Math.random()*395);          
               int n  = (int)(Math.random()*395);
            int o  = 15 + (int)(Math.random()*399);
            int p  = 15 + (int)(Math.random()*399);
            int u  = (int)(Math.random()*244);          
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;
            g.setColor( new Color( red, green, blue) );
            int xVal[] = {a,b,c,d,e,f,h};
            int yVal[] = {j,l,m,n,o,p,u};                  
            g.fillPolygon(xVal, yVal, 7);       
            ++s;
                } while (s <= 7);
            int x = 0;       
            do {
            int a  = 200 + (int)(Math.random()*400);          
               int b  = 32 + (int)(Math.random()*411);
               int c  = 15 + (int)(Math.random()*425);          
               int d  = 15 + (int)(Math.random()*445);
            int e  = 250+ (int)(Math.random()*495);          
               int f  = 150+ (int)(Math.random()*444);
            int h  = 250+ (int)(Math.random()*244);
            int j  = (int)(Math.random()*444);
            int l  = (int)(Math.random()*444);
            int m  = (int)(Math.random()*445);          
               int n  = 150+ (int)(Math.random()*495);
            int o  = 220 + (int)(Math.random()*455);
            int p  = 129 + (int)(Math.random()*455);
            int u  = (int)(Math.random()*244);          
               int red = (int)(Math.random()*255);          
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;
            g.setColor( new Color( red, green, blue) );
            int xVal[] = {a,b,c,d,e,f,h};
            int yVal[] = {j,l,m,n,o,p,u};                  
            g.fillPolygon(xVal, yVal, 7);       
            ++x;
                } while (x <= 7);
    }FOUR: My favourite! Always liked this one (htough 16,000 iterations is arguably excessive) ho-ho ;-
    import javax.swing.*;
    import java.awt.Graphics;
    import java.awt.Color;
    public class randomImg extends JApplet {  
       public void init() {
       setBackground(Color.white);
       public void paint(Graphics g) {     
         int i = 0;       
            do {
            int a  = (int)(Math.random()*295);          // Rectangle position
               int b  = (int)(Math.random()*295);
               int c  = (int)(Math.random()*7);          // Rectangle size
               int d  = (int)(Math.random()*7);
               int red = (int)(Math.random()*255);          // Rectangle colours
               int green = (int)(Math.random()*255);
               int blue = (int)(Math.random()*255);
            a = a + 5;
            b = b + 5;        
            g.fillOval(a, b, c, d);  
            g.setColor( new Color( red, green, blue) );
            ++i;
                } while (i <= 16000);
    }As I said they were all done when I was a java 'baby' and playing with random objects and GUI's as a general concept - so if you come accross some newbie methods, then that would be no surprise.
    Finally - you are no doubt aware of java's awt.geom.Point2D API, that it also worth a look.
    Good luck, Sue x

  • I have an Apple MacBook Pro and when surfing the web my computer will slow to a crawl and I will have a multi-colored spinning wheel visible until my latest request is handled.  What is causing this and is there a way to prevent this from occuring

    I have a MacBook Pro.  When surfing the web it will eventually slow to a crawl.  When this occurs, there will be a small multi-colored wheel spinning until my latest command is handled.  What is causing this and is there a way that I can modify or prevent this from happening?  Is there a setting that will prevent this?

    When you next have the problem, note the exact time: hour, minute, second.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Scroll back in the log to the time you noted above. Select any messages timestamped from then until the end of the episode, or until they start to repeat. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • HoW to ChaNGE the text in the mobile application to be in MulTi-CoLoR text

    _*  Do anyone can tell me how to change the text in the mobile application to be in multi-color text, to make it more interesting and increase readability?
    Is it using the Graphic's paint() method? or any better suggestion?
    Please give the short example if can?
    Please help... "_"
    Hearing from u all soon...@_@
    thanks....

    Go into outline view. If you can see the outlines of the letterforms, you can't just change the text. If the letterforms are solid black, take the type tool, select the text and type yours.
    Anyway you can just select the letters, take the type tool and type new text.
    Working with the type tool is a basic. Please see the manual for details

  • SQL Server Reporting Services Multi Color selection

    Hi to All.
    iam trying to use this swicth condition in SSRS for multi color view. But its not getting can u suggest me 
    =switch(Fields!AVGSALES.Value<2000 ,"red",Fields!AVGSALES.Value<5000, "blue", Fields!AVGSALES.Value>5000,"yellow"

    Hi pullela venu,
    Based on your description, your switch condition in SSRS don’t work ,right?
    I have tested on my local environment and it works fine, so your problem may due to the conditions of different colors, for example, you haven’t include the value of 2000 and 5000,If the AVGSALES value is 2000 or 5000, this expression will not work, and
    you can also check you have put the expression in the right place, Please check details below one by one to make sure you have done the right:
    1.  Did you want to specify three different colors for three different ranges of values like below?
    Fields!AVGSALES.Value<2000(red)
    Fields!AVGSALES.Value=<2000 and Fields!AVGSALES.Value<5000(blue)
    Fields!AVGSALES.Value>=5000(yellow)
    If the above ranges of value is correct you can modify the switch function in the expression as below:
    =switch(Fields!AVGSALES.Value=<2000 ,"red", Fields!AVGSALES.Value>2000 and Fields!AVGSALES.Value<5000,"blue",Fields!AVGSALES.Value>=5000,"yellow")
    2.  Select the textbox of “AVGSALES” in the properties window and select the expression of color to add the switch function above.
    If you still have any question, please feel free to ask.
    Regards
    Vicky Liu

Maybe you are looking for

  • Save in draft folder - problem

    As I understand it, the save in draft folder function is supposed to appear only for XDP forms.  We have a PDF form where the submit button in the form is set to submit as PDF.  And yet, the save button still appears in workspace container.  If a use

  • Not Member found in Active Directory Group using LDAPRealmV2

    Hi Folk: I have configured a LDAPRealmV2 and it loaded ok, but I don't see any users in the group at the console. Here is the CustomRealm membership filter line in ConfigurationData section: membership.filter=(&(member=%M)(objectclass=group)) Anyone

  • IPad 2 sleep button won't work but if held, the shut off screen comes on.

    I haven't used my iPad 2 all day. I got home and i started using it, and I noticed I couldn't lock it. I never dropped it, and I keep perfect care of it. I rebooted it twice, and it's still like this.

  • How to batch add user

    the system use LDAP to authiticate the user, when user login the system. now I want to add a lot of user, how can I do?

  • Can't get a secure connection to the iTunes store

    Hey, been trying to connect to iTunes store for 4 months now. It used to work on my computer but now it says there's a problem getting a secure connection to the iTunes store. Its not the firewall or the network. Have tried: removing AVG, flushing dn