The validate() and doLayout() methods

In the first mini-program I made, what is the purpose of the validate() method? I read that it is to force the container into using the new layout manager for the components added. My first question is just: why don't I have to call the validate() method to ensure that the new layout manager is being used?
import javax.swing.*;
import java.awt.*;
public class ShowLayout extends JFrame
    public ShowLayout()
        setTitle("MyFrame");
        setSize(200,200);
        setVisible(true);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setLayout(new FlowLayout());
        add(new JButton("Accept"));
        add(new JButton("Cancel"));
        setLayout(new GridLayout());
        //validate(); // why is this needed? It seems to work without it
    public static void main(String[] args)
        ShowLayout showLayout = new ShowLayout();
}According to my understanding of what I've read about the doLayout() method, it is used to force the container to re-layout the components given the new properties of the layout manager.
Also, what is the purpose of the doLayout() method? Similarly, my second question is: why don't I have to call the doLayout() method to ensure that the new properties have taken effect?
import javax.swing.*;
import java.awt.*;
public class ShowLayout extends JFrame
    public ShowLayout()
        setTitle("MyFrame");
        setSize(200,200);
        setVisible(true);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setLayout(new FlowLayout());
        add(new JButton("Accept"));
        add(new JButton("Cancel"));
        setSize(100,100);
        //doLayout(); // why is this needed? It seems to work without it      
    public static void main(String[] args)
        ShowLayout showLayout = new ShowLayout();
}Are both of these methods called implicitly? Is the explicit calling of these methods only mandatory with an older JVM?
Sorry if my questions seem stupid but any input would be greatly appreciated!

You appear to have some funcamental misconceptions regarding the action of revalidate() and doLayout(). Have you read the API for those methods?
I recommend you to the Swing tutorials linked form the topic listing page for this forum. By going through the tutorials you can learn things systematically.
The usual programming idiom is to add all components to the GUI hierarchy before its top level window is setVisible(true), not after. Also, all Swing components should be constructed and modified on the EDT and only on the EDT. Not on the main thread.
db

