Use Buttons to move square from left to right

Hey,
I am working a a Java Game for school, it's kind of a Space Invaders clone. I want to control the shooting object at te bottom of the screen by 2 buttons, one for left movement, and one for right. But my buttons won't react to it being clicked. I have pasted the code below so you can take a look. Please can anybody help me?
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
class Animation extends JPanel implements ActionListener{
JButton button=new JButton("links");
JButton button2=new JButton("rechts");
ClickCounter clickCounter=new ClickCounter();
int xpos=0;
int xpos2=0;
int height=15;
int width=60;
int dx=3;
int dxshooter=3;
int shoot=300;
int ykogel=0;
int dxkogel=3;
int number=12;
int xposkogel;
int yposkogel;
int ovalx1=xpos,ovalx2=xpos+100,ovalx3=xpos+200,ovalx4=xpos+300,ovalx5=xpos+400,ovalx6=xpos+500;
int ovaly1=15,ovaly2=15,ovaly3=15,ovaly4=15,ovaly5=15,ovaly6=15;
int ovalxb1=xpos+19,ovalxb2=xpos+19+100,ovalxb3=xpos+19+200,ovalxb4=xpos+19+300,ovalxb5=xpos+19+400,ovalxb6=xpos+19+500;
int ovalyb1=5,ovalyb2=5,ovalyb3=5,ovalyb4=5,ovalyb5=5,ovalyb6=5;
Timer fastTicker;
Animation(){
fastTicker=new Timer(25,this);
void start(){
this.add(button);
button.setSize(100,50);
button.move(0,320);
button.addActionListener(this);
this.add(button2);
button2.setSize(100,50);
button2.move(600,320);
button2.addActionListener(this);
fastTicker.start();
public void actionPerformed(ActionEvent e){
yposkogel=312-ykogel;
ovalx1=xpos;ovalx2=xpos+100;ovalx3=xpos+200;ovalx4=xpos+300;ovalx5=xpos+400;ovalx6=xpos+500;
ovalxb1=xpos+19;ovalxb2=xpos+19+100;ovalxb3=xpos+19+200;ovalxb4=xpos+19+300;ovalxb5=xpos+19+400;ovalxb6=xpos+19+500;
//bolletjesanimatie
if(e.getSource()==fastTicker){
xpos+=dx;
ykogel+=dxkogel;
xposkogel=xpos2;
if (xpos>this.getWidth()-width-500||xpos<0){
dx=-dx;
if(e.getSource()==fastTicker){
xpos2+=dxshooter;
//schietding
if (xpos2>240||xpos2<-210){
dxshooter=-dxshooter;
//kogelanimatie
if(ykogel>310){
ykogel=0;}
//vergelijking van bolletje/kogel
if(yposkogel==15&&xposkogel>=ovalx6&&xposkogel<=ovalx6+60){
ovaly6=1500;
ovalyb6=1500;}
if(yposkogel==15&&xposkogel>=ovalx5&&xposkogel<=ovalx5+60){
ovaly5=1500;
ovalyb5=1500;}
if(yposkogel==15&&xposkogel>=ovalx4&&xposkogel<=ovalx4+60){
ovaly4=1500;
ovalyb4=1500;}
if(yposkogel==15&&xposkogel>=ovalx3&&xposkogel<=ovalx3+60){
ovaly3=1500;
ovalyb3=1500;}
if(yposkogel==15&&xposkogel>=ovalx2&&xposkogel<=ovalx2+60){
ovaly2=1500;
ovalyb2=1500;}
if(yposkogel==15&&xposkogel>=ovalx1&&xposkogel<=ovalx1+60){
ovaly1=1500;
ovalyb1=1500;}
this.repaint();
public void actionPerformed2(ActionEvent b){
if (b.getActionCommand().equals("button")){
xpos2=xpos2-50;}
if(b.getActionCommand().equals("button2")){
xpos2=xpos2+50;
public void paintComponent(Graphics g){
super.paintComponent(g);
//ufo's
g.setColor(Color.black);
g.fillOval(ovalxb1,ovalyb1, 25,25);
g.setColor(Color.orange);
g.fillOval(ovalx1,ovaly1,width,height);
g.setColor(Color.black);
g.fillOval(ovalxb2,ovalyb2, 25,25);
g.setColor(Color.orange);
g.fillOval(ovalx2,ovaly2,width,height);
g.setColor(Color.black);
g.fillOval(ovalxb3,ovalyb3, 25,25);
g.setColor(Color.orange);
g.fillOval(ovalx3,ovaly3,width,height);
g.setColor(Color.black);
g.fillOval(ovalxb4,ovalyb4, 25,25);
g.setColor(Color.orange);
g.fillOval(ovalx4,ovaly4,width,height);
g.setColor(Color.black);
g.fillOval(ovalxb5,ovalyb5, 25,25);
g.setColor(Color.orange);
g.fillOval(ovalx5,ovaly5,width,height);
g.setColor(Color.black);
g.fillOval(ovalxb6,ovalyb6, 25,25);
g.setColor(Color.orange);
g.fillOval(ovalx6,ovaly6,width,height);
//schietding
g.fillRect(xpos2+350-17,317,6,40);
g.setColor(Color.green);
g.fillOval(xpos2+350-30,330,30,30);
g.setColor(Color.black);
g.fillRect(xpos2+350-40,350,50,height);
//kogel
g.fillRect(xposkogel+350-16,yposkogel,5,5);
public class AnimationDemo{
JFrame frame;
Animation animation;
void demo(){
frame=new JFrame("**Spees Inveeders** All rights reserved (Dave Senden and Joeri Oomen)");
animation=new Animation();
frame.getContentPane().add(animation);
frame.setSize(700,400);
frame.setVisible(true);
animation.start();
public static void main(String[] args){
AnimationDemo animationDemo=new AnimationDemo();
animationDemo.demo();
}

Jukka, thanks a lot! The buttons now work! I have updated my code, but now my problem is to compare the position of the bullet with the position of the ufo. I have marked the part where I wrote my solution, but it doesn't really work, do you have any suggestions?
Thanks.import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
class Animation extends JPanel implements ActionListener{
    JButton button=new JButton("links");
    JButton button2=new JButton("rechts");
    int xpos=60;
    int xpos2=0;
    int height=15;
    int width=60;
    int dx=3;
    int dxshooter=3;
    int shoot=300;
    int ykogel=0;
    int dxkogel=6;
    int number=12;
    int xposkogel;
    int yposkogel;
    int ovalx1=xpos,ovalx2=xpos+100,ovalx3=xpos+200,ovalx4=xpos+300,ovalx5=xpos+400,ovalx6=xpos+500;
    int ovaly1=15,ovaly2=15,ovaly3=15,ovaly4=15,ovaly5=15,ovaly6=15;
    int ovalxb1=xpos+19,ovalxb2=xpos+19+100,ovalxb3=xpos+19+200,ovalxb4=xpos+19+300,ovalxb5=xpos+19+400,ovalxb6=xpos+19+500;
    int ovalyb1=5,ovalyb2=5,ovalyb3=5,ovalyb4=5,ovalyb5=5,ovalyb6=5;
    Timer fastTicker;
    Animation(){
    fastTicker=new Timer(25,this);
    void start(){
                     Listener ear = new Listener();
                     this.add(button);
                     button.setSize(100,50);
                     button.move(0,320);
                     button.addActionListener(ear);
                     this.add(button2);
                     button2.setSize(100,50);
                     button2.move(600,320);
                     button2.addActionListener(ear);
        fastTicker.start();
class Listener implements ActionListener{
  public void actionPerformed(ActionEvent b)
    Object o =b .getSource();
    if (o == button){
      if(dxshooter==3){
          dxshooter=-3;}
    if (o == button2){
    if(dxshooter==-3){
        dxshooter=3;}
   public void actionPerformed(ActionEvent e){     
   yposkogel=312-ykogel;
   ovalx1=xpos;
   ovalx2=xpos+100;
   ovalx3=xpos+200;
   ovalx4=xpos+300;
   ovalx5=xpos+400;
   ovalx6=xpos+500;
   ovalxb1=xpos+19;
   ovalxb2=xpos+19+100;
   ovalxb3=xpos+19+200;
   ovalxb4=xpos+19+300;
   ovalxb5=xpos+19+400;
   ovalxb6=xpos+19+500;   
              //bolletjesanimatie
               if(e.getSource()==fastTicker){
                ykogel+=dxkogel;
                xposkogel=xpos2;
                xpos2+=dxshooter;
                 if(ykogel>=3){
                 xposkogel=xposkogel;}          
                //schietding
                    if (xpos2>240){
                            dxshooter=-3;}
                    if(xpos2<-210){
                        dxshooter=3;}
               //kogelanimatie
                   if(ykogel>310){
                   ykogel=0;}
               //COMPARING THE POSITION OF THE BULLET WITH THE UFO's
            if(yposkogel<=15){
                    if(xposkogel>=ovalx6&&xposkogel<=ovalx6+60){
                    ovaly6=1500;
                    ovalyb6=1500;}
                    if(xposkogel>=ovalx5&&xposkogel<=ovalx5+60){
                    ovaly5=1500;
                    ovalyb5=1500;}
                    if(xposkogel>=ovalx4&&xposkogel<=ovalx4+60){
                    ovaly4=1500;
                    ovalyb4=1500;}
                    if(xposkogel>=ovalx3&&xposkogel<=ovalx3+60){
                    ovaly3=1500;
                    ovalyb3=1500;}
                    if(xposkogel>=ovalx2&&xposkogel<=ovalx2+60){
                    ovaly2=1500;
                    ovalyb2=1500;}
                    if(xposkogel>=ovalx1&&xposkogel<=ovalx1+60){
                    ovaly1=1500;
                    ovalyb1=1500;}
                 this.repaint();
public void paintComponent(Graphics g){
             super.paintComponent(g);
             //ufo's
             g.setColor(Color.black);
             g.fillOval(ovalxb1,ovalyb1, 25,25); 
             g.setColor(Color.orange); 
             g.fillOval(ovalx1,ovaly1,width,height);
             g.setColor(Color.black);
             g.fillOval(ovalxb2,ovalyb2, 25,25); 
             g.setColor(Color.orange); 
             g.fillOval(ovalx2,ovaly2,width,height);
             g.setColor(Color.black);
             g.fillOval(ovalxb3,ovalyb3, 25,25); 
             g.setColor(Color.orange); 
             g.fillOval(ovalx3,ovaly3,width,height);
             g.setColor(Color.black);
             g.fillOval(ovalxb4,ovalyb4, 25,25); 
             g.setColor(Color.orange); 
             g.fillOval(ovalx4,ovaly4,width,height);
             g.setColor(Color.black);
             g.fillOval(ovalxb5,ovalyb5, 25,25); 
             g.setColor(Color.orange); 
             g.fillOval(ovalx5,ovaly5,width,height);
             g.setColor(Color.black);
             g.fillOval(ovalxb6,ovalyb6, 25,25); 
             g.setColor(Color.orange); 
             g.fillOval(ovalx6,ovaly6,width,height);
            //schietding
             g.fillRect(xpos2+350-17,317,6,40);
             g.setColor(Color.green);
             g.fillOval(xpos2+350-30,330,30,30);
             g.setColor(Color.black);
             g.fillRect(xpos2+350-40,350,50,height);
            //kogel
             g.fillRect(xposkogel+350-16,yposkogel,5,5);     
             public class AnimationDemo{
                 JFrame frame;
                 Animation animation;
                 void demo(){
                     frame=new JFrame("**Spees Inveeders** All rights reserved (Dave Senden and Joeri Oomen)");
                     animation=new Animation();
                     frame.getContentPane().add(animation);
                     frame.setSize(700,400);
                     frame.setVisible(true);
                     animation.start();
  public static void main(String[] args){
        AnimationDemo animationDemo=new AnimationDemo();
        animationDemo.demo();
        }

Similar Messages

  • Why does my Menu Bar is scrolling from left to right when I call it and not stabilizing?

    I have an an XP Windows system and I use Firefox as my default Browser, I suddenly found that my browaer is hit by something that makes the Menu Bar when I try to use it scrolling all menus from left to right so quickly that I can't point to any choice and keep doing this till I end it by mouse, also the information in the Autocomplete are not accessible as they don't show when trying to get them either by mouse or by the down key. I don.t know what to do putting in consideration that I uninstalled firefox and reinstalled it and this did not solve the problem.

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    Last point...who archives? On my regular email page I now have the Archive icon to the left of my Delete icon which I would prefer was to the left, first in the line as this is the icon I use mostly. With Folders, my Sent and Trash lists, who needs to archive?
    I can help you only with the placement of the icon placement -- if you right-mouse click on the toolbar, then select Customize Toolbar, you can move an icon to where you want it to be.

  • How to change the direction of movement in atable from left to right?

    As the title says i want to change the movement direction in the cells of a table in pages when i click tab key from "left to right" to "right to left", is that possible?

    It seams that we aren't using the same application.
    In mine, if the cell C3 is selected, pressing shift + tab select the cell B3 which is what you wanted in your original post (or I understood it wrongly).
    If what you want is the ability to insert a new row above the current one or at top of a table, you can't do that this way.
    Same response if you want to insert a new column to the left of the table.
    To do that, the soluce is to select the top row or the leftmost column.
    There is a funny bug in the menu items.
    If your table has a header row, entering the menu Format > Table, we get four items:
    Insert new header above
    Insert new header below
    if we are in the header row
    or
    Insert new row above
    Insert new row below
    Insert a column before
    Insert a column after
    These four menus items have shortcuts :
    option up arrow
    option down arrow
    option left arrow
    option right arrow
    If the table has no header, the menu items are :
    Insert new row above
    Insert new row below
    Insert a column before
    Insert a column after
    None of them display a shortcut *_but the shortcuts are active_*
    Yvan KOENIG (VALLAURIS, France) samedi 11 septembre 2010 23:52:27

  • Adobe Reader move the vertical scroll bar from left to right

    Hi,
    is it possible to move the vertical scroll bar from left to right in Adobe Reader 9?
    If not, are you planning to implement this functionality?

    I meant from right to left, sorry
    You see, I'm left handed and when I use the scroll bar that is on the right side with the left hand I don't actually see the content of the page, because my left hand is covering the screen (I'm browsing the internet in tablet mode and I use the pen to navigate between pages).
    My system is a Tablet PC with Windows XP Tablet Edition 2005 and Adobe Reader 9.3.2.
    P.S. can you edit my post so the google indexes it right? (
    from right to left
    instead of "from left to right")

  • Is it possible to flip the multiple choice quiz "radio" button from left to right of the answers?

    Hello forum,
    I am using Captivate version 6.1.0.319 on a Windows 7 desktop PC and would like to know if it is possible to flip the multiple choice quiz "radio" button from left to right of the answers. I am working on a project that uses the "Require Right to Left composer" within the Global Preferences: General settings. The captions has been switched from left to right but the quiz answer radio buttons did not. Any help would be appreciated.
    Thanks, in advance. 

    Hello and welcome to the forum,
    I'm not aware of such a possibility. A workaround could be to create your own MCQ slides, using standard objects and widgets like the radiobuttons widget (there is an enhanced version created by Jim Leichliter) and advanced actions. These articles were written for previous versions, but can give you an idea about the work involved:
    http://blog.lilybiri.com/widgets-and-custom-questions-part-1
    http://blog.lilybiri.com/extended-widgets-for-custom-mcq-and-tf-questi
    Lilybiri

  • I need to know how to delete downloaded videos and movies from iTunes when the instructions on the support page does not work.  I have swiped the selections from left to right on the phone and nothing happens.

    Hello.
    I need help deleting videos, tv shows, and movies downloaded from itunes.  I have followed the instructions to delete from the macbook, I selected the videos I wanted to delete and right clicked to delete.  Nothing happens.  When I double click on the video it still starts playing.  I also followed the instructions to delete the videos from the iphone by swiping from left to right with nothing happening.  I opened the videos on the ipad and there is no edit selection like in the instructions on the support page. Can you please tell me how to permanently remove this content so it doesn't try to copy from each device when I want to back up the Iphone and Ipad to my macbook.  Thank you.

    Hi Shawninglewood,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    How to delete content you've downloaded from the iTunes Store, App Store, iBooks Store, or Mac App Store
    http://support.apple.com/kb/HT5772
    Cheers,
    - Judy

  • While using ibooks how to change page swipe from left to right vs top to bottom

    Somehow I changed a setting in my Ibooks to change page by scrolling from top to bottom of the screen. I want to have page turn by moving from left to right. I am using iPhone with operating 7. whatever is out at this day and time. Can anyone help? Thanks
    Celestesyorkies.

    tap the AA symbol at the top, the one for resizing text.
    It will show a slider for brightness, font size, page colour, and on the bottom "scrolling view" off and on.
    When the scrolling view is "on" (green) the book is read with a vertical slider and scrolling up and down.
    When the scrolling view is "off" (no colour) the pages are changed by swiping left to right or right to left.

  • How can i move the tool bar from left to right

    Hi People
    I was wondering if anyone knows how to move the tool bar from left to right in Adobe Illustrator Draw mobile app.
    i'm left handed and i like the tool bar to be on the right.

    Maybe you can mark your answer as the answer? I'm creating a guide on switching from Ideas to Draw so I'll make sure to add this.

  • Fading an Object in From Left To Right

    I'm trying to simply have a "square" fade in from left to right. Kind of like a "wipe" transition. Using the Fade In/Out Behavior only allows the whole object to fade in from 0% to 100% opacity at the same time.
    Anyone have any ideas on how I might accomplish this extreme quest of wizardry?
    Thanks,
    Ray

    I'd like to add an alternative solution. Maxx's idea may give you more customization but my idea is a shade simpler: I'm not involving a true gradient, but feathering the mask instead.
    Draw a mask around your object. It may need to be quite a bit larger than the object in question. You'll know that, once you start playing with.
    Animate the mask's control points. I like to set the last keyframe first, where your object is completely visible. Then move the playhead to a prior point in time. Then set another mask keyframe. Now click on the upper right hand point of the mask, hold down shift, then select the bottom right hand point of the mask.
    With these points selected, If you then click and drag on the line between these 2 points, the whole right mask edge should move as one. Peel this line all of the way left until your object disappears. If you push play now, the object should sort of "wipe on" from left to right.
    One more thing: Mask feather. With the mask selected, the HUD should have mention of "Feather". You'll want to dial this up. But if your playhead is parked at the beginning of the animation or at the end, you're not likely to see anything. So move the playhead such that you're parked between your 2 keyframes, with the object about halfway exposed, then adjust the feather to your liking.
    Again, here is where you'll need to determine if the whole mask needs to be larger because you really only want the object to be effected by this "growing right edge". You don't want to see the feathering on the other edges, probably.
    Anyway, this is Just another way to skin a cat. Maybe this will help you out.

  • Shrinking a graphic from left to right

    I am trying to transform a photo from 100% to 0% (which I
    will want it to do slowly to reveal another photo underneath) and
    only the width and not the height to decrease which I know how to
    do but instead of both sides of the photo shrinking to the centre
    of the photo (when using the free transform tool), I want it to
    decrease to 0% from left to right - a bit like a slideshow moving
    from left to right but the photo doesn't actually move, it just
    shrinks starting from the left side to the right revealing the next
    photo underneath. I thought this would be a simple thing to do but
    I can't work out how to do it.
    Thanks

    You can do this by moving the center point of the picture.
    Select the Free Transform tool and select the image and move the
    little white circle (usually placed in the middle), and move it to
    the right edge of the image.

  • Lighter line passing from left to right

    Hi! What is the term which describe the white line coming from left to right in the windows 8.1 start icon from the bottom-left corner of the screen and how I can add this effect to an image, if it's possible? Thank you!

    Ok, so I experimented a bit about what you're trying to do and here's what I came up with. I think the key is to create a key (no pun intended). Think of the black text as a cut out instead of text. Then you can place a particle emitter behind the cutout and create your inner glow. Here's what I did.
    Create a white rectangle to serve as your "background". Create a text object and type your text. Color it black and then group it to the white rectangle. Name it "text".
    Place a luma key on the text group and have it key out darker. Because you have black text and an all white rectangle, only the text portion will key out.
    Create a new group and place it BELOW the text group. Call it "fx". Hunt through the particle emitters until you find one that gives you the kind of glow you are looking for. I liked the looks of the: Afterburner, Cool, and Embryo emitters.
    Adjust the colors to the particle cells to the color(s) you want to use (I recommend not making it all white because then you're text just disappears against the white rectangle). I used the Atlantic Blue preset and liked the way it looked.
    Then keyframe or use a behavior to move the emitter from one side of the text to the other to give it the move you want.
    Hope this helps.
    Andy

  • HT1430 Having reset my iPad via the settings route, the apple logo appeared on screen and the bar below it filled from left to right, then stopped. I can do nothing more: it will switch off, but when switched on again only the apple logo and filled line a

    Having resent my iPad using the Settings route, the Apple logo appeared onscreen and a line below it filled from left to right. When full, the device did nothing. I was able to switch it off and back on, only to see the same Apple logo and filled line. Even pressing the ON botton for a few seconds did nothing. The device is now inert, and I cannot access it. Please help!!!

    Reset iPad and continue with Restore.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • HT1600 I have an Apple TV 2nd Gen, iPad 2 and can't get the icon to appear when i swipe from left to right. What am I missing? I am able to get the 'Home sharing' 'user and password on my Mac.

    I have an Apple TV 2nd Gen, iPad 2 and can't get the icon to appear when i swipe from left to right. What am I missing?
    I am able to get the 'Home sharing' 'user and password on my Mac.
    Also using IPad 2 I am able to get the ITunes to accept the user name and same password as the Mac.
    However, the only way I can see the 'Home sharing; icon is in Music on the Ipad. When I tap on the Icon it asks for a password.
    When I give the same password, it is rejected.
    Help!!!!
    Jaxxdiggs

    Personally I think the iOS devices are poor at reconnecting  - Airplay establishes that a link is available but when the iPhone/iPad has been away from the house and rejoins the network i think AppleTV already thinks it's connected with a different IP address and fails to recognise it has joined the network again with new credentials.
    Something along those lines anyway.
    I find that a combination of restarting AppleTV, router and iOS device tends to fix it, but not for everyone.
    AC

  • Black screen from left to right then restart

    I have the latest ipad. After running for a few minutes the screen goes black from left to right. After about 30 secs the screen goes back to the apple logo and then the passcode. I updated to ios6, but it didn't help. I tried synching, but everytime it does the restart it looses its connection and can't be seen by itunes. Any ideas?

    Reset iPad and continue with Restore.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

Maybe you are looking for