How to clear what I draw in a component?

Hi, I am doing some drawing in a component, and I want to click the button, then what I draw will clear immediately, so how do I do that?

hi, I can not give you a shor code
but this is the excutatble code, my intention is to click the stop button, the music will stop playing and the waveform will be cleared, but till not I do not know how to do it, thanks for your help..
* To change this template, choose Tools | Templates
* and open the template in the editor.
package display513;
import java.io.*;
import java.util.Vector;
import java.util.Deque;
import java.util.Scanner;
import java.util.LinkedList;
import java.net.URL;
import javax.sound.sampled.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.Line2D;
import javax.swing.ImageIcon;
import javax.swing.filechooser.FileNameExtensionFilter;
* @author wangyue
public class demo {
    public demo()
        javax.swing.SwingUtilities.invokeLater(new Runnable()
            public void run()
                ShowWaveForm();
    private void ShowWaveForm()
        JFrame frame = new JFrame("Real-time audio beat tracking");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JComponent contentPane = new Pane();
        contentPane.setOpaque(true);
        frame.setContentPane(contentPane);//����add���� ����������������
        frame.pack();
        frame.setResizable(false);//false
        frame.setVisible(true);
    public static void main(String[] args)
        demo mydemo = new demo();
class Pane extends JPanel
  //public field .....................................
  private float FONT_SIZE = 20;
  //String name for button
  private static final String openString = "Open file";
  private static final String playString = "play only";
  private static final String play_trackString = "play&track";
  private static final String play_beatsString = "play beats only";
  private static final String pause_resumeStrig = "pause";
  private static final String stopString = "stop";
  private static final String save_beatsString = "save beats";
  private static final String quitString ="quit";
  //********************************button component************************
  private JButton openButton;
  private JButton playButton;
  private JButton play_trackButton;
  private JButton play_beatsButton;
  private JButton pause_resumeButton;
  private JButton stopButton;
  private JButton save_beatsButton;
  private JButton quitButton;
  //********************************button component************************
  //����������
  private Vector<Double> samples = new Vector<Double>(1024);
  private ImageIcon logoIcon = new ImageIcon("logo.jpg","the logo");   
  private static boolean isPlay ;
  FilenameFilter wavFilter = new WavFilter();
  private JLabel logolabel;
  private JTextField beatfield;
  private JPanel waveformpanel;
  private JPanel logopanel ;
  final  private JFileChooser chooser;
  private String filename;
  private static boolean track_flag = false;
  private static boolean notkill ;
  public Pane()
    super(new BorderLayout());
    isPlay = false;
    notkill = true;
    track_flag = false;
    openButton = new JButton(openString);
    openButton.addActionListener(new openListener());
    //openButton.setBorder(BorderFactory.createEmptyBorder(14,14,14,14));
    openButton.setSize(0,10);
    playButton = new JButton(playString);
    playButton.addActionListener(new playListener());   
    play_trackButton = new JButton(play_trackString);
    play_trackButton.addActionListener(new play_trackListener());
    play_beatsButton = new JButton(play_beatsString);
    play_beatsButton.addActionListener(new play_beatsListener());
    pause_resumeButton = new JButton(pause_resumeStrig);
    pause_resumeButton.addActionListener(new pause_resumeListener());
    stopButton = new JButton(stopString);
    stopButton.addActionListener(new stopListener());
    save_beatsButton = new JButton(save_beatsString);
    save_beatsButton.addActionListener(new save_beatsListener());
    quitButton = new JButton(quitString);
    quitButton.addActionListener(new quitListener());
    beatfield = new JTextField(1);
    JPanel lowerpane = new JPanel(new BorderLayout());
    lowerpane.add(beatfield, BorderLayout.CENTER);
    TitledBorder fieldOutsideBorder  = BorderFactory.createTitledBorder("Real Time Tracked Beats");
    fieldOutsideBorder.setTitleFont(fieldOutsideBorder.getTitleFont().deriveFont(FONT_SIZE));
    Border fieldInsideBorder = BorderFactory.createEmptyBorder(5, 5, 5, 5);
    lowerpane.setBorder(BorderFactory.createCompoundBorder(fieldOutsideBorder,fieldInsideBorder));
    waveformpanel = new WaveformPanel();
    waveformpanel.setOpaque(true);
    JPanel upperpane = new JPanel(new BorderLayout());
    upperpane.add(waveformpanel, BorderLayout.CENTER);
    TitledBorder waveOutsideBorder  = BorderFactory.createTitledBorder("Music Signal");
    waveOutsideBorder.setTitleFont(waveOutsideBorder.getTitleFont().deriveFont(FONT_SIZE));
    Border waveInsideBorder = BorderFactory.createEmptyBorder(5, 5, 5, 5);
    upperpane.setBorder(BorderFactory.createCompoundBorder(waveOutsideBorder,waveInsideBorder));
    //waveformpanel.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
    // ������������panel ����button
    JPanel buttonpane = new JPanel();
  //  buttonpane.setLayout(new BoxLayout(buttonpane, BoxLayout.Y_AXIS));
    GridLayout gl = new GridLayout(9,1);
    gl.setVgap(25);
    buttonpane.setLayout(gl);   
    buttonpane.add(openButton);
    buttonpane.add(playButton);
    buttonpane.add(play_trackButton);
    buttonpane.add(play_beatsButton);
    buttonpane.add(pause_resumeButton);
    buttonpane.add(stopButton);
    buttonpane.add(save_beatsButton);
    buttonpane.add(quitButton);
    buttonpane.setBorder(BorderFactory.createEmptyBorder(20,20,5,5));
   // BorderFactory.createLineBorder(Color.BLUE, 5);
    //Border outterborder = BorderFactory.createEmptyBorder(20,18,5,5);
  //  Border innerborder  = BorderFactory.createLineBorder(Color.GRAY);
    //buttonpane.setBorder();
  //  buttonpane.setBorder(BorderFactory.createCompoundBorder(outterborder,innerborder));
    JPanel rightpane = new JPanel(new BorderLayout());
  //  rightpane.setSize(100, 100);
   // rightpane.add(upperpane,BorderLayout.NORTH);  
    rightpane.add(upperpane,BorderLayout.NORTH);
  //  rightpane.add(lowerpane, BorderLayout.SOUTH);
     rightpane.add(lowerpane);
    rightpane.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
    JPanel buttompane = new JPanel();
    buttompane.setLayout(new BoxLayout(buttompane, BoxLayout.LINE_AXIS));
    buttompane.add(buttonpane);
    buttompane.add(rightpane);
    logopanel = new JPanel(new BorderLayout());//fuck fuck   ��������������������
    JLabel logolabel = new JLabel(logoIcon);
    //logolabel.setIcon(logoIcon); //faint ����������������������������
    logopanel.add(logolabel);    
    // ����������������
   // add(logopanel, BorderLayout.SOUTH); 
    add(logopanel, BorderLayout.PAGE_START);
    add(buttompane, BorderLayout.CENTER);
      chooser = new JFileChooser();
         playButton.setEnabled(false);
         play_beatsButton.setEnabled(false);
         pause_resumeButton.setEnabled(false);
         play_trackButton.setEnabled(false);
         stopButton.setEnabled(false);
         save_beatsButton.setEnabled(false);
  }// end for Panel()
  public void setFilename(String filename)
       this.filename = filename;
  public String getFilename()
      return filename;
  class openListener implements ActionListener
        public void actionPerformed(ActionEvent e)
        //  int state = chooser.showOpenDialog(null);
         chooser.setCurrentDirectory(new File("D:\\"));
         FileNameExtensionFilter filter = new FileNameExtensionFilter("wav", "wav");
         chooser.setFileFilter(filter);
         int state = chooser.showOpenDialog(null);
         if(state == JFileChooser.APPROVE_OPTION)
             filename =  chooser.getSelectedFile().getName();
             setFilename(filename);
             playButton.setEnabled(true);
             play_trackButton.setEnabled(true);
             pause_resumeButton.setEnabled(false);
             stopButton.setEnabled(false);
             save_beatsButton.setEnabled(false);
             System.out.println("You chose to open this file: " + filename);
             else if(state == JFileChooser.CANCEL_OPTION)
                JOptionPane.showMessageDialog(null, "Canceled");
             else if(state == JFileChooser.ERROR_OPTION)
                JOptionPane.showMessageDialog(null, "Error!");
       //throw new UnsupportedOperationException("Not supported yet.");
  class playListener implements ActionListener
        public void actionPerformed(ActionEvent e) {
         play_beatsButton.setEnabled(true);
         pause_resumeButton.setEnabled(true);
         stopButton.setEnabled(true);
         save_beatsButton.setEnabled(true);
        //����������������
         isPlay = true;
         new PlayThread(getFilename()).start();
            //throw new UnsupportedOperationException("Not supported yet.");
  class play_trackListener implements ActionListener
        public void actionPerformed(ActionEvent e)
            track_flag  = true;
            isPlay = true;
            new PlayThread(getFilename()).start();
            play_beatsButton.setEnabled(true);
            pause_resumeButton.setEnabled(true);
            stopButton.setEnabled(true);
            save_beatsButton.setEnabled(true);
  class play_beatsListener implements ActionListener
        public void actionPerformed(ActionEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
  class pause_resumeListener implements ActionListener
        public void actionPerformed(ActionEvent e) {
          //  throw new UnsupportedOperationException("Not supported yet.");
            if(isPlay)
                 isPlay = false;               
                 pause_resumeButton.setText("continue");
               //  System.out.println(isPlay);
            else
                  isPlay = true;
                  pause_resumeButton.setText("pause");
                //  System.out.println(isPlay);
  class stopListener implements ActionListener
        public void actionPerformed(ActionEvent e) {
            //throw new UnsupportedOperationException("Not supported yet.");       
           // new PlayThread(getFilename()).start();
            //isPlay = false;
           // notkill = false;
  class save_beatsListener implements ActionListener
        public void actionPerformed(ActionEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
  class quitListener implements ActionListener
        public void actionPerformed(ActionEvent e) {
          //  throw new UnsupportedOperationException("Not supported yet.");
           System.exit(0);
  class WaveformPanel extends JPanel implements ActionListener
      Timer timer;
      int speed = 100;//100
      int pause = 0;
      int nframe=0;
      int count=20;
      int pp=0;//������������
      double xpos=1.0;
  int[] pos= { 150,190,230,274,315,356,395,436,477,515,555,595,635,675,715,755,795,835,875,915,955,995,10,6,1076,1116,1155,1195,1235,1275
,1315,1355,1395,1434,1474,1514,1554,1594,1634,1673,1713,1753,1793,1833,1873,1913,1953,1993,2033,2073,2113,2153,2192,2232,2223,2322,2352,2392,2431,2471,2511,2551};
      public WaveformPanel()
         super(new BorderLayout());
         setPreferredSize(new Dimension(500, 400));
         timer = new Timer(speed, this);
         timer.setInitialDelay(pause);
         timer.start();
      public void actionPerformed(ActionEvent e)
        if (!isPlay && !notkill)
           // return;
        else
            repaint();
      public void paint(Graphics graph)
          Graphics2D g = (Graphics2D) graph;
          Dimension d = getSize();
          double gridWidth = d.getWidth();
          double gridHeight = d.getHeight();
          int gridWidthInt = new Double(gridWidth).intValue();
          int gridHeightInt = new Double(gridHeight).intValue();
          g.clearRect(0, 0, gridWidthInt, gridHeightInt);
          g.setColor(Color.red);
          ///g.fi
          int size = samples.size();//size ����������1600��������
         if(notkill = false)
            // get the visible area
            Rectangle clip = g.getClipBounds();
             // set a color you want for clearing
            g.setColor(getBackground());
            g.fillRect(clip.x, clip.y, clip.width, clip.height);
         else
              for (int index = 1; index < size - 1; index++)
                    Double s = samples.elementAt(index);   
                    double x1 = (new Integer(index + 1)).doubleValue() / 1024.0
                      * gridWidth;
                    double x2 = x1;
                    double y1 ;
                    double y2 ;
                    if( s.doubleValue()>900)
                        y1 =0.0;
                    else
                        y1 = 0.5 * gridHeight;
                    y2= 0.5 * gridHeight * (1 + s.doubleValue());
                 g.draw(new Line2D.Double(x1,y1,x2,y2));
class PlayThread extends Thread
     String filename;
     int index=0;
     int nframe=0;
     int[] pos= { 150,190,230,274,315,356,395,436,477,515,555,595,635,675,715,755,795,835,875,915,955,995,1076,1116,1155,1195,1235,1275
,1315,1355,1395,1434,1474,1514,1554,1594,1634,1673,1713,1753,1793,2392,2431,2471,2511,2551};     
     public PlayThread(String filename)
         this.filename = filename;
         samples = new Vector<Double>(1024);
     public void run()
        // isPlay = true;
         final byte[] buf = new byte[2];
         AudioInputStream ain = null;
         SourceDataLine line = null;
         try
             File sndFile = new File(filename);
             ain = AudioSystem.getAudioInputStream(sndFile);
             AudioFormat formatInfo = ain.getFormat();
             DataLine.Info info = new DataLine.Info(SourceDataLine.class, formatInfo);
             line = (SourceDataLine) AudioSystem.getLine(info);
             line.open(formatInfo);
         catch(Exception e)
             System.err.println(e.getMessage());
             isPlay = false;
             return ;
         try
            int sampleIndex = 0;
            int sampleRate = 512;
            int capacity = samples.capacity();
            line.start();
            //if(notkill)
            System.out.println(notkill);
                    while( ain.read(buf) != -1 && !notkill)// && notkill
                        if(isPlay)
                            // System.out.println(isPlay);
                             line.write(buf, 0,2);
                             if (sampleIndex == sampleRate)
                              double scale = new Short(getSample(buf)).doubleValue() / 32767.0;
                             //fuck ���������������� ����������  fuck fuck     
                              if(track_flag == true)
                                    if(pos[index] == nframe)
                                       samples.add(new Double(scale+1000));
                                       System.out.println(index);
                                       index++;
                                    else
                                    samples.add(new Double(scale));
                                else
                                    samples.add(new Double(scale));
                                  sampleIndex = 0;                
                                  nframe++;
                                 if (samples.size() == capacity)
                                     samples.remove(0);
                            sampleIndex++;
                        else
                            while(true)
                                //System.out.println(isPlay);//������ ������ ������������
                                //��������������
                               // int aa=1;
                              //  System.out.println("wang yue fighting");
                                Thread.sleep(500);
                                if(isPlay == true)
                                    break;
                                //else
         catch(Exception e)
             System.err.println(e.getMessage());
             isPlay = false;
             return ;
         line.drain();
         line.close();
         isPlay = false;
     }// end run method
     private short getSample(byte[] buf)
      short sample = 0x0000;
      short mask = 0x00ff;
      sample |= (mask & buf[1]);
      sample <<= 8;
      sample |= (mask & buf[0]);
      return sample;
}// end play thread
class WavFilter implements FilenameFilter {
    public boolean accept(File dir, String name) {
      return (name.endsWith(".wav"));
}

Similar Messages

  • What is the purpose of F-03 clearing? How to clear GL account there in F-03

    HI,
    What is the purpose of F-03 clearing? How to clear GL account there in F-03.Please help me in understanding the concept.
    Thanks
    Supriya

    Hello,
    There are cases where you pass some manual entries which might not have cleared against the other related item, THOUGH the balance has been ZERO.  Like cases where you reverse logistics invoice through MR8M, then entry gets reversed but they are still open items. Like some GRIR accounts might have debit and credit entries for same purchase order and the balance MIGHT have become ZERO, but still they are open item. To clear all these open itesm (changing the status of the open items to cleared items, you need to use F-03)
    Please go to F-03 and give the GL account which want to manually clear the debit and credit items.
    Normally you will this kind of activity for clearing account, where there is no automatic clearing mechanism explained in OB74.
    now click on open items. (if you know any specific things like document number etc. you can fill them, then they will act as a FILTER and only those document numbers you feeded will be appeared)
    Now select the items you want to clear. Deselected all other you do not want to clear. Selected items will be in blue colour and the difference at the end of the screen MUST be ZERO to post (unless you configured otherwise)
    Click on save button.
    The entries passed will GL Account A Dr and GL Account B Cr. Meaning that there is no implication but posting the debit and crediting the same account and clearing the status of the line items from OPEN to CLEARED.
    Hope I am clear.
    Regards,
    Ravi

  • My "other" file is stealing my storage space and my local apple store has no idea how to find out what is in it let alone how to clear it so I can upgrade to iOS 7. He thinks my iPad is not really deleting things but storing it here.

    My "other" file is stealing my storage space and my local apple store is aware of the problem but has no idea how to view it's content or how to empty it. He thinks my deleted files are going here instead of being deleted. Raw beginner here! Need help.

    How much space is used by your Other? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    How to Remove “Other” Data from iPhone, iPad and iPod Touch
    http://www.igeeksblog.com/how-to-remove-other-data-from-iphone/
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6/7, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
    What is “Other” and What Can I Do About It?
    https://discussions.apple.com/docs/DOC-5142
    iPhone or iPad Ran Out of Storage Space? Here’s How to Make Space Available Quickly
    http://osxdaily.com/2012/06/02/iphone-ipad-ran-out-of-available-storage-space-ho w-to-fix-quick/
    6 Tips to Free Up Tons of Storage Space on iPad, iPhone, and iPod Touch
    http://osxdaily.com/2012/04/24/6-tips-free-up-storage-space-ipad-iphone-ipod-tou ch/
    Also,
    How to Clear Message/iMessage Cache on iPhone & iPad And Reclaim Lots of Free Space
    http://www.igeeksblog.com/how-to-clear-message-imessage-cache-on-iphone-ipad/
     Cheers, Tom

  • Hello CS Community: I am about to renew my cloud subscription for one year. My current subscription is for one user for both Mac (and) PC. When I pay for this, how do I know I'm getting a subscription for both my MAC and PC? It's not clear what is being p

    Hello CS Community: I am about to renew my CS cloud subscription for one year. My current subscription is for one user for both Mac (and) PC. When I renew, how do I know I'm getting a subscription for both my MAC and my PC? It's not clear what is included in the purchase. I'm choosing the 49.00 a month package. Any insight would be much appreciated.

    Hi ShearLine,
    The Creative Cloud subscription is not OS specific as it's licensed via your Adobe ID.
    You can purchase a single subscription and use it on 2 machines irrespective of it being Windows or Mac.
    Regards,
    Rave

  • What is the types of file store in item Other in Hard disk and how to clear them up for more space

    What is the types of file store in item Other in Hard disk and how to clear them up for more space.
    Thank you in advance for helping..

    See here for answer about the OTHER which is taking up space:
    http://pondini.org/TM/30.html
    and here:
    http://pondini.org/OSX/DiskSpace.html
    See Kappys excellent note on the rest of “other” files taking up your space:
    What is "Other" and What Can I Do About It?

  • How to clear the open documents in case if document currency and local curr

    Hi,
        Can anyboday advise how to clear the open document of a particular vendor for a particular company code. Here the issue is that balace is netted to Zero in the document currency but not in the local currency. The document was posted in Currency CAD and the local currency is GBP.
    When i check the FBL1N, there is it showing net balance is ZERO, but document is still in open
    status. I tried using Transaction code F-44, but it is not allowing me.
    Can anyboday advise how to perform this. Points will be awarded.
    Regards,
    Sree.

    Hi,
    In the Company code global parameters(OBY6),select the check box "NO FOREX RATE DIFF.WHEN CLEARING IN LC"
    and try clearing again.(You can have a F1 help on the check box to see what exactly it is).
    Hope this will resolve
    Assign points if useful
    Thanks
    Aravind
    Edited by: Aravind Aitipamula on May 22, 2008 1:36 AM

  • How to clear parameters defined in selection screen on back button

    Hi,
    I have a report with parameters, few being input fields, and check boxes. After report is executed when user selects the back button, the selection screen is displayed again but with the old selection values. I want to clear them.
    So in the Initialization even I added the code to clear all these parameters;
    CLEAR: p_aaa, p_bbb, p_ccc.
    I debugged and control passes through this code but still the fields are not cleared and they retain the old input values.
    How to clear them ?
    thnks

    >
    Rob Burbank wrote:
    > Yes he did. My mistake.
    >
    > But isn't this what he wants? To clear the Selection screen so that something has to be entered?
    >
    > Rob
    IMO, he only wants to clear the selection screen parameters on the click of 'BACK' button
    in the list screen. If the OP clears the selection screen variables in AT SELECTION-SCREEN OUTPUT
    even, the values assinged to the selection parameters in the INITIALIZATION and with the DEFAULT addition of the PARAMETERS and SELECTION-OPTIONS statements will also be overwritten even when the report is executed for the
    first time.
    -Rajesh.

  • How to clear a container in OOPS...?

    Hi,
           How to Clear a Container in Object Orientation Programming...?
                      There is a method available......can you tell me that one.......
    Moderator message: Please search the forums and Google before posting basic questions. Thread locked.
    Edited by: Neil Gardiner on Sep 24, 2010 3:55 PM

    I Create an Container to display Graphics.
    Thare are many click events.
       When I click an "click event " it shows orihinal Graph.
         After I click second "click event" it overrides previous values and texts.
                Even though I didnt create Graphics for an Particular "click event" , it shows Graphics.
                       what is the Method (or) Function Module to clear that Container...?

  • How to clear a session in apex ?

    Hi,
    How to clear a session in apex other than using clear cache option?
    Thanks,
    Anoo.

    Anoo,
    check the APEX_UTIL Package, there you'll find functions like clear_page_cache, clear_user_cache, clear_app_cache.
    This could be what you are looking for.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • How to clear file history in Teststand file menu?

    How to clear file history in Teststand "file" menu?
    Thanks!

    Hey Jacky,
    I have found a Knowledgebase
    that I believe describes what you are looking for.  The registry
    key may be different depending on which version of TestStand you are
    using.  The only thing that should change is the version
    number.  Have a good one!
    Message Edited by Patrick P. on 03-31-2006 02:59 PM
    Pat P.
    Software Engineer
    National Instruments

  • How to clear temp files in mac?

    How to clear Temp files in Mac?

    What temp files? Most are deleted automatically when an application quits or when you log in or restart.

  • How to make a text "drawer" in iWeb

    Does anyone know how to make a text "drawer" in iWeb? What I mean is when you click on a hyperlink to read more text, but instead of opening up a new page, it makes the text appear below the link on the same page.

    Anything fancy with iWeb has to be done in the HTML Snippet or after publishing the page.
    Find the code for the drawer, apply it and show us the result.
    Perhaps not the drawer you had in mind but this is something near:
    http://www.wyodor.net/Ajax/
    Here's another one with drawer in the title:
    http://jqueryfordesigners.com/slide-out-and-drawer-effect/
    http://jqueryfordesigners.com/demo/plugin-slide-demo.html
    Found with : [text drawer|http://www.google.com/search?client=safari&rls=en&q=text+drawer&ie=UTF-8 &oe=UTF-8]

  • 180 GB of my 639-GB Macintosh hard drive is used. 320 GB of my 498-GB Tie Capsule is used. Only one backup ("now") exists for the Time Capsule, which can no longer backup because of "insufficient space". How come? What is wrong?"

    180 GB of my 639-GB Macintosh hard drive is used. 320 GB of my 498-GB Tie Capsule is used. Only one backup ("now") exists for the Time Capsule, which can no longer backup because of "insufficient space". How come? What is wrong?"

    Thank you William for your most helpful response. I shall deal first with your three comments:
    Not being tech savvy, I would not have been able to make that call myself but it sure makes sense.
    I have updated my profiles as you suggest.  Excellent tip.
    This guidance is good.  Being new to Apple Support Communities, I did not find the field a labeling and guidance to be clear, a point you make.  Now I know, I shall do as you say and will use the small slim box as a header to the full message/question, which will place in the larger box below.
    Secondly, I come to your question: Did anything change on your Mac recently, such as replacing the disk or main logic board?
    The answer is “yes”.  Two events have happened both of which concerned the Time Capsule:
    The telephone company, with which I have access to the Internet and I have my email account, installed a new modum.  After the technician left I had to try and get the Time Capsule and WiFi working again which ended with my having to call Apple for technical assistance.  The Apple technician walked me through a number of procedural steps which effectively re-set up the Time Capsule. 
    Access to the Internet failed and the telephone company reset the modum.  I had to call Apple again.  This time the technician did not reset the Time Capsule but walked me through a number of steps tha included renaming the “site”  (not the Time Capsule).
    Another piece of information that may be relevant is that the MacBook Pro uses the Time Capsule for backup.  Everything appears to be in order.  When I enter the Time Capsule for this laptop I have backups going back for a long time.
    Also, I do a weekly backup of the two computers onto another external hard drive using the Time Machine software.  So I have another backup of both computers.

  • In Exports sales process, how you configure the Duty Draw Back

    in my case
    we r creating Exports but
    duty unavailability of time and time taking process in export processing
    we are creating Excise invoice and cenvat is debited .
    now we r asking the govt. for the duty draw back for the value already cenvat is debited with proper documents like ARE1 etc.
    how to manage this duty back and what r the replications or changes thereafter
    thanks in advance

    Hi Sunitha,
    Pls can u explain how did u solve (In Exports sales process, how you configure the Duty Draw Back) this issue....since i don't have idea abt this...but shortly i am going to do this in my client place....
    thanks,

  • I have cleared all my music from my iPhone. I have "Sync music" unchecked on iTunes, but some songs are still on "on this phone" in itunes, how to clear it from itunes "on this phone" ?

    iOS 8.0
    I have "Sync music" unchecked on iTunes and I have cleared all my music from my iPhone.
    On my Mac, on itunes (version 11.4) if you click on "on this phone", there are still remaining 70 songs...
    how to clear it from itunes "on this phone" ?

    What you have on your computer is your iTunes library, not an iTunes "account."  The account that is related to iTunes is your Apple ID, which you use to sign in to the iTunes Store and make purchases.  It is also used with iCloud.  iPods (that are not iPod touch) are associated with your iTunes library, not to your Apple ID.
    So, I think you probably just need to set up (or update) automatic syncing for the iPod.  If it's not set up to sync those new songs, iTunes still syncs the iPod, but it syncs nothing
    In iTunes, if the sidebar (along left side of iTunes window) is hidden, from the menu bar, under View, select Show Sidebar.  In the sidebar, the iPod appears under DEVICES, when it is connected.
    Select the iPod in iTunes.  There is a row of buttons, starting with Summary.  Click on Music next to Summary.  This is the iPod's Music screen, where you tell iTunes how to sync songs to the iPod.
    Check the box for Sync Music (if it's not already checked).  If your iTunes music library fits completely on the iPod, you can choose to sync Entire music library.  Otherwise, you can choose to sync Selected playlists, artists, albums, and genres.  On the lists below, checkmark the playlists, artists, albums, and/or genres that you want on the iPod.  When you click Apply, the songs from your selection sync to the iPod.
    One convenient way to set this up (if you can't sync the entire iTunes music library) is to create a new playlist in your iTunes library.  Name it "iPod Songs" (or whatever you want).  Put ALL songs that you want on the iPod on this playlist, including those new songs.  Back on the iPod's Music screen in iTunes, select this playlist under Playlists.  Going forward, to update songs on the iPod, just update that playlist in your iTunes library (add/remove songs).  The next time you connect the iPod (or click the Sync button), iTunes automatically syncs the same changes to the iPod.

Maybe you are looking for