Similar Messages

  • COM+ Event System failed to fire the StartShell and Logon method after installation of PM 1.43

    Hi Guys,
    After installation of Power Manager 1.43, the following errors were immediate shown at event viewer: COM+ Event System failed to fire the StartShell and Logon method on subscription {F6FE5592-FCBC-44AD-A836-D37F5085ED5B}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}.  The subscriber returned HRESULT 80004001.
    Please advice if this is a known issue? Thanks!

    Hello,
    this is a known problem. See this thread
    Follow @LenovoForums on Twitter! Try the forum search, before first posting: Forum Search Option
    Please insert your type, model (not S/N) number and used OS in your posts.
    I´m a volunteer here using New X1 Carbon, ThinkPad Yoga, Yoga 11s, Yoga 13, T430s,T510, X220t, IdeaCentre B540.
    TIP: If your computer runs satisfactorily now, it may not be necessary to update the system.
     English Community       Deutsche Community       Comunidad en Español

  • I want to transfer all my iPhoto, iTunes, contacts, etc. files from my MacBook, which I am selling to a MacBook Pro. What is the easiest and safest method of achieving this? Can the files backed up on Time Machine be transferred to the Pro?.

    I want to transfer all my iPhoto, iTunes, contacts,documents, etc. files from my MacBook, which I am selling, to a MacBook Pro. What is the easiest and safest method of achieving this? Can the files backed up on Time Machine from the MacBook be transferred to the Pro in some way? I would like to capture the files as they appear on the MacBook, such as "Events" in iPhoto and the various song categories within iTunes without having to rename them all once saved on the Pro, which is the case with photos when I simply save them to thumb drive and import them to the Pro. Sny advice would be appreciated.
    Best regards,
    Rob.

    Michael,
                 Thanks for all your assistance. There is no need for apologies, Migration Assistant did indeed create a second account for the MacBook data. It has just taken me some time to figure out how to access it. I now have all the MB data in one account and the MBP files in another, which suits me fine. In fact, it is an advantage in my case as it keeps the private and business aspects separated.
    I will however try the fatcatsoftware to transfer all the iPhoto files to my iMac, where I keep my main photo library. and it will be of help to keep the events, etc in the transfer. As far as iTunes is concerned, I have HomeSharing on all my computers and this has obviated the need to worry about playlists being transferred successfully. However, HomeSharing did not appear to share the iPhone/iPod apps that were stored on the MB and although these have now come across with the new MacBook account on the MBP, I was wondering whether my iPhone and iPod will be recognised by the MBP and sync with it? Will I need to have the MB account open to achieve this or will the MBP recognise and sync with the iPhone/iPod automatically irrespective of which account is open?
    Thanks for the tip on deauthorising my iTunes account from the MB before sellng. This I will do and I believe the best way to remove all of my data from the hard drive is to reinstall the MacOSX operating system software. Is this the right approach to securely delete everything?
    Thanks again for sharing your expertise and your guidance through this exercise.
    Best regards,
    Rob.

  • [svn] 4059: The measure() and updateDisplayList() methods of TextBox and TextGraphic now return early if the inheritingStyles and nonInheritingStyles proto chains haven 't been initialized, to avoid RTEs in the compose() method from invalid styles values.

    Revision: 4059
    Author: [email protected]
    Date: 2008-11-10 11:56:38 -0800 (Mon, 10 Nov 2008)
    Log Message:
    The measure() and updateDisplayList() methods of TextBox and TextGraphic now return early if the inheritingStyles and nonInheritingStyles proto chains haven't been initialized, to avoid RTEs in the compose() method from invalid styles values.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17975
    Reviewer: Jason
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17975
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicEleme nt.as

    FYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989

  • Attempting to install Adobe Acrobat 7 installer isn't recognizing my product serial number as a valid serial number.  I tried entering it with and without the dashes and neither methods work.  What should I do now?

    I bought a new computer and I'm attempting to install my older Adobe products that I still use, Adobe Acrobat 7 is the issue for now.  I followed the instructions on the Adobe site for installing the older apps, but the installer isn't recognizing my product serial number as a valid serial number.  I tried entering it with and without the dashes and neither methods work.  What should I do now?

    You cannot use your original files and serial number.  See the following for the files you need and the associated serial number(s)....
    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3 -
    http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l

  • Overwriting the keyPressed() and keyReleased()methods within a TextBox

    Dear All,
    I have written a simple predictive text midlet by overwriting the keyPressed() and keyReleased() methods (found in the TextBox class). This is fine and works perfectly when I emulate the midlet on my pc. However, when I transfer the midlet to my mobile, the existing predictive text system takes over and as my midlet acts only as a standard TextBox. Is I turn off prediction, then the TextBox acts as if I had not overwritten those methods! Does anybody know how to stop this from happening?
    Many thanks in advance
    David Fowler

    David,
    I think something is going wrong in your code, 'cause the TextBox doesn't provide the key listener methods that you have overwritten..these methods are declared in the Canvas class..
    May you show some code to let me see what are you program really doing?
    Ricardo

  • Stuck with the paint and repaint methods

    I am supposed to create a JApplet with a button and a background color. When the button is clicked the first time a word is supposed to appear (I got that part), when the button is clicked the second time the word is supposed to appear again in a different color and in a different location on the Applet (I got that part).
    The problem is that the first name is supposed to disappear when the second word appears. So I know I have to repaint the screen when the button is clicked the second time and draw the first string in the same color as the background color to make it invisible.
    My problem is I am not sure how I can code to apply different settings each time the button is clicked. Can anyone help? Please let me know if my explanation sucks. I will try to explain better. However here is the code I have so far. I added a counter for the button just for testing purposes.
    I just need some hints on what to do and if there is a easier way than using that if statement please let me know. I probably make it harder than it is.
    Thanks in advance and Merry Christmas.
    import javax.swing.*;
       import java.awt.*;
       import java.awt.event.*;
        public class DisplayMyName extends JApplet
        implements ActionListener
          String myName = "DOG";
          String myName1 = "DOG";
          JButton moveButton = new JButton("Move It");
          Font smallFont = new Font("Arial", Font.BOLD, 12);
          Font largeFont = new Font("Lucida Sans", Font.ITALIC, 20);
          int numClicks = 0;
          JLabel label = new JLabel("Number of button clicks:" + numClicks);
           public void init()
             Container con = getContentPane();
             con.setBackground(Color.RED);
             con.setLayout( new FlowLayout() );
             con.add(moveButton);
             con.add(label);
             moveButton.addActionListener(this);
           public void paint(Graphics g)
             numClicks++;
             label.setText("Number of button clicks: " + numClicks);
             if (numClicks == 2)
             { g.setFont(smallFont);
                g.setColor(Color.BLUE);
                g.drawString(myName, 50, 100);
                   else
             if (numClicks == 3)
             { g.setFont(largeFont);
                g.setColor(Color.YELLOW);
                g.drawString(myName, 100, 200);
           public void actionPerformed(ActionEvent move)
             repaint();
       }

    You're putting your program logic in the paint method, something you should not do. For instance, try resizing your applet and see what effect that has on number of button clicks displayed. This is all a side effect of the logic being in the paint method.
    1) Don't override paint, override paintComponent.
    2) Don't draw/paint directly in the JApplet. Do this in a JPanel or JComponent, and then add this to the JApplet. In fact I'd add the button, the and the label to the JPanel and add the label to the JApplet's contentPane (which usually uses BorderLayout, so it should fill the applet).
    3) Logic needs to be outside of paint/paintComponent. the only code in the paintComponent should be the drawing/painting itself. The if statements can remain within the paintComponent method though.
    4) When calling repaint() make sure you do so on the JPanel rather than the applet itself.
    For instance where should numClicks++ go? Where should the code to change the label go? in the paint/paintComponent method? or in the button's actionlistener? which makes more sense?
    Edited by: Encephalopathic on Dec 24, 2008 9:37 AM

  • How can i interact with the ALV if i am using the lvc_ and call method?

    i want to hide the last entry of a line when i click on the checbox of my ALV

    u want to hide or delete?
    instead of using check box, u can use a button to display there.
    it can be achived like below.
    data: ls_lvclayout type lvc_s_layo.
    LS_LVCLAYOUT-SEL_MODE = 'D'.
    now in set_table for_first_diaplay
    CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
          EXPORTING
          <b>  IS_LAYOUT            = LS_LVCLAYOUT</b>
    do like above.
    then u click on the row, and the row will be selected.
    now using the method GET_SELECTED_ROWS, u can get the data of the selected row and u can now manipulate what ever u needed.
    data:
    SEL_ROW TYPE LVC_S_ROID,
    SEL_T_ROW TYPE LVC_T_ROID.
    CALL METHOD GO_GRID->GET_SELECTED_ROWS
        IMPORTING
          ET_ROW_NO = SEL_T_ROW.
    LOOP AT SEL_T_ROW INTO SEL_ROW.
              read table <itab> index SEL_ROW-ROW_ID.
              check sy-subrc = 0.
    < now write the logic  like making the field blank and modify the itab>.       
            ENDLOOP.

  • Am I the only person who misses the drag and drop method of adding and deleting songs on iTunes devices?

    I am constantly getting frustrated with the newer versions of iTunes because my different apple devices have different amounts of storage. I miss the days when I could drag and drop songs to various devices. I don't always want the same songs on all devices, so I don't like to sync because I sometimes lose something I want to keep on that device. I am just curious if I'm the only one who misses this feature or is there a way of doing this that I've just not found? Thanks.

    In the Summary tab of iTunes - when the iDevice is connected to your Mac - select Manually Manage Music and Videos. You should be able to drag and drop.
    If you don't see the sidebar and the device is syncing automatically, you can enable the sidebar from the ITunes Menu - View>Show Sidebar. The. You can click on your device name imder the devices heading, then click on the Summary Tab.
    You can also disable auto syncing in iTunes>Preferences>Devices>Prevent iPods, iPhones and iPads from syncing autonatically.
    I never auto sync and never have. I select Sync Only Checked Songs And Videos in the Summary tab and I can still drag and drop songs. I can also select the albums, playlist, or artists that I want to sync by using this method.

  • HT2729 i have been trying to copy videos from my pc to ipad but it is not working .. i have tried the "drag and drop method and even add files to library but to no avail please help

    please help me regarding moving videos from pc to ipad .. i have ipad 2 wih ios5 and windows xp.. ihave tried add files to library and drag and drop method but they are not working.. what should i do

    Are you trying to add videos to itunes or to your ipad from itunes.
    Your question is very confusing.

  • Where are the AddObject and DeleteObject methods?

    I'm new to Entity Framework.  I've set up the Entity Framework models in my project.  When I need to set up methods to add, modify, or delete records I search the Internet for examples of how to do this.  Some of the examples that I find
    are using methods that don't exist in my entity models: AddObject and DeleteObject.  Were these methods replaced in Entity Framework?
    Add a record - The examples I find say to create a new object, call AddObject, then call SaveChanges.  I don't see the
    AddObject method.  I see the Add method and SaveChanges.  (I do also see some examples with the Add method)
    Delete a record - The examples say to query the record, call DeleteObject, then call SaveChanges.  I don't see the DeleteObject method.  I see the Remove method and SaveChanges.
    MCSD .NET developer in Dallas, Texas

    AddObject and DeleteObject are methods of the ObjectContext but in newer versions of Entity Framework you are typically working against a DbContext. This is a different type with different methods.
    You could just add or remove an entity object directly from a DbSet<T> like this:
    var user = new User();
    context.Users.Add(user);
    context.Users.Remove(user);
    //or:
    context.Set<User>().Add(user);
    context.SaveChanges();
    Equivalent of ObjectContext.AddObject(entityName, entity) on DbContext:
    http://stackoverflow.com/questions/14426745/equivalent-of-objectcontext-addobjectentityname-entity-on-dbcontext
    Hope that helps.
    Please remember to close your threads by marking all helpful posts as answer then start a new thread if you have a new question.

  • How to enable Validate and Export in FDM task

    Hi everyone
    I am working with setting up an FDM Task to Import, Validate and Export data to HFM.
    The Task is able to import data to FDM, but I cannot make the process start the Validate and Export functions. If I do the process manually, then data is imported to HFM succesfully.
    Am I missing something in the scripts or do I need to enable some feature in FDM?
    Action Script:
    Sub BatchLoadLedgerTrans()
    'Declare Local Variables
    Dim lngProcessLevel
    Dim strDelimiter
    Dim blnAutoMapCorrect
    'Initialize Variables
    lngProcessLevel = 50   'Import
    strDelimiter = "_"
    blnAutoMapCorrect = 0
    'Create the file collection
    Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter), FileName)
    'Execute a Standard Serial batch
    BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
    End Sub Integration Script:
    Function LedgerTrans_EDW_to_HFM(strLoc, lngCatKey, dblPerKey, strWorkTableName)
    Dim objSS 'ADODB.Connection
    Dim strSQL 'SQL String
    Dim rs 'Recordset
    Dim rsAppend 'tTB table append rs Object
    'Initialize objects
    Set cnSS = CreateObject("ADODB.Connection")
    Set rs = CreateObject("ADODB.Recordset")
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    cnss.open "Provider=SQLNCLI11; Data Source=10.250.200.10; Initial Catalog=EDW; User ID=FDM-user; Password=MyPassword"
    cnss.CommandTimeout = 0
    'Create query String - VIEW
    strSQL = "Select * "
    strSQL = strSQL & "FROM EDW.hfm.ledgertranstable "
    'Get data
    rs.Open strSQL, cnSS
    'Check For data
    If rs.bof And rs.eof Then
    RES.PlngActionType = 2
    RES.PstrActionValue = "No Records To load!"
    Exit Function
    End If
    'Loop through records And append To tTB table In location’s DB
    If Not rs.bof And Not rs.eof Then
    Do While Not rs.eof
    rsAppend.AddNew
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey
    rsAppend.Fields("CatKey") = lngCatKey ' PlngCatKey
    rsAppend.Fields("PeriodKey") = dblPerKey ' PlngCatKey
    rsAppend.Fields("DataView") = "YTD"
    rsAppend.Fields("CalcAcctType") = 9
    rsAppend.Fields("Account") = rs.fields(2).Value
    rsAppend.Fields("Desc1") = rs.fields(2).Value
    rsAppend.Fields("Entity") = rs.fields(6).Value
    rsAppend.Fields("ICP") = rs.fields(8).Value
    rsAppend.Fields("Amount") = rs.fields(14).Value
    rsAppend.Fields("UD1") = rs.fields(5).Value
    rsAppend.Fields("UD2") = rs.fields(9).Value
    rsAppend.Fields("UD3") = rs.fields(10).Value
    rsAppend.Fields("UD4") = rs.fields(7).Value
    rsAppend.Fields("UD5") = rs.fields(13).Value
    rsAppend.Update
    rs.movenext
    Loop
    End If
    'Records loaded
    RES.PlngActionType = 6
    RES.PstrActionValue = "SQL Import successful!"
    'Assign Return value
    LedgerTrans_EDW_to_HFM = True
    End Function Best regards
    Frederik
    Edited by: Frederik Andersen on Jun 1, 2013 1:32 AM

    Found the solution.
    The variable lngProcessLevel should be set to "12" to execute the full Import, Validate and Export.
    Best regards
    Frederik

  • Why does a find and replace method remove whitespace?

    I have method that searches for a string in a FM document and replaces it with a variable. If for example, there was a string foobar that I wanted to replace with the variable barfoo. Then, I expect this text:
    Lorem ipsum dolor sit amet, foobar consectetur adipiscing elit. Vivamus sed purus urna, ac tristique tortor. Nam auctor tellus non enim pulvinar a vestibulum neque tincidunt.
    To be changed to this text:
    Lorem ipsum dolor sit amet, barfoo consectetur adipiscing elit. Vivamus sed purus urna, ac tristique tortor. Nam auctor tellus non enim pulvinar a vestibulum neque tincidunt.
    However, while the text does do the replace it also removes the whitespace between the variable and the text that appears right after the variable so it actually looks looks like this:
    Lorem ipsum dolor sit amet, barfooconsectetur adipiscing elit. Vivamus sed purus urna, ac tristique tortor. Nam auctor tellus non enim pulvinar a vestibulum neque tincidunt.
    Why is the find and replace method removing the whitespace and how do I prevent that from happening? The method is provided below.
    function FindAndReplaceString(pDoc, findString, replaceVariable)
        if (typeof pDoc != 'undefined'&&typeof findString != 'undefined'&&typeof replaceVariable != 'undefined'&&pDoc.ObjectValid()&&findString.length>0&&replaceVariable.length>0)
            var vVarFmtStatus=checkVarFmStatus (pDoc, replaceVariable);
            if (vVarFmtStatus=='In Doc')
                var tr = new TextRange();
                var findParams = new PropVals();
                var frame = pDoc.MainFlowInDoc.FirstTextFrameInFlow;
                var restoreTR = pDoc.TextSelection;
                tr.beg.obj = tr.end.obj = frame.FirstPgf;
                tr.beg.offset = tr.end.offset = 0;
                findParams = AllocatePropVals(1);
                findParams[0].propIdent.num = Constants.FS_FindText;
                findParams[0].propVal.valType = Constants.FT_String;
                findParams[0].propVal.sval = findString;
                tr = pDoc.Find(tr.beg, findParams);
                var vLoopCounter=0;
                while(FA_errno === Constants.FE_Success&&vLoopCounter++< 1000)
                    pDoc.TextSelection = tr;
                    pDoc.Clear(0);
                    var newVar = pDoc.NewAnchoredFormattedVar(replaceVariable, tr.beg);
                    var varLength = newVar.TextRange.end.offset - newVar.TextRange.beg.offset;
                    tr.beg.offset += varLength;
                    tr = pDoc.Find(tr.beg, findParams);
                if (vLoopCounter>0)
                    Log (vLogFileName, 'In the document \''+pDoc.Name+'\', the string \''+findString+'\' was replaced with the variable \''+replaceVariable+'\' '+vLoopCounter+' times.\n')
                if (vLoopCounter>1000)
                    recordErrors (vErrorLog, 'ERROR: In the document "'+pDoc.Name+'", the find and replace operation was stopped after executing '+vLoopCounter+' times. The term being searched for is "'+findString+'" the replacement variable is "'+ replaceVariable+'".')
                pDoc.TextSelection = restoreTR;
                pDoc.ScrollToText(restoreTR);
                } else {
                    recordErrors (vErrorLog, 'ERROR: The find and replace operation failed because the variable '+replaceVariable+' does not exist in the following doc: '+pDoc.Name)
            } else {
                recordErrors (vErrorLog,'Invalid or unitialized parameter passed to function FindAndReplaceString')

    Hi,
    Not at the moment. Please post in http://forums.adobe.com/community/muse/ideas so other users can vote on the feature request.
    Thanks,
    Abhishek

  • HashSet get() and contains() methods, by value or reference?

    All the tutorials I've seen on HashSets use Strings as the object type. With Strings, it seems the get() and contains() methods work by value, not by reference.
    <CODE>
    String s1 = "dog";
    String s2 = "cat";
    String s3 = "dog";
    HashSet<String> set = new HashSet<String>();
    set.add(s1);
    System.out.println(set.contains(s1)); //true;
    System.out.println(set.contains(s2)); //false
    System.out.println(set.contains(s3)); //true
    </CODE>
    But when I use a custom object, it works by reference:
    <CODE>
    MyClass c1 = new MyClass("dog", 1);
    MyClass c2 = new MyClass("cat", 1);
    MyClass c3 = new MyClass("dog", 2);
    MyClass c4 = new MyClass("dog", 1);
    HashSet<MyClass> myClassSet = new HashSet<MyClass>();
    myClassSet.add(c1);
    System.out.println(myClassSet.contains(c1)); //true
    System.out.println(myClassSet.contains(c2)); //false
    System.out.println(myClassSet.contains(c3)); //false
    System.out.println(myClassSet.contains(c4)); //false
    </CODE>
    ("MyClass" is a simple class that holds a String and an int).
    Is there any way I can get the set to select by value rather than reference for objects that aren't String?
    If so, is it possible that the value test could be customised, so that, for example, the above will return true if the String in MyClass is the same, regardless of the int value?

    803559 wrote:
    With Strings, it seems the get() and contains() methods work by value, not by reference.
    String s1 = "dog";
    String s2 = "cat";
    String s3 = "dog";
    System.out.println(set.contains(s1)); //true;
    System.out.println(set.contains(s2)); //false
    System.out.println(set.contains(s3)); //true
    Is there any way I can get the set to select by value rather than reference for objects that aren't String?Warning: Never use the term "by reference" around Java geeks. It makes 'em go all green at the gills and they start muttering about 'bloody C++ crossovers'.
    However, as DrClap pointed out, you've mis-diagnosed the problem:
    System.out.println(s1 == s1);
    System.out.println(s1 == s2);
    System.out.println(s1 == s3));would print out the exact same results.
    For an explanation why, Google "Java String pool" or try [url http://stackoverflow.com/questions/3297867/difference-between-string-object-and-string-literal]here.
    If so, is it possible that the value test could be customised, so that, for example, the above will return true if the String in MyClass is the same, regardless of the int value?Absolutely. But, as others have said, you'd need to override equals() and hashCode().
    Winston

  • Automate the database and forms / reports services to start on windows 2008 server R2 startup

    Dear memebers,
    I want to automate the database and forms / reports services to start on windows 2008 server R2 startup. whats the possibilities and which method is the best?
    Regards:

    Hi,
    type services.msc at run
    then check for Oracle Services--> Right Click-->Properties-->Startup type-->start automatic
    HTH

Maybe you are looking for

  • I am getting Error -1 message

    "The backup disk image "/Volumes/Bos's Time Cap/Bos's MacBook Pro.sparsebundle" could not be accessed (error -1)." I have been geeting this message since last december, its driving me nuts becasue i cant get anything to save to my time capsule. I am

  • Invisibility of Tags in OS X Mavericks system

    Invisibility of Tags in OS X Mavericks system : We ask Apple to enable colorization of the entire text of the title files (as with the label Mac OS X 10.8 Mountain Lion) and not having a simple little tag virtually non color visible and located after

  • GAAP reporting implications for US-owned Australian company

    Hi, I work for an Australian company which has recently been privatised, with 50% now being owned by a US investment company. We suspect now that we may need to provide Financial reporting information which complies with the GAAP requirements on beha

  • How to change "Open With" default

    When one has, say, a .tiff image stored in the Documents folder how does one change the "open with" default? For instance, if Photoshop is given as the default, how does one change this to Preview?

  • Mac mini won't connect to my wireless router!

    I just bought my mac mini server then connected it to wifi, then after 2 weeks I had to go abroad for a week so I just turned off the switch connecting to my mac, without switching off my mac mini server. then when I get back home my mac mini won't c