SIMPLE Help needed here, pause needed

Hai,
I am displaying text in a window using drawstring, and on a button click, the text should fade out, i have tries it out, but i am not getting the fading effect, please help............where have i gone wrong ?
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class tmp  implements ActionListener
static JWindow window;
static JPanel panel;
JButton go = new JButton("go");
static  int ff = 255;
public static void main(String Args[])
  tmp obj = new tmp();
public tmp()
  Dimension screen   = Toolkit.getDefaultToolkit().getScreenSize();
  window = new JWindow();
  drawtext dwtxpanel = new drawtext();
  dwtxpanel.setOpaque(false);
  go.setBounds(200,250,50,20);
  go.setOpaque(false);
  go.setActionCommand("gobtbutton");
  go.addActionListener(this);
  window.getContentPane().add(go);
  window.getContentPane().add(dwtxpanel);
  window.setLocation((screen.width - 700)/2,(screen.height - 500)/2);
  window.setSize(700,500);
  window.setVisible(true);
public void actionPerformed(ActionEvent evt)
  if (evt.getActionCommand().equals("gobtbutton"))
   for(int k =0; k<20; k++)
    tmp.ff = tmp.ff - 10;
    try
     Thread.sleep(100);
    catch(Exception e)
    window.repaint();
class drawtext extends JPanel
Dimension screen   = Toolkit.getDefaultToolkit().getScreenSize();
public void paint(Graphics g)
  Graphics2D g2d = (Graphics2D)g;
  g2d.setColor(new Color(255,255,255,tmp.ff));
  g2d.setFont(new Font("Impact",Font.PLAIN,35));
  g2d.drawString("Fade example",10,90);
}

after desimating your code..... I still couldn't get it to work. but i did get it to call the paint function during the for loop.....
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class tmp  implements ActionListener
static JWindow window;
static JPanel panel;
JButton go = new JButton("go");
static  int ff = 255;
drawtext dwtxpanel;
public static void main(String Args[])
  tmp obj = new tmp();
public tmp()
  Dimension screen   = Toolkit.getDefaultToolkit().getScreenSize();
  window = new JWindow();
  dwtxpanel = new drawtext();
  dwtxpanel.setOpaque(false);
  go.setBounds(200,250,50,20);
  go.setOpaque(false);
  go.setActionCommand("gobtbutton");
  go.addActionListener(this);
  window.getContentPane().add(go);
  window.getContentPane().add(dwtxpanel);
  window.setLocation((screen.width - 700)/2,(screen.height - 500)/2);
  window.setSize(700,500);
  window.setVisible(true);
public void actionPerformed(ActionEvent evt)
  if (evt.getActionCommand().equals("gobtbutton"))
   for(int k =0; k<25; k++)
    ff = ff - 10;
          double theTime = System.currentTimeMillis()+300;
           while(theTime-System.currentTimeMillis()>0)
                //repeat :D
    dwtxpanel.paint(dwtxpanel.temp);
    window.validate();
    window.repaint();
    //dwtxpanel.update(dwtxpanel.temp);
class drawtext extends JPanel
     Graphics temp;
     Graphics2D g2d;
Dimension screen   = Toolkit.getDefaultToolkit().getScreenSize();
public void paint(Graphics g)
     temp = g;
     System.out.println("bla"+tmp.ff);
  g2d = (Graphics2D)g;
  g2d.setColor(new Color(tmp.ff,0,0,255));
  g2d.setFont(new Font("Impact",Font.PLAIN,35));
  g2d.drawString("Fade example",10,90);
}I know i had this sort of problem of changing but not updating in a card game i made. so i'll try find it.

