Hi when do we use 'super'?

hi im just reading a text again again but its a bit hard to understand
when do we have to use super reference?? can someone plz explain me
as easy as possible?? so thai i can undertand... and btw, what is polymorphism???
can anyone explain me plz ,
thanks in advance

Hiya!
You'll find pretty good answers to both of your questions in Bruce Eckel's "Thinking in Java" which is available as a free download.
As to the use of the 'super' keyword: Sometimes you change the behaviour of an object by subclassing it's class (inheritance) and overwriting the methods that don't suit your particular needs. A pretty good example for this is the javax.swing.JComponent's 'paintComponent(Graphics g)' method.
In this case you'll want to start the method's code with a call to super.paintComponent(g) to make sure your JComponent is set-up and painted properly before you start adding your own code to change the object's behaviour (fill or draw a rectangle, display an image ...).
Polymorphism, on the other hand, helps you to write code that is easier to maintain (or to understand, in the first place ;-)) but needs a certain amount of understanding of class design and object-oriented techniques in general.
If you are new to Java let's say to know when to use the 'super' keyword will make your programming-life easier. Polymorphic techniques won't (at least not yet). But, as I stated earlier, you'll find better explanations in "Thinking in Java" which is probably one of the best introductory Java books ever-written.
Regards,
Steffen

