What's with this warning?

Sometimes when I've recorded an audio track in Logic Pro, I normalize the audio. When doing so, I sometimes get a warning message that the track is used in one other song, even though I know that it's not the case, as I've often just recorded it. Does anybody know why that warning pops up, and does it have any significance?
dual 2 ghz g5   Mac OS X (10.4)  

The only thing I can think of if what you are
saying is true about just recording it, is that
Logic makes backups of your songs. You choose
the number of backups in the preferences. You can
have quite a few backups of the same song. So Logic
may be refering to these backups. I usually have 10.
Since they are just LSO files they are not that big and
do not have any audio files in them just references to
the files of the original. So when you make changes to
those, Logic would warn you to let you know, you are
changing all the backups at the same time.
It is a nice feature since if you are experimenting
you can choose to make a copy of the audio file
thus getting to play around a little and not mess
up your song if it does not turn out.

Similar Messages

  • When opening aperture I get Warning that says There was an error opening the database for the library "~/Desktop/Feb 12, 2011.aplibrary".  I'm concerned that my pictures may be lost.  Does anyone know how to deal with this Warning?

    When opening Aperture I get Warning that says "There was an error opening the database for the library “~/Desktop/Feb 12, 2011.aplibrary.”  That's it. The program does not open at all.  I'm concerned that my pictures may be lost.  Does anyone know how to deal with this Warning? 

    Might just need to rebuild the library...see this link:
    Aperture 3: Troubleshooting Basics

  • EZ100 16gb what's with this thing????

    %[ Okay, bought one of these the other day to replace my iPod 4gb nano, not that there was anything wrong with it, I just want a new player with bigger storage capacity and I went for the Mozaic EZ00 because Argos were selling it for ?69. So, I get it home, charged it up, updated it to the latest firmware and then piled on the music. This is were it seems to go so wrong!!! I'm not impressed at all with the sound quality of this thing, and I was using my expensi've in ear earphones, also the quality of photos and album art is just atrocious, and this is the killer punch...it just keeps on sticking and skipping during playback of every single track!!! I went into recovery mode, did a disc clean up, even reformatted it and again put the music on only this time it only plays the tracks fine when the unit is locked!!!! So, what's with this thing?? This is my first experience of a Creative product and I fear it may be the last, not impressed, will be taking it back to Argos. Anyone else had similar problems?

    (seasons) greetings all!
    so out of the blue I get a nano for Christmas (it's blue ;-)) and the person who bought it is in windows but new I ran mac.
    unfortunataly he did not know i needed a mac newer than my 3 year old ibook. after years of hearing my boasts of superior macs i hesitate to tell him i cannot use my new gift until i buy a new ibook/macbook... whatever.
    i don't really have a question for this post but just wanted to add my comments. what a scam that to get the latest in a music listening gadget your get sucked into the itunes 7 mandantory hence osx.3 mandantory hence your 3 year old still viable and beloved ibook is impotent.
    can't believe this may force me to buy a new laptop when there is no other reason. mac products should not have a lifetime of just a few years.
    hope everyone else can enjoy their wonderful new mac holiday gifts... i cannot

  • Whats wrong with this query.can anyone help me......

    select CASE WHEN TO_NUMBER(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'DDMMYYYY HH24:MM:SS'),13,2))>0 AND TO_NUMBER(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MM:SS'),13,2)) <14
    THEN TO_DATE(CONCAT(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MM:SS'),13,2)||'00',SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MI:SS'),16)||'00'),'DD-MM-YYYY HH24:MI:SS') end
    from table;
    i have written this query.whats wrong with this query..........
    the error is "literal does not match format string"
    Reegards soumen

    Why does your date_format loose, ununify and not fix ?
    And what is your exact requirement?
    >>
    CASE WHEN
    TO_NUMBER(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'DDMMYYYY HH24:MM:SS'),13,2))>0
    AND TO_NUMBER(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MM:SS'),13,2)) <14
    <<
    This is
    CASE WHEN TO_CHAR(START_TIME_TIMESTAMP,'MM') between '01' and '13'
    >>
    THEN TO_DATE(CONCAT(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MM:SS'),13,2)
    ||'00',
    SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MI:SS'),16)||'00'),
    'DD-MM-YYYY HH24:MI:SS')
    <<
    This is
    TO_DATE(
    TO_CHAR(START_TIME_TIMESTAMP,'MM"00"SS"00"),
    'DD-MM-YYYY HH24:MI:SS')
    Obviously, format is not matching !
    SQL> select to_char(sysdate,'MM"00"SS"00') from dual;
    TO_CHAR(
    06004900
    SQL> select to_date('06004900','DD-MM-YYYY HH24:MI:SS') from dual;
    select to_date('06004900','DD-MM-YYYY HH24:MI:SS') from dual
    ERROR at line 1:
    ORA-01861: literal does not match format string

  • What wrong with this?

    I have a video that has sound, I brought it into afteraffects, made a composition and made some changes. I exported the composition (rendered it) for quick time to edit in photoshop - the video is about 7 minutes.
    Playing the video there is no sound....why?
    Bringing the video into photoshop for editing with content aware fill creates 500+ frames......is that normal?
    also whats the easiest way to move between aftereffects and photoshop in terms of editing frames? can I make changes in photoshop and watch it update in after effects?

    What wrong with this?
    Everything! Sorry, it's simply the most ill-conceived workflow I could imagine.
    Playing the video there is no sound....why?
    http://forums.adobe.com/thread/426347?tstart=0
    Bringing the video into photoshop for editing with content aware fill creates 500+ frames......is that normal?
    Yes. All video editing in PS is limited to 500 or 1000 frames, repsectively. There is no way to extend that range. Read the PS help!
    also whats the easiest way to move between aftereffects and photoshop in terms of editing frames?
    You don't. What you have in mind won't work, anyways. Content Aware Fill only works per frame and has no temporal stabilization, so each frame will have a different pattern and the resulting animation would flicker and wobble.
    can I make changes in photoshop and watch it update in after effects?
    That's what use File --> Reload Footage for or simply close and reopen the project.
    Mylenium

  • The PWR MGMT LED on the front panel of the sup720 is off. What happen with this?

    The PWR MGMT LED on the front panel of the standby sup720 is off (But the active engine is on). We check the switch guide which states "The SYSTEM and PWR MGMT LEDs on a redundant supervisor engine or RSP are synchronized to the active module.". What happen with this? Thanks!

    HI @bingxiong.feng,
    This is not a cause for concern as Cisco says in the following link:
    http://www.cisco.com/c/en/us/support/docs/field-notices/200/fn28695.html
    HTH.
    Rgrds,
    Martin, IT Specialist

  • CAN ANYBODY TELL ME WHAT WRONG WITH THIS RSS FEED IT WONT WORK

    CAN ANYBONE TELL ME WHATS WRONG WITH THIS FEED BECAUSE IT WONT WORK AND ALSO HOW DO I GET A LINK TO THE PODCAST RSS FEED FOR THE SUBMIT PODCAST PAGE ON ITUNES,
    ANY HELP WILL BE MUCH APRECIATED
    <?xml version="1.0" encoding="UTF-8"?>
    <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
    <channel>
    <title>DJ Hybrid Coventry Drum n Bass Podcast</title>
    <link>http://www.djhybridcoventry.com/podcast.htm</link>
    <language>en-us</language>
    <copyright>℗ & © 2007 DJ Hybridb& </copyright>
    <itunes:subtitle>DJ Hybrid Drum n Bass Podcast brings you all the latest and greatest from the Drum n Bass scene, updated every two weeks</itunes:subtitle>
    <itunes:author>DJ Hybrid</itunes:author>
    <itunes:summary>The DJ Hybrid Coventry Drum n Bass Podcast will showcase a selection of the latest and greatest tunes that are getting rinsed on the scene, mixed down with sharp cuts and nasty double drops by Dj Hybrid the podcast will also feature other DJ's and Mc's on different shows. Updated every two weeks this is guarenteed to be an original style of drum n bass mashup, for more info check www.djhybridcoventry.com</itunes:summary>
    <description>DJ Hybrid Drum n Bass Podcast brings you all the latest and greatest from the Drum n Bass scene, updated every two weeks</description>
    <itunes:owner>
    <itunes:name>DJ Hybrid</itunes:name>
    <itunes:email>[email protected]</itunes:email>
    </itunes:owner>
    <itunes:image href="http://i100.photobucket.com/albums/m8/djhybrid/PODCASTLOGOBLUE.jpg" />
    <itunes:category text="Music">
    <itunes:category text="Drum n Bass"/>
    </itunes:category>
    <itunes:category text="music"/>
    <item>
    <title>DJ Hybrid Podcast - 1st Show 03/6/07</title>
    <itunes:author>DJ Hybrid</itunes:author>
    <itunes:subtitle>The first show of the new drum n bass podcast from DJ Hybrid</itunes:subtitle>
    <itunes:summary>Welcome to the 1st show from DJ Hybrid because its the first show im goin to play what tunes i think represent me as a DJ aswell as my favourite drum n bass tunes at the moment for tracklistings check www.djhybridcoventry.com</itunes:summary>
    <enclosure url="http://fs06n5.sendspace.com/dl/603942da730253766c5157920e810d3e/46771dd931 3f824d/v3adp4/DJ%20Hybrid%20Podcast%201%20%20-%20%203rd%20June%202007.mp3" length="8727310" type="audio/x-m4a" />
    <guid>http://fs06n5.sendspace.com/dl/603942da730253766c5157920e810d3e/46771dd9313f824d /v3adp4/DJ%20Hybrid%20Podcast%201%20%20-%20%203rd%20June%202007.mp3</guid>
    <pubDate>Sun, 03 Jun 2007 20:00:00 GMT</pubDate>
    <itunes:duration>53:36</itunes:duration>
    <itunes:keywords>DJ, Hybrid, Podcast, Drum, Bass, Jungle, Coventry, Double Drop, Latest, Tunes, Vinyl, Liquid, Rave, Reggae, Urban</itunes:keywords>
    </item>
    </channel>
    </rss>

    First...Stop screaming. It's rude.
    Next...there are some minor problems with your feed. "Drum n Bass" is not a iTunes category. Stick with <itunes:category text="Music" /> remove the others.
    Not required, but recommend to add an <itunes:explicit> tag with a Y or N depending on what suits your podcast. The iTunes staff will remove your feed if it isn't tagged properly.
    MP3 audio files should have a type="audio/mpeg".
    Keep the Podcast spec handy...the categories and other info listed in the spec.
    Test your feed with http://www.feedvalidator.org it will point out problems with your feed.
    The bigger problems stem from your podcast enclosure, specifically the URL.
    The URL you have listed to the podcast mp3 apparently has changed so iTunes can't download the file. It also appears that you are using a "free download" kind of service that uses web page based downloads, which might account for why the URL keeps changing. Don't think that iTunes will be able to properly download the file.
    Erik

  • Does ANYONE know whats wrong with this program?!?!

    Hey(again),
    Does anyone know whats wrong with this program?:
    public class FloatingNumbersTest
    public static void main(String args[])
    float float1 =50.0f;
    float closeFloat=0.001f
    float farfloat=100.0f
    if (float1<=closeFloat)
    System.out.print("Float1 pretty close to zero");
    if (float1>=closeFloat)
    System.out.print("Float1 is near 0");
    if (float1>=farfloat)
    System.out.print("Float1 is not even close to zero!"0
    }There has seemed to be 5 errors!

    public class FloatingNumbersTest
    public static void main(String args[])
    float float1 =50.0f;
    float closeFloat=0.001f
    float farfloat=100.0f
    if (float1<=closeFloat)
    HERE        System.out.print("Float1 pretty close to zero");
    if (float1>=closeFloat)
    System.out.print("Float1 is near 0");
    if (float1>=farfloat)
    System.out.print("Float1 is not even close to zero!"0
    }you're missing the opening { for the first if.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • TS4062 For some reason my Ipod will not connect to Itunes store nor will it sync.whats up with this?

    For some reason my IPOD touch will not connect with the Itunes store nor will it sync with my PC. Whats up with this?

    How To Fix 0×80090318 and related errors – Windows 7, XP & Vista
    Also Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?

  • Contest: Guess whats wrong with this code!

    Can you guess whats wrong with this code snippet? Perhaps its too easy...
    private void clearDefaultTableModel( DefaultTableModel dtm) {    
            int  rowCount  = dtm.getRowCount();
            for(int i =0;  i < rowCount; i++) {
                dtm.removeRow(i);  
        }- Karl XII

    Can you guess whats wrong with this code snippet?
    Perhaps its too easy...
    private void clearDefaultTableModel(
    DefaultTableModel dtm) {    
    int  rowCount  = dtm.getRowCount();
    for(int i =0;  i < rowCount; i++) {
    dtm.removeRow(i);  
    it should be
    private void clearDefaultTableModel(DefaultTableModel dtm) {    
       int  rowCount  = dtm.getRowCount();
       for(int i =0;  i < rowCount; i++) {
         dtm.removeRow(0);  
    }or another way
    private void clearDefaultTableModel(DefaultTableModel dtm) {    
      while(dtm.getRowCount()>0){
         dtm.removeRow(0);  

  • HELP PLEASE - WHATS WRONG WITH THIS CODE

    Hi. I get this message coming up when I try to compile the code,
    run:
    java.lang.NullPointerException
    at sumcalculator.SumNumbers.<init>(SumNumbers.java:34)
    at sumcalculator.SumNumbers.main(SumNumbers.java:93)
    Exception in thread "main"
    Java Result: 1
    BUILD SUCCESSFUL (total time: 2 seconds)
    I am not sure whats wrong with the code. Any assistance would be nice. The code is below.
    package sumcalculator;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class SumNumbers extends JFrame implements FocusListener {
    JTextField value1;
    JTextField value2;
    JLabel equals;
    JTextField sum;
    JButton add;
    JButton minus;
    JButton divide;
    JButton multiply;
    JLabel operation;
    public SumNumbers() {
    SumNumbersLayout customLayout = new SumNumbersLayout();
    getContentPane().setFont(new Font("Helvetica", Font.PLAIN, 12));
    getContentPane().setLayout(customLayout);
    value1.addFocusListener(this);
    value2.addFocusListener(this);
    sum.setEditable(true);
    value1 = new JTextField("");
    getContentPane().add(value1);
    value2 = new JTextField("");
    getContentPane().add(value2);
    equals = new JLabel("label_1");
    getContentPane().add(equals);
    sum = new JTextField("");
    getContentPane().add(sum);
    add = new JButton("+");
    getContentPane().add(add);
    minus = new JButton("-");
    getContentPane().add(minus);
    divide = new JButton("/");
    getContentPane().add(divide);
    multiply = new JButton("*");
    getContentPane().add(multiply);
    operation = new JLabel();
    getContentPane().add(operation);
    setSize(getPreferredSize());
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    public void focusGained(FocusEvent event){
    try {
    float total = Float.parseFloat(value1.getText()) +
    Float.parseFloat(value2.getText());
    sum.setText("" + total);
    } catch (NumberFormatException nfe) {
    value1.setText("0");
    value2.setText("0");
    sum.setText("0");
    public void focusLost(FocusEvent event){
    focusGained(event);
    public static void main(String args[]) {
    SumNumbers window = new SumNumbers();
    window.setTitle("SumNumbers");
    window.pack();
    window.show();
    class SumNumbersLayout implements LayoutManager {
    public SumNumbersLayout() {
    public void addLayoutComponent(String name, Component comp) {
    public void removeLayoutComponent(Component comp) {
    public Dimension preferredLayoutSize(Container parent) {
    Dimension dim = new Dimension(0, 0);
    Insets insets = parent.getInsets();
    dim.width = 711 + insets.left + insets.right;
    dim.height = 240 + insets.top + insets.bottom;
    return dim;
    public Dimension minimumLayoutSize(Container parent) {
    Dimension dim = new Dimension(0, 0);
    return dim;
    public void layoutContainer(Container parent) {
    Insets insets = parent.getInsets();
    Component c;
    c = parent.getComponent(0);
    if (c.isVisible()) {c.setBounds(insets.left+24,insets.top+48,128,40);}
    c = parent.getComponent(1);
    if (c.isVisible()) {c.setBounds(insets.left+256,insets.top+48,128,40);}
    c = parent.getComponent(2);
    if (c.isVisible()) {c.setBounds(insets.left+408,insets.top+48,56,40);}
    c = parent.getComponent(3);
    if (c.isVisible()) {c.setBounds(insets.left+488,insets.top+48,152,40);}
    c = parent.getComponent(4);
    if (c.isVisible()) {c.setBounds(insets.left+128,insets.top+136,72,40);}
    c = parent.getComponent(5);
    if (c.isVisible()) {c.setBounds(insets.left+248,insets.top+136,72,40);}
    c = parent.getComponent(6);
    if (c.isVisible()) {c.setBounds(insets.left+368,insets.top+136,72,40);}
    c = parent.getComponent(7);
    if (c.isVisible()) {c.setBounds(insets.left+488,insets.top+136,72,40);}
    c = parent.getComponent(8);
    if (c.isVisible()) {c.setBounds(insets.left+176,insets.top+48,56,40);}
    }

    Thank you. How do i amend this? I have defined value1though.Yes, you did - but after the call to addFocusListener(...). It needs to be before it.
    BTW, you did the same thing with "value2.addFocusListener(this)" and "sum.setEditable(true)" on the next two lines. You're attempting to call a method on an object that doesn't exist yet (i.e., you haven't called new yet).

  • What's with this "stay connected" pop up message?

    Hi all,
    I just got a new G5 Intel iMac and have had great success transfering all of my setting and data from my old g4 iMac via the Migration Assistant and Target Disk Mode to the new machine. No problems at all. It was a breeze!
    However, now that the new machine is up and running I periodically get this message: "This is your reminder that your connection is still active. Do you wish to remain connected?" Then it offers two buttons: " Disconnect" and "Stay connected" I remember that with an older version of OS 10, either Panther or Jaguar, I would get such messages but there was a System Preferences panel in which you could shut this message off and stay permanently online without having to hang around during long downloads and punching the "Stay connected" button. This message never appeared on the old G4 iMac even though I was running the very same version of Tiger (10.4.8) on it that I now have on the new iMac. Apparently the setting to turn off this message didn't transfer over and, what's worse, there is nowhere I can find in the Tiger System Preferences where I can shut it off.
    Does anyone know how to do this?
    Thanks everyone.
    Rick

    Hi Steve,
    Thanks for the quick response! I looked at the "about this Mac" in the Apple menu and here's what it states:
    "2 GHz Intel Core 2 Duo"
    I tell you this because I originally posted this question in the iMac G5 forum and they told me to post it over here in the Intel Mac forum. I'm starting to get even more confused.
    Also, I looked again at the Network setting in System Preferences and there is no PPP or Options choice anywhere. Instead it just tells me this:
    "Built-in Ethernet is set up to use PPPoE." and "You are connected to the internet via Built-in Ethernet."
    And I am indeed connected via the ethernet port to a DSL modem. I do remember in previous versions of OS 10 doing exactly what you suggested in your post to get that blasted pop-up message to stop annoying me and, like you said, "Problem [was] gone". This message never bothered me on my old iMac g4 (which was a power PC Mac) but now, maybe because of this new chip it's baaaaaack So with this further information do you have any other ideas?
    Thanks again,
    Rick

  • Whats wrong with this sql statement ??

    Hello all, I am trying to run the below query out of persheet(tanel poder) performance excel chart...but i get below error...db is on 9.2
    what is wrong with this sql statement ?
    http://blog.tanelpoder.com/2008/12/28/performance-visualization-made-easy-perfsheet-20-beta/
    select * from (
    with fsq as (
      select /*+ materialize */
       i.dbid
        , i.instance_name
        , i.instance_number
    --    , trunc(s.snap_time, 'DD')     DAY
    --    , to_number(to_char(s.snap_time, 'HH24'))  HOUR
    --   -- , to_char(s.snap_time, 'MI')    MINUTE
    --    , 0           MINUTE
        , trunc(
          lag(s.snap_time, 1)
          over(
           partition by
          v.dbid
           , i.instance_name
           , v.instance_number
           , v.event
         order by
          s.snap_time
          , 'HH24'
         )           SNAP_TIME
        , v.event_type        EVENT_TYPE
        , v.event          EVENT_NAME
        , nvl(
        decode(
         greatest(
          time_waited_micro,
          nvl(
           lag(time_waited_micro,1,0)
           over(
            partition by
             v.dbid
              , i.instance_name
              , v.instance_number
              , v.event
            order by v.snap_id
           , time_waited_micro
         time_waited_micro,
         time_waited_micro - lag(time_waited_micro,1,0)
         over (
          partition by
           v.dbid
            , i.instance_name
            , v.instance_number
            , v.event
          order by v.snap_id
         time_waited_micro
           , time_waited_micro
         ) / 1000000         SECONDS_SPENT
        , total_waits         WAIT_COUNT
      from
       (select distinct dbid, instance_name, instance_number from stats$database_instance) i
        , stats$snapshot s
        , ( select
         snap_id, dbid, instance_number, 'WAIT' event_type, event, time_waited_micro, total_waits
        from
         stats$system_event
        where
         event not in (select event from stats$idle_event)
        union all
        select
         snap_id, dbid, instance_number,
         case
          when name in ('CPU used by this session', 'parse time cpu', 'recursive cpu usage') then 'CPU'
          when name like 'OS % time' then 'OS'
          else 'STAT'
         end,
         name , value, 1
        from
         stats$sysstat
    --    where      name in ('CPU used by this session', 'parse time cpu', 'recursive cpu usage')
    --    or  name like('OS % time')
    --    or 1 = 2 -- this will be a bind variable controlling whether all stats need to be returned
       ) v
      where
       i.dbid = s.dbid
      and i.dbid = v.dbid
      and s.dbid = v.dbid
      and s.snap_id = v.snap_id
      and s.snap_time between '%FROM_DATE%' and '%TO_DATE%'
      and i.instance_name = '%INSTANCE%'
    select * from (
      select
       instance_name
        , instance_number
        , snap_time
        , trunc(snap_time, 'DD')  DAY
        , to_char(snap_time, 'HH24') HOUR
        , to_char(snap_time, 'MI') MINUTE      
        , event_type  
        , event_name  
        , seconds_spent
        , wait_count  
        , ratio_to_report(seconds_spent) over (
    --      partition by (to_char(day, 'YYYYMMDD')||to_char(hour,'09')||to_char(minute, '09'))
          partition by (snap_time)
          ) ratio
      from fsq
      where
       snap_time is not null -- lag(s.snap_time, 1) function above will leave time NULL for first snapshot
      -- to_char(day, 'YYYYMMDD')||to_char(hour,'09')||to_char(minute, '09')
      -- > ( select min(to_char(day, 'YYYYMMDD')||to_char(hour,'09')||to_char(minute, '09')) from fsq)
    where ratio > 0
    order by
        instance_name
      , instance_number
      , day
      , hour
      , minute
      , event_type
      , seconds_spent desc
      , wait_count desc
    Error at line 6
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00972: identifier is too long

    Hi Alex,
    Subquery factoring a.k.a. the with-clause should be possible on 9.2:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_103a.htm#2075888
    (used it myself as well on 9.2)
    @OP
    I recall having problems myself using PL/SQL Developer and trying to get the with clause to work on 9.2 some years ago.
    A workaround might be to create a view based on the query.
    Also, your error message is "ORA-00972: identifier is too long"...
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e900.htm#sthref419
    Can't test things currently, no 9.2 available at the moment, but perhaps tomorrow I'll have a chance.

  • What's with this error message?

       import java.awt.*;
       import java.awt.event.*;
       import java.awt.image.*;
       import javax.swing.*;
       class Gfx extends JPanel
          //declarations  
          public Gfx()
             img = new BufferedImage(1020, 730, BufferedImage.TYPE_INT_RGB);
             buffer = img.getGraphics();
             buffer.setFont(new Font("Monospaced", Font.BOLD, 12));
             //initialize arrays
             addKeyListener(new KeyListener());
             new Timer(0, new Listener()).start();
          public class Listener implements ActionListener
             public void actionPerformed(ActionEvent e)
    //code           
    drawStuff();
                repaint();
          public class Keylistener extends KeyAdapter
             public void keyPressed (KeyEvent e)
                int key = e.getKeyCode();
                if(key == (int)('x') || key == (int)('X'))
                   System.exit(0);
                else colorseed = (int)(Math.random()*9999 + 1);
          public void drawStuff()
                 //draw stuff
          public void paintComponent(Graphics g)
             g.drawImage(img,0,0,getWidth(),getHeight(),null);
          public Color getColor(int num, int brightness)
             int red = num / 256;
             num = num - (num / 256) * 256;
             int green = num / 16;
             num = num - (num / 16) * 16;
             int blue = num;
             return new Color(red * brightness, green * brightness, blue * brightness);
       public class life
          public static void main(String[] args)
             JFrame frame = new JFrame("The Deeper Meaning of Life");
             frame.setSize(1020,730);
             frame.setLocation(3,3);
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             frame.setContentPane(new Gfx());
             frame.setVisible(true);
       }When I compile this I get the following error message:
    KeyListener is abstract, cannot be instantiated. Whats with this ?

    Ummm... another problem. It just won't do anything
    (hitting keys doesn't affect the program at all). And
    if I insert SetFocusable(true);, it won't recognize
    it.
    Whats with this?Your keyPressed() method sets a 'colorseed' variable, but I don't see where that variable is actually being used. So maybe in fact it is invoking your keyPressed() method when you type, but your method doesn't do diddly.
    As far as SetFocusable(true) goes, Read the javadocs. In this case, maybe you're looking for a method named setFocusable (note the lower-case 's') - method names aren't usually capitalized.
    http://java.sun.com/j2se/1.4.2/docs/api/index.html

  • I am running OSX Lion 10.7.4 and the computer no longer will go into sleep mode when I close the cover What happened with this option?

    I am running OSX Lion 10.78.4 and the computer will no longer go into sleep mode when I close the cover. In system preferences I can no longer find the option that allows for this energy saving feature. What happened to this option and why is this no longer happening with the latest version of Lion?

    No external monitors or devices attached. When you mention that this function only works when devices are attached that is true when you set up your preferences that way. Up until my upgrade to Lion the computer would always go into sleep mode when I closed the lid. There also used to be an option to check in system preferences that allowed you to choose this option. My question for the discussion is what happened to that option and how do you get the computer to sleep or at least the display to sleep when you close the lid as we have been able to do in the past. Thanks.

Maybe you are looking for