Similar Messages

  • Sending me round the bend, no mail in my iCloud inbox, it asks me for ios5 it is on the iPad, also got an account, I do not understand any computer stuff stmp etc so please do not be tetchy just simple help newbie here

    This pad is so stupid, iCloud iOS5, iTunes pallet IID etc etc, I have ios5, I have an iCloudd account it will not send or receive mails in iCloud, please
    Do not be tech here, I do not even understand stmp etc, why is it not getting mail in easy steps please.

    You should be able to chat with an agent via Contact Customer Care; click on the Still need help? button.

  • I deleted all my sync info, and I need it back I deleted it today by mistake please help me here.

    # I formatted my desktop
    # I install Firefox
    # I tried the Firefox sync option so I can restore my stuff
    # And it's asked me for a username & password, So I used my username and password but I stopped when it asked me for a recovery key that I don't have so I create a new one.
    # That when I lost all my bookmarks passwords... etc
    please help me here I need my stuff back ASAP

    Sorry, when you create a new Sync Key your data is erased from the Sync server and there are no backups made to the Sync server.

  • I need some help adding music to my slideshow in iPhoto.  When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

  • Board game - pawn help.. I need some experts here.. i need this now.. beg..

    i have these whole junk of coding here.. where should i insert my pawns? lets say pinkpawn.jpg is my pawn.. then what code should i type & at where?
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.Timer;
    import java.util.TimerTask;
    class ImageDemo extends JPanel implements ActionListener
              Random rand = new Random();
              int num = 0, range = 500, score = 0;
              JLabel labelScore;
              JButton button1;
              public ImageDemo()
              //---------------Zarrina-------------------
    num = rand.nextInt(range);
                   num %= 6;
                   num += 1;
                   System.out.println("The random number is " + num);
              //-----------------Simei------------------
                   labelScore = new JLabel();
                   labelScore.setText("125");
                   labelScore.setBounds(525, 160, 70, 30);
                   add(labelScore);
                   setLayout(null);
                   button1 = new JButton("haha");
                   button1.setBounds(400, 200, 75, 75);
                   button1.addActionListener(this);
                   button1.setBackground(Color.red);
                   add(button1);
                   // huahua mus b here
              public void paintComponent(Graphics comp)
                   //---------------Carolin-----------------
                   super.paintComponent(comp);
                   for (int i = 0; i < 7; i++)
                        if(i%2 == 0)
                             comp.setColor(Color.blue);
                             comp.fillRect((50+i*70), 50, 100, 60);
                        else if (i%2 == 1)
                             comp.setColor(Color.yellow);
                             comp.fillRect((50+i*70), 50, 100, 60);
              public void actionPerformed(ActionEvent e)
                   if ((JButton)e.getSource() == button1)
                             score += 5;
                             labelScore.setText("" + score);
    er(this);
                   add(die);
                   for (i = 0; i < 6; i++)
                        LayOut[i] = new JLabel();
                        LayOut.setBounds(50, 350+(-60*i), 80, 60);
                        add(LayOut[i]);
                   LayOut[CurrentPosition].setIcon(picture);
                   for (i = 6; i < 10; i++)
                        LayOut[i] = new JLabel();
                        LayOut[i].setBounds(130+(80*a), 50, 80, 60);
                        add(LayOut[i]);
                        a++;
                   a = 0;
                   for (i = 10; i < 16; i++)
                        LayOut[i] = new JLabel();
                        LayOut[i].setBounds(450, 50+(60*a), 80, 60);
                        add(LayOut[i]);
                        a++;
                   a = 0;
                   for (i = 16; i < 20; i++)
                        LayOut[i] = new JLabel();
                        LayOut[i].setBounds(370+(-80*a), 350, 80, 60);
                        add(LayOut[i]);
                        a++;
         public void ChangeNumber()
              //---------------Zarrina-------------------
              num = rand.nextInt(range);
                   num %= 6;
                   num += 1;
              public void paintComponent(Graphics comp)
                   //---------------Carolin-----------------
                   super.paintComponent(comp);
                   comp.drawImage(bgImage, 0, 0, this);
                   for (int i = 0; i < 6; i++)
                        comp.drawRect(50+(80*i), 50, 80, 60);     
                   for (int i = 0; i < 6; i++)
                        comp.drawRect(50+(80*i), 350, 80, 60);     
                   for (int i = 0; i < 4; i++)
                        comp.drawRect(50, 110+(i*60), 80, 60);     
                   for (int i = 0; i < 4; i++)
                        comp.drawRect(450, 110+(i*60), 80, 60);     
                   comp.drawString("Moral Qns", 68, 75);
                   comp.drawString("time", 78, 90);
                   comp.drawString("Get 1 Moral", 142, 69);
                   comp.drawString("credit free!!", 145, 90);
                   comp.drawString("Gain 10", 229, 72);
                   comp.drawString("Credits", 229, 92);
                   comp.drawString("Question", 307, 72);
                   comp.drawString("Time", 317, 90);
                   comp.drawString("Lose 4", 387, 72);
                   comp.drawString("Credit", 387, 90);
                   comp.drawString("Ans 1", 464, 72);
                   comp.drawString("Moral Qns", 458, 90);
                   comp.drawString("Moral Qns", 458, 130);
                   comp.drawString("Time", 468, 150);
                   comp.drawString("Lose 3", 461, 187);
                   comp.drawString("Moral credit", 459, 204);
                   comp.drawString("=(", 466, 217);
                   comp.drawString("Moral Qns", 459, 255);
                   comp.drawString("Time", 465, 270);
                   comp.drawString("Lose 5", 465, 308);
                   comp.drawString("credits", 465, 322);
                   comp.drawString("TRAGEDY!!", 455, 338);
                   comp.drawString("Ans 1", 465, 376);
                   comp.drawString("Moral Qns", 465, 393);
                   comp.drawString("Lose 2", 384, 376);
                   comp.drawString("Credits", 382, 393);
                   comp.drawString("Ans 1", 305, 376);
                   comp.drawString("Moral Qns", 304, 393);
                   comp.drawString("Answer 1", 230, 376);
                   comp.drawString("Question", 227, 393);
                   comp.drawString("Gain 8", 145, 366);
                   comp.drawString("Credits", 145, 383);
                   comp.drawString("=)", 145, 399);
                   comp.drawString("START", 68, 384);
                   comp.drawString("Gain 6", 68, 310);
                   comp.drawString("Credits", 68, 330);
                   comp.drawString("Question", 68, 254);
                   comp.drawString("Time", 72, 272);
                   comp.drawString("Move 3", 68, 189);
                   comp.drawString("Steps Ahead", 58, 210);
                   comp.drawString("Ans 1 Qns", 57, 130);
              //---------------score-----------------
              public void actionPerformed(ActionEvent e)
                   if ((JButton)e.getSource() == die)
                        LayOut[CurrentPosition].setVisible(false);
                        ChangeNumber();
                        CurrentPosition += num;
                        if (CurrentPosition > 19)
                             CurrentPosition -= 20;
                        System.out.println("The Current position is " + CurrentPosition);
                        if (CurrentPosition == 1)
                             score += 6;
                             //Credit -= 6;
                        else if (CurrentPosition == 2)
                             AskQuestionBasic ask=new AskQuestionBasic
                             ("You board the bus after school and saw that there are a lot of people in the bus.And most of them were from your school. The bus is so crowded that there isn't any seats left. However, you saw an empty space and you witness a working adult rushing for the seat with an old lady, and he got it first. What will you do?", 2, "Tell the adult nicely that he should not have done so.", "Try to search for another place for the old lady.", "Pretend that you had never seen anything.", "Ask 1 of your friend to kindly give up the seat to her.","BUS1.GIF");
                        else if (CurrentPosition == 3)
                             LayOut[CurrentPosition].setVisible(false);
                             CurrentPosition += 3;
                             LayOut[CurrentPosition].setIcon(picture);
                             LayOut[CurrentPosition].setVisible(true);
                             score += 1;
                        else if (CurrentPosition == 4)
                             AskQuestionBasic ask=new AskQuestionBasic("Joshua is working part time at a department store. His friend Jim,is also working there. One day, Jim was scolded by the manager(who is known to be unreasonable and bad-tempered),as he is being accused of theft. As 1 product from his shelf is missing. And you remembered sawing it at the other shelf in one of the department. What should he do?", 2, "Walk up to them and tell the manager the truth even though you know he might not like it and sacked both of you.", "Get someone who is on good terms with the manager to speak up for Jim, this way, both of them can retain their jobs.", "Better not get involved.", "Walk up to the manager and apologise, lying that you had taken the product without informing Jim.","SAD.GIF");
                        else if (CurrentPosition == 5)
                             AskQuestionBasic ask=new AskQuestionBasic("Sarah's group members are finishing their project parts. She's the only person in the group who has not even done anything at all.Her groupmates offered to help her and she let them do all her work.On the day of the presentation, she got high marks for her part, infact, higher than the others. She's feeling guilty at that time.Should she", 1, " Admit to the markers that she isn't the one who had done her part, but helped by her group members.", "Just get those marks and get out of here.", "Get the marks and later see if her group members mind. If yes,apologise to them and swear she will work harder and not commit the same mistakes again.", "Admit to the markers by telling them the truth.","BOOKS.GIF");
                        else if (CurrentPosition == 6)
                             score += 1;
                             //Credit -= 1;
                        else if (CurrentPosition == 7)
                             score += 10;
                             //Credit -= 10;
                        else if (CurrentPosition == 8)
                             AskQuestionBasic ask=new AskQuestionBasic("Randy had been using people's project and pass it off as his own.For the latest project, Randy had once again lie to his friend that he need a reference to do his project, and soon after, he copied this friend's work and pass it off as his own. Clifton had notice this and was not happy about this. What should he do?", 2, "Inform that friend about this before the teacher sees it.", "Have a talk with Randy.", "Inform the teacher. (The teacher always give students a chance to realise their mistakes)", "Do nothing since the project was not copied from him.","BOOK1.GIF");
                        else if (CurrentPosition == 9)
                             score -= 4;
                             //Credit += 4;
                        else if (CurrentPosition == 10)
                             AskQuestionBasic ask=new AskQuestionBasic("You realise that your classmate Jane has been stealing things from shops. What do you do?", 3, "Tell your teacher", "Report to the police", "Talk to her and ask her to change", "Tell her mother immdeiately","SAD.GIF");
                        else if (CurrentPosition == 11)
                             AskQuestionBasic ask=new AskQuestionBasic("Your sister seems to be very troubled these few days. She ignore everyone in the family and get frustrated easily. What do you do when you encounter this situation?", 3, " Quarrel with her", "Ignore her, after all it's none of your busniness", "Talk to her nicely and ask her about her problems", "Irritate her","SAD.GIF");
                        else if (CurrentPosition == 12)
                             score -= 3;
                             //Credit += 3;
                        else if (CurrentPosition == 13)
                             AskQuestionBasic ask=new AskQuestionBasic("You are on your way back home when you witness a teenager snatching away the purse of an old lady before pushing the old lady on the floor. What do you do at this instant?", 3, "Give chase of the robber", "Pretend you saw nothing", "Help the old lady up, and report the features of the robber to the police station ", "Curse and swear","SAD.GIF");
                        else if (CurrentPosition == 14)
                             score -= 5;
                             //Credit += 5;
                        else if (CurrentPosition == 15)
                             AskQuestionBasic ask=new AskQuestionBasic("You are standing in a crowded bus. You see an old man struggling to stand still on the bus. The person sitting on the seat which is meant for the needy refuses to give up the seat to the old man. What do you do at this moment?", 4, "Let the old man carry on standing", "Scold the person sitting down with vulgar words", "Keep staring at the man until he stands up", "Tell the person sitting down nicely to give up the seat to the old man","BUS2.GIF");
                        else if (CurrentPosition == 16)
                             score -= 2;
                             //Credit += 2;
                        else if (CurrentPosition == 17)
                             AskQuestionBasic ask=new AskQuestionBasic("Carol is a very quiet girl and she is very afraid of speaking up because she thinks that she will hurt people. So her friends tend to think that she is being too anti-social and reserved type. As a friend, what will you do to help her bcome more social?", 4, "Encourage her to join debating clubs", "Call her every nite and tok to her", "Just ignore", "Talk to her often and get to know her better to let her feel that she is still sociable","SAD.GIF");
                        else if (CurrentPosition == 18)
                             AskQuestionBasic ask=new AskQuestionBasic("Someone with a gang approach ur friend when she is alone. They offer a cigratte to her n force her to smoke. at that moment she is so panick that she does not know what to do. You happen to walk by and saw it. what will u do?", 3, "Just ignore as its none of your business.", "Go towards them and encourage her to smoke.", "Shout for help.", "Go towards them in your own risk, not knowing what will happen to you either.","SAD.GIF");
                        else if (CurrentPosition == 19)
                             score += 8;
                             //Credit -= 8;
                        labelScore.setText("" + score);
                        //labelCredit.setText("" + Credit);
                        if (num == 1)
                             DiePic = DiePic1;
                             LayOut[CurrentPosition].setIcon(picture);
                             LayOut[CurrentPosition].setVisible(true);
                        else if (num == 2)
                             DiePic = DiePic2;
                             LayOut[CurrentPosition].setIcon(picture);
                             LayOut[CurrentPosition].setVisible(true);
                        else if (num == 3)
                             DiePic = DiePic3;
                             LayOut[CurrentPosition].setIcon(picture);
                             LayOut[CurrentPosition].setVisible(true);
                        else if (num == 4)
                             DiePic = DiePic4;
                             LayOut[CurrentPosition].setIcon(picture);
                             LayOut[CurrentPosition].setVisible(true);
                        else if (num == 5)
                             DiePic = DiePic5;
                             LayOut[CurrentPosition].setIcon(picture);
                             LayOut[CurrentPosition].setVisible(true);
                        else if (num == 6)
                             DiePic = DiePic6;
                             LayOut[CurrentPosition].setIcon(picture);
                             LayOut[CurrentPosition].setVisible(true);
                        DieCon.setIcon(DiePic);
                   if (score >= 15)
                        JFrame frame = new JFrame("Moral Game");
                        frame.setContentPane(new win());
                        frame.setSize(729, 538);
                        //frame.setResizable(false);
                        frame.setLocation(150, 80);
                        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        frame.setVisible(true);

    i think im wrong.. nevermind then..There are a lot of experts here, most of them just
    ignore vague questions with pages of code, stated as
    an emergency, especially when the code is not formated
    using code tags.
    The fact that you expect an answer within 10 minutes
    of your original post is ridiculous on any day, but
    even more so on a Friday afternoon and even more so on
    a holiday.
    Actually..I am wondering where "pinkpawn.jpg" relates to the AskQuestion (paraphrased) "Encourage her to continue smoking"...
    But I'm not curious enough to hurt my already damaged eyesight further...

  • Please help I cannot buy anything in AppStore I'm here in Dubai it says YOUR PURCHASE COULD NOT BE COMPLETED FOR ASSISTANCE, CONTACT ITUNES SUPPORT        Help me please I need to buy something please asap

    Please help I cannot buy anything in AppStore I'm here in Dubai it says YOUR PURCHASE COULD NOT BE COMPLETED FOR ASSISTANCE, CONTACT ITUNES SUPPORT        Help me please I need to buy something please asap

    Click here and request assistance.
    (84901)

  • My friend needs help with her ipod

    My friend needs help with her Ipod. Here's what happened. She connected her Ipod to a casette adapter and the ipod just froze. She started doing the reset but to no avail. What do you think cause this? She really needs help so if anyone can suggest what to do that would be greatly appreciated.
    I don't specifically know her ipod but I think that it is the Ipod 30gb.

    Welcome to Apple Discussions!
    She needs to reset her iPod by holding down Menu and Select for 6-10 seconds...
    Resetting iPod
    It may take several attempts. The above link also has "tips" if the iPod does not seem to be resetting.
    If she has tried many times, along with the "tips" and the iPod still won't reset, then she will have to wait for the iPod's battery to die and then she can charge it back up and it should work fine. The iPod should reset though.
    btabz

  • Please help!! Newbie here really need help. Numlock, divers, backup, recovery disk

    Hi everyone
    I finally found where to post
    I really wish someone could or would help me
    I have a lenovo g550 for about 4-5 years And I was happy with it
    few days go I cleaned installed windows Ii got a friend to help infests he put it on the d drive then c drive And c drive gainsaid he formatted my d drive chlorinating on therein was a real unswayable I kind of sorted it out. And I learnt a lot bout the oem partitioning deleted that though. Can someone tell me If I can boot or recover my previous vista from there.?
    If not its fine but then I would like to know is can I change the oem partition with the image or recovery (whatever you call it) of the new windows  7 or how to go about creating a recovery disk.
    After installing the new windows my PC seems to be fine but I don't know If I kept all the drivers And whatever goes with it. What are all the drivers I need And where do I find If I have them or not. I am not really worried about my data as I want to start fresh.
    Another thing I noticed is my number keypad stopped working all of a sudden. When I press the numlock button it beeps and the light does go on and off. When its on it doesn't give me numbers e.g... If I press 5 it actually highlights where the cursor is.
    And my mouse/trackpad is not the same as it was before. When I had vista on the right of the trackpad I could use it to scroll up and down and the bottom of the trackpad allowed me to scroll left to right. This function is no longer there. I have to use the arrows to go up and down.
    Somebody please help as I do need my laptop for work purposes.
    THANK YOU IN ADVANCE!!!

    hi any drivers you should need you should be able to get through support drivers&downloads link at top of this sites page bud you could use partition magic to clear all partitions and create new multible one if you wish the rest wait till after you put drivers in and see if probs still exist bud

  • Ok so it's what 1-25-13 Siri is down... AGAIN for the fourth ever since i got this iPad on Christmas so yea I need her to be back up and running... How do I fix it if you won't.

    Ok so it's what 1-25-13 Siri is down... AGAIN for the fourth ever since i got this iPad on Christmas so yea I need her to

    Randall-
    With some exceptions, Apple may not read this forum.  Many of us here are just people with time on our hands who want to help.
    If your WiFi internet link is not working, Siri will not work.  One thing you can try is to unplug your WiFi router for a few seconds.  Then reset the iPad's network at Settings-General-Reset-Reset Network Settings.  You may have to reconnect the iPad to the WiFi.
    There may be an iOS update beyond 6.0.1, in case that matters.
    Fred

  • How can I turn a smart phone into a dumb phone (for punishment when I still need her to have a phone)?

    I believe I am on the verge of needing to know how to turn my daughters phone into a dumb phone as a consequence.  I still need her to be able to call me, but not much else.  Anyone have any helpful hints?  She has a 5C.

    Remove all the email accounts that are on the device.
    Turn off FaceTime & iMessage.
    Create a new Apple ID using a new email address that you create, and that only you know the password to.
    Use that Apple ID for Settings > iCloud and Settings > iTunes & App Store.
    Delete all the third-party apps on the device.
    Go into Setting > Cellular and disable all apps from using cellular data (except Find My iPhone).  Or even disable Cellular data totally.
    Use the Restrictions option under Settings > General > Restrictions.  Create a Restrictions passcode that only you know
    Disable the ability to use everything from Safari down to Carplay under the Restrictions.
    Set all the allowed content to the most restricted options available.
    Set the Allow Changes in Restrictions to prevent allowing changes to Account, Cellular Data Use, ad maybe even volume limit.
    That pretty much makes it so she can make phone calls and use normal texting, but has no internet access, no way to browse online, no way to use any apps other than what's already pre-installed, can't use FaceTime, can't use the Camera, can't add email accounts to the device, can't change out the iCloud account, etc.  It basically dumbs the iPhone down as far as it can possibly go.

  • I need to pause the slide while A role over caption audio plays

    I am working in Captivate 4, I have a few audio explanations in role over captions and I need to pause the slide if the learner scrolls over them. currently it will play both the slide & role over at the same time. Anybody got a solution????

    Hi Paco,
    Here is an AS3 version for Captivate 4:
    http://www.cpguru.com/demonstrations/as3(cp4)MuteSounds.zip
    I don't have CP4 installed on this machine anymore so I haven't been able to test if it works or not.
    Good luck ;o)
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • How can i decide how many dimensions are needed here.and which charactersti

    Hi,
            i am planning to create custom defined cube for sale order line item data.  how can i decide how many dimensions are needed here.and which characterstics are suitable for that dimensions.
    Thanks,
    chandu.

    Hi Chandra,
    How many dimensions are needed and which characteristics to be used totally depends upon the data model you are using.
    for instance  take an example of school.
    teachers , students are the imp terms in this example .
    you can choose these two as dimensions .
    teacher's name , address  , subject , class , designation etc can be its characteristics . and for students also the important terms describing them can be its characteristics.
    for more understanding of the Dimensional Modeling you can refer to following link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84
    Hope It Helps .
    Regards
    Pratap

  • Need to pause the action

    I have one action with 15 steps . How can the action pause at 7th and 11th step in 5 seconds ? I insert Stop but after the action stops I have to click play button to continue- it takes time. Thanks for your help.

    You can use the built-in action pause playback option but you will need to create two scripts. One to set the option to pause and the second to set it back normal.
    function setPlayback( optionID, seconds ) {
        //stringIDToTypeID('accelerated')
        //stringIDToTypeID('pause')
        // second argument required only when id = pause
        var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putProperty( charIDToTypeID('Prpr'), charIDToTypeID('PbkO') );
            ref.putEnumerated( charIDToTypeID('capp'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc.putReference( charIDToTypeID('null'), ref );
            var optionsDesc = new ActionDescriptor();
            optionsDesc.putEnumerated( stringIDToTypeID('performance'), stringIDToTypeID('performance'), optionID );
            if(seconds!=undefined) optionsDesc.putInteger( stringIDToTypeID('pause'), seconds );
        desc.putObject( charIDToTypeID('T   '), charIDToTypeID('PbkO'), optionsDesc );
        executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );
    setPlayback( stringIDToTypeID('pause') , 5 );
    and
    function setPlayback( optionID, seconds ) {
        //stringIDToTypeID('accelerated')
        //stringIDToTypeID('pause')
        // second argument required only when id = pause
        var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putProperty( charIDToTypeID('Prpr'), charIDToTypeID('PbkO') );
            ref.putEnumerated( charIDToTypeID('capp'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc.putReference( charIDToTypeID('null'), ref );
            var optionsDesc = new ActionDescriptor();
            optionsDesc.putEnumerated( stringIDToTypeID('performance'), stringIDToTypeID('performance'), optionID );
            if(seconds!=undefined) optionsDesc.putInteger( stringIDToTypeID('pause'), seconds );
        desc.putObject( charIDToTypeID('T   '), charIDToTypeID('PbkO'), optionsDesc );
        executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );
    setPlayback( stringIDToTypeID('accelerated') );
    Then where you need the pause have the action run those two scripts.

  • I reset the ipad. hoping it would help. but still it needs password for activation. the owner already forgot password for icloud as well as password of the email since it was not used since 2011. help please.

    I reset the ipad. hoping it would help. but still it needs password for activation. the owner already forgot password for icloud as well as password of the email since it was not used since 2011. help please.

    Your sister can go to https://iforgot.apple.com/ and see if she can recover her password.
    There is nothing anybody else can do.

  • I am not able to register my Apple ID for iCloud and the error is "the maximum no of free accounts have been activated on this phone" can any one help me why I need to do

    I am not able to register my Apple ID for iCloud and the error is "the maximum no of free accounts have been activated on this phone" can any one help me why I need to do

    Sir, your Apple ID can be used as an iCloud account as well. They are both the same thing.
    You can learn more from --> Set up your Apple ID for iCloud and iTunes - Apple Support

Maybe you are looking for