Similar Messages

  • I just put a solid state hard drive in my mac book pro and used super duper to copy the hard drive and move the data over to thew new ssd, but most of my music isn't in iTunes when I turned it on? How do I get my music to show up in my new drive?

    I just put a solid state hard drive in my mac book pro and used super duper to copy the hard drive and move the data over to thew new ssd, but most of my music isn't in iTunes when I turned it on? How do I get my music to show up in my new drive?

    Many thanks lllaass,
    The Touch Copy third party software for PC's is the way to go it seems and although the demo is free, if you have over 100 songs then it costs £15 to buy the software which seems not a lot to pay for peace of mind. and restoring your iTunes library back to how it was.
    Cheers
    http://www.wideanglesoftware.com/touchcopy/index.php?gclid=CODH8dK46bsCFUbKtAod8 VcAQg

  • Why do we use super when there is no superclass?

    Hello,
    I have a question about the word "super " and the constructor. I have read about super and the constructor but there is somethong that I do not understand.
    In the example that I am studying there is a constructor calles " public MultiListener()" and there you can see " super" to use a constructor from a superclass. But there is no superclass. Why does super mean here?
    import javax.swing.*;
    import java.awt.GridBagLayout;
    import java.awt.GridBagConstraints;
    import java.awt.Insets;
    import java.awt.Dimension;
    import java.awt.Color;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class MultiListener extends JPanel
                               implements ActionListener {
        JTextArea topTextArea;
        JTextArea bottomTextArea;
        JButton button1, button2;
        final static String newline = "\n";
        public MultiListener() {
            super(new GridBagLayout());
            GridBagLayout gridbag = (GridBagLayout)getLayout();
            GridBagConstraints c = new GridBagConstraints();
            JLabel l = null;
            c.fill = GridBagConstraints.BOTH;
            c.gridwidth = GridBagConstraints.REMAINDER;
            l = new JLabel("What MultiListener hears:");
            gridbag.setConstraints(l, c);
            add(l);
            c.weighty = 1.0;
            topTextArea = new JTextArea();
            topTextArea.setEditable(false);
            JScrollPane topScrollPane = new JScrollPane(topTextArea);
            Dimension preferredSize = new Dimension(200, 75);
            topScrollPane.setPreferredSize(preferredSize);
            gridbag.setConstraints(topScrollPane, c);
            add(topScrollPane);
            c.weightx = 0.0;
            c.weighty = 0.0;
            l = new JLabel("What Eavesdropper hears:");
            gridbag.setConstraints(l, c);
            add(l);
            c.weighty = 1.0;
            bottomTextArea = new JTextArea();
            bottomTextArea.setEditable(false);
            JScrollPane bottomScrollPane = new JScrollPane(bottomTextArea);
            bottomScrollPane.setPreferredSize(preferredSize);
            gridbag.setConstraints(bottomScrollPane, c);
            add(bottomScrollPane);
            c.weightx = 1.0;
            c.weighty = 0.0;
            c.gridwidth = 1;
            c.insets = new Insets(10, 10, 0, 10);
            button1 = new JButton("Blah blah blah");
            gridbag.setConstraints(button1, c);
            add(button1);
            c.gridwidth = GridBagConstraints.REMAINDER;
            button2 = new JButton("You don't say!");
            gridbag.setConstraints(button2, c);
            add(button2);
            button1.addActionListener(this);
            button2.addActionListener(this);
            button2.addActionListener(new Eavesdropper(bottomTextArea));
            setPreferredSize(new Dimension(450, 450));
            setBorder(BorderFactory.createCompoundBorder(
                                    BorderFactory.createMatteBorder(
                                                    1,1,2,2,Color.black),
                                    BorderFactory.createEmptyBorder(5,5,5,5)));
        public void actionPerformed(ActionEvent e) {
            topTextArea.append(e.getActionCommand() + newline);
            topTextArea.setCaretPosition(topTextArea.getDocument().getLength());
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("MultiListener");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            JComponent newContentPane = new MultiListener();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

    OP wrote:
    >
    Isn't that simplier to use the constructor instead of using "super"? I mean using the constructor jpanel () ?
    >
    You can't call the super class constructor directly if you are trying to construct the sub-class. When you call it directly it will construct an instance of the super class but that instance will NOT be an integral part of the 'MultiListener' sub class you are trying to create.
    So since 'MultiListener' extends JPanel if you call the JPanel constructor directly (not using super) your code constructing a new instance of JPanel but that instance will not be an ancestor of your class that extends JPanel. In fact that constructor call will not execute until AFTER the default call to 'super' that will be made without you even knowing it.
    A 'super' call is ALWAYS made to the super class even if your code doesn't have an explicit call. If your code did not include the line:
    super(new GridBagLayout()); Java would automatically call the public default super class constructor just as if you had written:
    super();If the sub class cannot access a constructor in the super class (e.g. the super class constructor is 'private') your code won't compile.

  • When should a subclass have its own fields and when should it use its super

    When should a subclass have its own fields and when should it use its superclass' fields?
    Hi, thank you for reading this post!
    Let me use a specific example to ask my question.
    public class BankAccount {
         private double accountBalance;
         public double getBalance() {
              return this.accountBalance;
    public class SavingsAccount extends BankAccount {
         private double accountBalance;
         public double getBalance() {
              return this.accountBalance;
    }In the bank account example, both BankAccount and SavingsAccount will have a method getBalance(). Therefore, they
    both require a account balance field. My question is since getBalance() for both classes will perform the exact same
    operation, when should I omit declaring the getBalance() method and the accountBalance field in the subclass, and
    when should I include them?
    My own thought is when we never have to instantiate a superclass object (e.g. an abstract class), then we place
    common fields in the abstract superclass and have subclasses access these fields via protected getter/setters to
    access the superclass' fields. This is the principle of reuse.
    But when you do need to instantiate a superclass and the superclass does need to maintain its own fields, then
    I would need to duplicate the accountBalance field and getBalance() method in the subclass.
    Is my thinking correct or incorrect?
    Thank you in advance for your help!
    Eric
    Edited by: er**** on 22-Aug-2011 20:19

    er**** wrote:
    If SavingsAccount inherit BankAccount.getBalance()...getBalance() would return BankAccount's accountBalance. This is NOT the correct result we want.Actually, I think it's precisely what you want.
    We want getBalance() to return BankAccount's accountBalance when we use a BankAccount object, and SavingsAccount's accountBalance when we use a SavingsAccount object.I seriously doubt that. I think you're confusing a BankAccount with a Customer, who can have more than one account.
    In every system I've ever seen, a SavingsAccount IS-A BankAccount - that is to say, it's a genuine subtype. Now, it may well contain other fields ('interest'?) that a normal account wouldn't, but 'balance' ain't one of them.
    Winston

  • HT2433 I purchased an external CD drive because the internal one died.  When I try using the new drive I get the following msg "The attempt to burn a disc failed.  The device is not accessable, probably because it was removed"

    I purchased an external CD drive for my MacBook,the internaldrive had died.  When I tried using the new drive I got the following msg "The attempt to burn a disc failed.  The device is not accessable, probably because it was removed"  I contacted OWC and tried to work the issue with them, we gave up and OWC sent me a replacement.  I connected the replacement and am getting the same message.  Any thoughts?

    Try resetting the SMC and PRAM first, if that doesn't help try a cleaning disc.....and then buy an inexpensive external burner. Slimline super drive failures are all too common.
    To reset the SMC
    Shut down the computer.
    Unplug the computer's power cord.
    Wait fifteen seconds.
    Attach the computer's power cord.
    Wait five seconds, then press the power button to turn on the computer.
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • How can I disable the "cellular is turned off" popup when I'm using Wifi?

    Cellular Data is turned on on my iPhone 6 Plus, but cellular data is turned off on most of the apps.  This is because I have limited cellular data available in my AT&T plan.  When I'm using my iPhone 6 Plus in a WiFi network at home, or elsewhere, I get an annoying popup telling me that cellular data is turned off for the app I'm using.  I have to clear the popup notification over and over and over.  As I am on WiFi, this shouldn't be happening.  I've regularly checked a post about this problem by someone else, but there has been no response to their post.  I've also talked with sales people at a couple of Apple stores and at AT&T.  One person suggested I toggle cellular data (master switch) off and back on.  That seemed to work while in the Apple store, but the popup problem returned.  If I leave several of the apps cellular data turned on, I feel I will quickly use up my limited data and be charged for the extra data by AT&T.  I believe many of my apps frequently "phone home" even when not in use, but when cellular data to them is left on.I would like to disable the "cellular data is turned off" reminder so I won't have to "OK" out of it, or go to settings for no reason.
    Thanks in advance for any help.  My iPhone 6 Plus is always kept up to date with latest operating system and new versions of apps are always downloaded.

    I wonder if you can change any settings in the individual apps, to only function on wi-fi? Just curious, probably not , but who knows? I only seem to get that pop-up when i'm downloading podcasts if i am suddenly out of range of my wi-fi.
    I am one of the super lucky ones that still has "unlimited data" on my iphone with ATT. I'm sure they'll take it away at some point, somehow, but for now, I'm stuck with ATT to keep the data plan!

  • Adobe Air Application only works using Super Administrator account on Windows XP

    Good day
    i really need some help. I developed air application that uses remote service, sql lite etc. It is working on my computer WIndows XP sp2. To test, i even created a guest account and it works fine. But when i deployed it to our client, the application doest work. Only the login page appears. I ask the it personnel there and ask if there are any restriction on the account of the user and said there is none because they are using Domain account. But when the super administrator is logged in, it works
    Your help will greatly apprciated

    Your help me, I iwill greatly apprciated
    HELP MALAYSIA
    Date: Thu, 21 Oct 2010 20:54:19 -0600
    From: [email protected]
    To: [email protected]
    Subject: Adobe Air Application only works using Super Administrator account on Windows XP
    Good day
    i really need some help. I developed air application that uses remote service, sql lite etc. It is working on my computer WIndows XP sp2. To test, i even created a guest account and it works fine. But when i deployed it to our client, the application doest work. Only the login page appears. I ask the it personnel there and ask if there are any restriction on the account of the user and said there is none because they are using Domain account. But when the super administrator is logged in, it works
    Your help will greatly apprciated
    >

  • Time Machine or External Using Super Duper

    Apple is going to change the HD on my computer. I know little about Time Machine but I have been backing up my HD using Super Duper and a LaCie external HD. I think it's working out so far. That's what I have done before replacing the HD. So, when the new HD is installed, I can start up using the external and transfer files, i.e., mail, iTunes, Safari, Firefox etc. from the Application file on the external to the Application file on the computer with the new HD without any change in content. Any advantage using Time Machine over the way I intend to do it which should work. Any preferences or none?
    I have already posted in a different Topic but on this sight regarding another aspect of this operation.

    I generally can get Time Machine to work for a while. It takes way more effort to get it working and to keep it working than you'd expect for a Mac.
    The most recent event was when I mounted my new 500 GB Hitachi drive in a new Mercury Elite-AL Pro mini, connected with Firewire 800 to my Mac Mini Server. I formatted the drive, using the 7-pass erase in Disk Utility, with no errors. I used disk utility to verify the file system on the drive before I started using it with Time Machine.
    I configure Time Machine to use that new drive, and it starts up, but pukes fairly quickly. I Googled the error messages, and found lots of other people running into the same error.
    First off, the disk would not unmount. Had to force unmount it.
    Used Disk Utility to Repair the file system. It encountered no errors. So, then I used Disk Warrior to rebuild the directory structure on the disk. It found some things that it corrected. Since then, Time Machine has been working on that disk without further errors (overnight).
    How many Apple customers are going to want to deal with force unmounts, running disk utility and disk warrior to tickle Time Machine back into working?
    These are my log entries from the most recent Time Machine errors:
    Dec 30 09:42:13 MacMini com.apple.backupd[2388]: Starting standard backup
    Dec 30 09:42:13 MacMini com.apple.backupd[2388]: Backing up to: /Volumes/Backups/Backups.backupdbDec 30 09:42:13 MacMini com.apple.backupd[2388]: Detected system migration from:
    /Volumes/Christopher-J-Shakers-Mac.localDec 30 09:42:17 MacMini com.apple.backupd[2388]: Backup content size: 406.7 GB excluded items size: 34.0 GB for volume MacMini
    Dec 30 09:42:17 MacMini com.apple.backupd[2388]: No pre-backup thinning needed: 447.22 GB requested (including padding), 465.02 GB availableDec 30 09:42:17 MacMini com.apple.backupd[2388]: Waiting for index to be ready (
    101)Dec 30 09:42:17 MacMini mds[42]: (Normal) DiskStore: Creating index for /Volumes
    /Backups/Backups.backupdbDec 30 09:42:30 MacMini ntpd[33]: time reset -0.559108 sDec 30 09:42:54 MacMini JollysFastVNC[898]: (00599870.0592)-[NetworkConnection disconnect] could not shut down writehandleDec 30 09:43:01 MacMini login[1339]: DEAD_PROCESS: 1339 ttys001
    Dec 30 09:58:09 MacMini ntpd[33]: time reset -0.483469 s
    Dec 30 10:00:34 MacMini kernel[0]: Dec 30 10:00:45: --- last message repeated 3 times ---Dec 30 10:00:45 MacMini com.apple.backupd[2388]: Error: (-36) SrcErr:NO Copying /Developer/Library/PrivateFrameworks/DTMessageQueueing.framework/Versions/A/DTM essageQueueing to /Volumes/Backups/Backups.backupdb/SNOWSERVER/2010-12-30-094033.
    inProgress/02385079-1749-4E5A-BC4F-93367E30B581/MacMini/Developer/Library/Privat
    eFrameworks/DTMessageQueueing.framework/Versions/ADec 30 10:00:45 MacMini com.apple.backupd[2388]: Stopping backup.Dec 30 10:00:45 MacMini com.apple.backupd[2388]: Error: (-8062) SrcErr:NO Copying /Developer/Library/PrivateFrameworks/DTMessageQueueing.framework/Versions/A/DTM essageQueueing to /Volumes/Backups/Backups.backupdb/SNOWSERVER/2010-12-30-09403
    3.inProgress/02385079-1749-4E5A-BC4F-93367E30B581/MacMini/Developer/Library/Priv ateFrameworks/DTMessageQueueing.framework/Versions/A
    Dec 30 10:00:45 MacMini com.apple.backupd[2388]: Copied 13388 files (10.5 GB) fr
    om volume MacMini.Dec 30 10:00:45 MacMini com.apple.backupd[2388]: Copy stage failed with error:11Dec 30 10:00:46 MacMini com.apple.backupd[2388]: Error: (22) setxattr for key:co
    m.apple.backupd.ModelID path:/Volumes/Backups/Backups.backupdb/SNOWSERVER size:1
    0Dec 30 10:00:51 MacMini com.apple.backupd[2388]: Backup failed with error: 11Dec 30 10:06:19 MacMini mds[42]: (/Volumes/Backups/.Spotlight-V100/Store-V1/Stores/A3D115A8-4546-4A3B-B36E-59440 4EEA098)(Error) IndexCI in ci_ftruncate:ftruncat
    e(34 /Volumes/Backups/.Spotlight-V100/Store-V1/Stores/A3D115A8-4546-4A3B-B36E-594404 EEA098/live.0.indexDirectory, 16448) error:22Dec 30 10:06:19 MacMini mds[42]: (/Volumes/Backups/.Spotlight-V100/Store-V1/Stor
    es/A3D115A8-4546-4A3B-B36E-594404EEA098)(Error) IndexCI in expandMap:ftruncate err: 22
    Here is another one:
    Dec 30 10:06:20 MacMini mds[42]: (Normal) DiskStore: Creating index for /Volumes/Backups/Backups.backupdb
    Dec 30 10:14:12 MacMini ntpd[33]: time reset -0.496024 s
    Dec 30 10:29:48 MacMini ntpd[33]: time reset -0.481983 s
    Dec 30 10:42:31 MacMini com.apple.backupd[2388]: Starting standard backup
    Dec 30 10:42:31 MacMini com.apple.backupd[2388]: Backing up to: /Volumes/Backups/Backups.backupdb
    Dec 30 10:42:35 MacMini com.apple.backupd[2388]: Error: (22) setxattr for key:com.apple.backupd.ModelID path:/Volumes/Backups/Backups.backupdb/SNOWSERVER size:10
    Dec 30 10:42:35 MacMini com.apple.backupd[2388]: Detected system migration from: /Volumes/Christopher-J-Shakers-Mac.local
    Dec 30 10:42:37 MacMini com.apple.backupd[2388]: Failed to create progress log file at path:/Volumes/Backups/Backups.backupdb/SNOWSERVER/2010-12-30-094033.inProgress/ .Backup.315427357.871281.log.
    Dec 30 10:42:37 MacMini com.apple.backupd[2388]: Error: (-50) Creating directory 61478D74-6407-4DBA-A98D-8A20EC6F2140
    Dec 30 10:42:37 MacMini com.apple.backupd[2388]: Failed to make snapshot.
    Dec 30 10:42:37 MacMini com.apple.backupd[2388]: Error: (22) setxattr for key:com.apple.backupd.ModelID path:/Volumes/Backups/Backups.backupdb/SNOWSERVER size:1
    0Dec 30 10:42:42 MacMini com.apple.backupd[2388]: Backup failed with error: 2
    So far, it has been running ok on that disk since I force unmounted it and used disk warrior to rebuild its directory structure.
    While I was visiting my sister-in-law over Christmas, I had to resurrect Time Machine on my old PowerMac dual G5 I gave her. It's backing up to an internal SATA drive that I previously tested quite extensively. I had to use Disk Warrior to rebuild the directory structure on that disk as well to get Time Machine working again.
    It seems to me that time machine, or the device drivers it relies on, needs some work.
    Chris Shaker

  • How can I protect iPhoto library on EHD when backing up with Super Duper?

    I moved my iphoto library awhile ago to an external firewire drive. I've kept my old iphoto library in my trash in case that drive died, but there are many photos that only exist in the iphoto library on the firewire drive.
    I finally got another EHD (this one is a USB drive). My idea is to keep iphoto library on the EHD along with a bootable copy of my MacBook Pro's internal hard drive. However, I'm worried that when I create the bootable backup using Super Duper my iphoto library will be lost.
    So I thought I could copy all the stuff from the firewire drive (where my only current iphoto library is located) to the USB drive and then move the library back to the firewire drive. Then I would have my working iphoto library and bootable copy on the firewire drive, and a backup of my iphoto library and backup bootable copy on the USB drive.
    1. Does this make sense?
    2. When I tried to copy everything (using Super Duper) from the firewire drive to the USB drive, my iphoto library didn't copy. I thought I had to do this because otherwise I might lose my iphoto library when I create the bootable copy on the firewire drive. (??)
    3. Does it make sense to partition the firewire drive? If so, I will still need to move iphoto to the USB drive before I do that, correct?
    BTW, my MacBook Pro is all full up. I can't move the iphoto library back to my internal hard drive while I move all this around.
    THanks and let me know if I need to clarify...

    prettyred
    Never, ever, store anything in the trash. Would you store things in your trash at home? It’s far too easy to accidentally erase it.
    I don’t know that you need to have an empty firewire drive for Super Duper, but pop over to their site - they have a forum too: http://www.shirt-pocket.com/forums/ and they’ll answer that question for you.
    Do you need two bootable back ups? I wold think one bootable back up, plus a back up of your data on the second disk would be enough.
    Yes, if you are going to partition a disk it will erase the data on it, so you’ll need to back up any data on it.
    Regards
    TD

  • Iphone 5 battery suddening draining when not in use

    Had my iphone 5 for about 3 months and was very pleased with the battery life. But literally out of no where the battery started draining super fast. Dropping 15% in 30 minutes when not in used. Here's the deal...nothing has changed ie locations, email, icloud etc. And quite honestly what is the freaking point of having those things if it drains the battery at unreasonable speeds. So I completely frustrated with Apple for at least not saying "we understand theres and issue and we are working on it." I will never switch cuz I'm an idiot Apple diehard but there have been so many bugs of late it's just frustrating. Also at the same time of the fast drain when I swipe to delete a text the delete button dissapears within one second. Both issues came on at the same time. I'm trying reseting the battery, restoring, unchecking notifications and a bunch of other features which is so stupid... whats the point of having a smart phone if you can't use the features? So I am going to demand a new phone and I know the Apple Genius guys who are so far from genius its pathetic are going to say nothing is wrong with the phone haha, just like the did with the super slow WiFi connections I get...they were completely unaware that there was a problem with iphones and Wifi cuz of course at the Apple Store the Wifi flies when they test it there but of course once you go back to your home or business the Wifi is back to super slow. Wow the things we put up with. Anyway, if anyone has any suggestions please reply. 

    https://discussions.apple.com/thread/3484755?tstart=30  take a look in here, some solutions to your problem.

  • Suggested DDIC setting when not in use

    Hi,
    What would be the ideal setting for DDIC user when not in use ? Apparently DDIC cannot be locked unlike SAP*
    Thanks

    >
    Sabyasachi Rudra wrote:
    > User DDIC is a user with special privileges in installation, software logistics, and the ABAP Dictionary. The user master record is created in clients 000 and 001 when you install your R/3 System.
    >
    > You should secure the DDIC user against misuse by changing DDICu2019s initial password 19920706 in clients 000 and 001.
    >
    > User DDIC is required for certain installation and setup tasks in the system, and is also used by some background jobs to execute so you should not delete it or lock it.
    >
    > The user DDIC should also be assigned to user group SUPER to prevent unauthorized users from changing or deleting their user master record.
    For a moment it felt as if I had seen that exact same text somewhere else before... (it is expected that the source of copy&pasted information is [referenced|http://help.sap.com/saphelp_nw70/helpdata/EN/52/67179f439b11d1896f0000e8322d00/frameset.htm] )...
    Cheers,
    Julius

  • I've uploaded Acrobat XI Pro and it freezes when I'm using it.  I uninstalled and re-installed.  When I login, it says that it is unable to validate the account and has an option to use the trial.  How do I fix this?

    I've uploaded Acrobat XI Pro and it freezes when I'm using it.  I uninstalled and re-installed.  When I login, it says that it is unable to validate the account and has an option to use the trial.  How do I fix this?

    This is an open forum, not Adobe support... you need Adobe staff support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • No PDF created when section break used and no data in XML group

    I have this issue that Tim Dexter documented on a few years back...
    http://blogs.oracle.com/xmlpublisher/output_formats/
    "When you are using @section in your template for the commands, 'for-each' or 'for-each-group' (e.g. <?for-each@section: ...?>), then an empty/invalid PDF can be generated if XML data file has no data for that for-each loop."
    This is my exact issue. Yet the instructions do not solve my problem completely. I add another section break at the end of my RTF and it gets the page to show...but I get an extra page at the end of all the populated xmls
    Is there a way to supress this page?

    Hi Jason,
    I would like to see your template and data.
    You have use @section and add condition to make the no-data page.

  • How do I put an external display to sleep when I am using my MacBook Air for presentation?

    How do I put an external display to sleep when I am using my MacBook Air for presentation? I do not want to go to the projector just to turn it off and turn on again after a while? Is there a keyboard shortcut for that?

    I want to be able to sleep the external display and at the same time do things in the MacBook.( This feature is useful for me so that I can prepare some things and so that my audience will not see what I am about to show them.)
    Is there a feature for Mountain Lion?

Maybe you are looking for