Sprting a HashSet by propert

Hi all,
I want to sort a Set by a property that is in the objects of the set. The property is a String. I searched around the net but could find anything that would relate to my problem.
Greets

I turned it into a list...
But cant get the Collection.Sort good
this is the code:
package nl.wag.webarm.utils;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import nl.wag.webarm.model.FactuurOnderdeel;
public class FactuurUtils {
     public static void createFactuur (Set onderdelen){
          if (onderdelen != null){
               List onderdelenlijst = new ArrayList();
               Iterator it = onderdelen.iterator();
               while ( it.hasNext()){
                         FactuurOnderdeel fo = (FactuurOnderdeel) it.next();
                         onderdelenlijst.add(fo);
               Collections.sort(onderdelenlijst,new OdComparator()); // this is where eclipse shows the warnings.. warnings are on the bottom of this post..
      public class OdComparator implements Comparator{
               public int compare(Object arg0, Object arg1) {
                    String  s1 = ((FactuurOnderdeel) arg0).getId();
                    String  s2 = ((FactuurOnderdeel) arg1).getId();
                    return s1.compareTo(s2);
}And this is the warings eclipse gives:
Multiple markers at this line
     - Type safety: The expression of type FactuurUtils.OdComparator needs unchecked
     conversion to conform to Comparator<? super T>
     - No enclosing instance of type FactuurUtils is accessible. Must qualify the allocation with
     an enclosing instance of type FactuurUtils (e.g. x.new A() where x is an instance of FactuurUtils).
     - Type safety: Unchecked invocation sort(List, Comparator) of the generic method sort
     (List<T>, Comparator<? super T>) of type Collections
     - Type safety: The expression of type List needs unchecked conversion to conform to
     List<T>

Similar Messages

  • The Collections Framework

    When I first learned the java Collectins framework, I was struck by its elegance.I was also impressed by the Sun advice: use thisframework, not the older one.
    Sun has now gone on to extend the framework by making it desirable to add object descriptions.This ,to me is increasing the amount of stuff I have to learn without helping me in any great way ( A programmer should know what object he is putting in a Collection).
    I had hoped that Sun would add the beautiful "store' and "load" methods of the Properties class into its HashSet (although Properties now extends HashSet it's not quite the same thing).
    More importantly, once you start coding on the Server side, you can't get away from enumerations which I thought would be obsolete by now,given the advantage of iterators.
    Any comments?

    When I first learned the java Collectins framework, I
    was struck by its elegance.I was also impressed by
    the Sun advice: use thisframework, not the
    older one.
    Sun has now gone on to extend the framework by making
    it desirable to add object descriptions.This
    ,to me is increasing the amount of stuff I have to
    learn without helping me in any great way ( A
    programmer should know what object he is putting in a
    Collection).What are you talking about? Generics? You don't have to use them, and if you do, sometimes it's nice to be able to get rid of all the casting.
    I had hoped that Sun would add the beautiful "store'
    and "load" methods of the Properties class into its
    HashSet (although Properties now extends HashSet it's
    not quite the same thing).What for? HashMaps are basically serializable, but you cannot guarantee them to contain non-serializable data. So any attempt to store them could fail. Properties OTOH only contain Strings.
    More importantly, once you start coding on the Server
    side, you can't get away from enumerations which I
    thought would be obsolete by now,given the advantage
    of iterators.
    Any comments?They are obsolete. Read the Enumeration API - use of Iterator is encouraged.

  • EF6: How can I get navigation properties automatically updated?

    I've defined the following entities:
    public abstract class EntityBase
    public int Id { get; set; }
    public string Name { get; set; }
    public class Person : EntityBase
    public virtual HashSet<Message> Messages { get; set; }
    public int CountryId { get; set; }
    public virtual Country Country { get; set; }
    public class Message : EntityBase
    public string Text { get; set; }
    public int PersonId { get; set; }
    public Person Person { get; set; }
    public class Country : EntityBase
    internal class TestContext : DbContext
    public DbSet<Person> Persons { get; set; }
    public DbSet<Country> Countries { get; set; }
    Here's my problem: While the Messages.Person navigation property gets automatically updated according to the Messages.PersonId
    foreign key property value when my changes get saved to the database, the Person.Country
    navigation property remains null although the Person.CountryId
    foreign key property is != 0.
    Why is this happening? Why does the Messages.Person navigation property get aligned with the Messages.PersonId
    foreign key property automatically while the Person.Country navigation property does not get aligned with the Person.CountryId
    foreign key property?
    These are the entity values before SaveChanges() is called:
    person.CountryId = 1
    person.Country = null
    message.PersonId = 1
    message.Person = null
    And these are the entity values after SaveChanges() is called:
    person.CountryId = 1
    person.Country = null
    message.PersonId = 1
    message.Person = { Id = 1, Name = "Test" }
    Your help is appreciated.
    Still people out there alive using the keyboard?
    Working with SQL Server/Office/Windows and their poor keyboard support they seem extinct...

    Thank you for replying, Fred.
    Here's the unit test code I'm using (it calls into a repository which more or less simply calls DbSet<Entity>::Add()
    and SaveChanges();.
    [TestMethod]
    public void MessageDbTest()
    using (Repository<Person> rp = new Repository<Person>(true))
    Person p;
    Message m;
    BusinessLayer.TestContext.CreateNewDB();
    rp.AddOrUpdate(p = new Person("Hello", 1));
    Assert.AreEqual<int>(1, p.Id);
    Assert.AreEqual<string>("Hello", p.Name);
    m = new Message("Hello, too", p.Id, "This is a long test message.");
    p.Messages.Add(m);
    rp.AddOrUpdate(p);
    Assert.AreSame(m, p.Messages.Single());
    Assert.IsNotNull(m.Person);
    Assert.AreEqual<int>(1, m.Id);
    Assert.AreEqual<string>("Hello, too", m.Name);
    Assert.AreEqual<string>("This is a long test message.", m.Text);
    p = rp.GetItem(1);
    p.Messages.Single().Name = "This works, too";
    rp.AddOrUpdate(p);
    [TestMethod]
    public void CountryDbTest()
    using (Repository<Person> rp = new Repository<Person>(true))
    Person p;
    Message m;
    BusinessLayer.TestContext.CreateNewDB();
    rp.AddOrUpdate(p = new Person("Hello", 1));
    Assert.AreEqual<int>(1, p.Id);
    Assert.AreEqual<string>("Hello", p.Name);
    Assert.AreEqual<int>(1, p.CountryId);
    Assert.IsNotNull(p.Country); // ** fails ! ***
    Following is a number of screenshots, depicting the entities' properties.
    Please notice the highlighted navigation property values in the Watch window on the right.
    You will notice that while the Messages.Person navigation property gets aligned with the Messages.PersonId
    foreign key property, the Person.Country navigation property does not get aligned with the Person.CountryId
    foreign key property when TestContext::SaveChanges() is called:
    Still people out there alive using the keyboard?
    Working with SQL Server/Office/Windows and their poor keyboard support they seem extinct...

  • Entity framework 5 model BindingLists instead of HashSets

    When i create or update a model from database, the generated classes have as navigation properties a hasset.
    I can not bind a hashSet to a datagrid so i change their type to a bindinglist. Please check the red area at the end of the code
    Is there a template to create a bindinglist instead of hashSet?
    // <auto-generated>
    //    This code was generated from a template.
    //    Manual changes to this file may cause unexpected behavior in your application.
    //    Manual changes to this file will be overwritten if the code is regenerated.
    // </auto-generated>
    namespace Model
    using System;
    using System.ComponentModel;
    using System.Collections.Generic;
    publicpartialclassSalesOrders
    public SalesOrders()
    this.NumberOfTrucks = 1;
    this.IsFromSap =false;
    this.IsLocked =false;
    this.IsCompleted =false;
    this.Weight2 =newBindingList<Weight2>();
    this.SalesOrdersVehicles =newBindingList<SalesOrdersVehicles>();
    publicint
    ID {get;set;
    publicNullable<int>
    SAPUID { get;set;
    publicNullable<int>
    PlantID { get;set;
    publicstring
    SalesOrderCode {get;set;
    publicNullable<int>
    CustomerID { get;set;
    publicNullable<int>
    ProductID { get;set;
    publicNullable<int>
    NumberOfTrucks { get;set;
    publicstring
    SalesOrderType {get;set;
    publicstring
    RefTransactionID {get;set;
    publicstring
    AdditionalField1 {get;set;
    publicstring
    AdditionalField2 {get;set;
    publicstring
    AdditionalField3 {get;set;
    publicbool
    IsFromSap {get;set;
    publicbool
    IsLocked {get;set;
    publicbool
    IsCompleted {get;set;
    publicvirtualCustomers
    Customers {get;set;
    publicvirtualPlants
    Plants {get;set;
    publicvirtualProducts
    Products {get;set;
    publicvirtualBindingList<Weight2>
    Weight2 { get;set;
    publicvirtualBindingList<SalesOrdersVehicles>
    SalesOrdersVehicles { get;set;

    Hi iglezos,
    When we're using default method to generate the model, there're two files with .tt extension files, one for DbContext class generation and the other for entities generations. The code you posted in the initial post is generated by the .tt file. So, if we
    want to modify the code, we need to modify the .tt file and let it help us to generate the code again. I'm not clear about your meaning, what's the meaning of create completely different classes from the other template? I mean delete the default template and
    use the "EF 5.x DbContext Generator" template to help us generate the entities. : )
    Best Regards
    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

  • How do I add multiple scripts from search engines to my meta tag properties?

    I currently have copied the goolge script for website varification and analytics, etc and pasted it into my meta tag properties dialog box. There is no problem as far as Google varifying the page. However, I would like to copy Bing's search engine script into my meta tag in addition to Googles script. How do I go about doing this? Do I hit the return on my keyboard under the ending of Googles script, then paste in the Bing script?
    The the last part of the Google script ending in this:
    </script>
    (paste new script from Bing here?)
    Will this cancel out each other and cause problems?
    Can someone walk me through this process, because Bing's search engine will not varify my site through two of the three other methods.
    Ben

    Adding a script after the closure of previous script is the way to go i.e. right after the </script> tag.
    So it should look something like below:
    <script>
    Google's script
    </script>
    <script>
    Bing's script
    </script>
    Cannot comment on one interfering with the other since it really depends on what exact code is there in the scripts. Google and Bing help resources will be able to help more with this.
    Thanks,
    Vikas

  • Error while accessing secure store: File "SecStore.properties" does not exi

    Hi ,
    I have a java desktop application, and i am trying to get a connection from a datasource deployed on one SAP AS Java, I can get the datasource succsfullly but when i try to get a connection from the DS, it throughs this exception, I put the secstore..properties file in the classpath even after that it is not happy,
    any solution/hint/light please!!!!
    com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "SecStore.properties" does not exist although it should..
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
         at com.sap.customcode.ConflictingActionFixture.(ConflictingActionFixture.java:53)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at fit.FixtureClass.newInstance(Unknown Source)
         at fit.FixtureLoader.instantiateFixture(Unknown Source)
         at fit.FixtureLoader.instantiateFirstValidFixtureClass(Unknown Source)
         at fit.FixtureLoader.disgraceThenLoad(Unknown Source)
         at fit.Fixture.loadFixture(Unknown Source)
         at fit.Fixture.getLinkedFixtureWithArgs(Unknown Source)
         at fit.Fixture.doTables(Unknown Source)
         at fit.FitServer.process(Unknown Source)
         at fit.FitServer.run(Unknown Source)
         at fit.FitServer.main(Unknown Source)
    Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "SecStore.properties" does not exist although it should.
         at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
         at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
         at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
         at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
         ... 18 more
    caused by

    the SecStore.key file was not there, I changed the passwd and checked the 'Encryption' on, after that my sever instance is not starting.
    Any idea?
    -Puneet

  • In Photoshop CC (2014), Hue/Saturation adjustment layer properties disappear

    I am running Photoshop CC (2014) under Windows 7 Professional.  The program is up to date.
    Today, while editing an 8-bit image, I added a Hue/Saturation adjustment layer.  Then, in the properties panel for this layer, with the on-image adjustment tool selected, I clicked a color in the image to get a range of colors whose saturation I wanted to adjust.  Next, using the saturation slider in the properties panel, I increased the saturation of this range of colors. Finally, I closed the properties panel by clicking on the double arrow in the upper right corner.
    Later, I wanted to modify this adjustment layer.  I double-clicked on the layer thumbnail to reopen the properties panel, and found that, although the previous increase in saturation was still operating, the saturation slider was back at its default position, and the range of colors that I had previously established was gone.  Thus, I could not make further adjustments to this range of colors.
    I then did some further experimentation:  I deleted the first Hue/Saturation adjustment layer, and created a new Hue/Saturation adjustment layer. I then again established a range of colors as above, again increased the saturation of these colors, and then again closed the properties panel by clicking on the double arrow in the upper right corner.  This time, however, when I wanted to try to modify this adjustment layer, instead of double-clicking on the layer thumbnail to reopen the properties panel, I right-clicked on the layer and then clicked on "Edit adjustment..."  This opened the properties panel, which, this time, correctly showed my original adjustments -- the saturation slider showed the positive adjustment that I had previously made, and the range of colors established earlier was still shown. But then, on a hunch, I added a Curves adjustment layer above the Hue/Saturation adjustment layer.  Now, when I again opened the properties panel of the Hue/Saturation adjustment layer (by right-clicking on the layer and then clicking on "Edit adjustment..."), my previous settings were gone -- the saturation slider was at its default position and the range of colors was gone!  (But the increase in saturation was still operating.)
    Thus, it appears that there is a bug in the functioning of the properties panel of the Hue/Saturation layer: In short, once you have added a further adjustment layer, you can't then go back and make changes to the properties of the Hue/Saturation layer.  I would be interested to hear if others have noticed this.  Also, is Adobe planning to address this?

    OK, I am not entirely sure I have understood your post completely, but when you edit a colour range with a Hue/Sat layer, and click off and back on again, it will default to showing the RGB values, which you may not have made any adjustment to.  If you pick the previous colour from the image, or a similar colour, it _will_ show you the adjustments.  So long as your picked colour is contained within the range of the previous adjustment.
    Ypu could also use the RGB drop down (actually they call it Master nowadays), and chose the colour that is closest to your previously picked colour.  I expect you are away that you can edit the colour range being operated on by dragging the four sliders on the two colour bars at the bottom of the Properties panel.
    Does that make sense, or am I going in the wrong direction?

  • Program error when opening layer properties

    Hi! I have a really difficult problem in Photoshop. Whenever I try to open the layer properties I get the error message "Could not complete your request because of a program error." I tried to fix it but I really don't know what to do. I am working on a huge project and I need this fixed as soon as possible. Thanks!

    Please read this and proceed accordingly:
    http://forums.adobe.com/thread/419981?tstart=0
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html

  • ADF Custom properties overlay

    Hi all
    I want to put another one data in the same row in view mode in priview link http://tinypic.com/r/10e22wn/6 can see that in Edit form are showing both (Code & Date fields), but on View Form are only date in Custom properties i tried to RoDisplay: IllnessDate ,Code but then in view form showed only Code
    Maybe someone can give some tips about overlay or how i can put the Code into view form in the same row
    Jdeveloper-11.1.1.6.0
    ADF Business Components     11.1.1.61.92
    Thanks ! !
    ID
    Edited by: 1D10T on Nov 7, 2012 4:47 AM

    Sucess
    <CustomProperties>
    <Property
    Name="ShowCodeInRO"
    Value="true"/>
    </CustomProperties>
    Maybe somewhere are some list with all custom Properties ?

  • File Properties: Document Kind... Where Does it Come From?

    In Bridge's metadata subsection "File Properties", what exactly
    is "Document Kind"? Is it synonymous with the file's mime type?
    I've read through Adobe's XMP specification document (http://partners.adobe.com/public/developer/xmp/sdk/index.html) and I've seen many of Adobe's XMP schemas and data elements defined there, but I can't find where "Document Kind" is defined.
    The closest I come is page 39 where the XMP specification notes that the dublin core schema has a property called "format" with a value of "MIMEType". Is "dc:format" synonymous with "file properties: document kind"?
    Thanks for any help.

    dont mind but please tell me how do u communicate with computer ports...
    u can mail any material at [email protected]
    thanks

  • Error reading properties file upon deployment

    hi. i'm still relatively new with regards to the Java programming language. in any case... i am developing a simple project wherein the application has to make a database connection to a server. the application is finished already however.. i am having problems deploying it.
    my project has a "resources" package containing the file "config.properties" which contains various information (connection details among others). correct me if im doing something wrong, but in deploying in, i copied the "dist" folder of my compiled code and then tried to run the java exe independently which resulted in an error. i already tried copying the "config.properties" file to the dist folder and even creating a "resources\config.properties" file but it still results in an error. could you please help me figure out how to deploy the application with the properties file. the code i used in referencing my .properties file is as follows:
    Properties configFile = new Properties();
                configFile.load(this.getClass().getClassLoader().getResourceAsStream("Resources\\config.properties"));
                String username = configFile.getProperty("username");
                String password = configFile.getProperty("password");
                String url = configFile.getProperty("url");
                String dbtype = configFile.getProperty("dbtype");
                Class.forName(dbtype);
                conn = DriverManager.getConnection(url, username, password); thanks in advance. ^^

    thank for the help mangst. i guess the IO approach is also applicable ^^; i changed my code to:
    configFile.load( new FileInputStream( ".\\resources\\config.properties" ) );but i had a little trouble in debugging it since it starts the file search from the main project directory. however it works fine upon deployment. ^^; thanks again.
    Edited by: xnofate on Sep 23, 2008 6:21 PM

  • Error reading Properties file

    I have a main method which i am using to call a servlet located in the same Development Component. Until recently i had the servlet location hard coded and it was working without issues. Now i decided to make the location configurable. For this i created an sap.application.global.properties file in the EAR DC which contains the WAR of this DC.
    The contents of the above file are as follows:
    SAP application properties
    SERVLET.LOCATION=http://<server-name>/ControllerServlet/servlet/com.nike.xapps.eqptsp.swem.controller.ControllerServlet
    The code i am using in the main method to call this properties file and access the property is as follows:
    Context ctx = new InitialContext();
    ApplicationConfigHandlerFactory cfgHdlr = (ApplicationConfigHandlerFactory)ctx.lookup("ApplicationConfiguration");          
    Properties props = cfgHdlr.getApplicationProperties();
    String servlet = props.getProperty("SERVLET.LOCATION");
    contained in a try...catch block.
    On dubugging i get a NoInitialContextException repeatedly in the statement where the lookup is performed.
    These are all the additions i have made for reading this properties file. Does anyone know if there is anything more that needs to be done for this to work.
    Thanks,
    Murtaza.

    thank for the help mangst. i guess the IO approach is also applicable ^^; i changed my code to:
    configFile.load( new FileInputStream( ".\\resources\\config.properties" ) );but i had a little trouble in debugging it since it starts the file search from the main project directory. however it works fine upon deployment. ^^; thanks again.
    Edited by: xnofate on Sep 23, 2008 6:21 PM

  • KM Task Scheduler: How to create custom/editable properties?

    Dear All,
    I created a KM Scheduler Task using the NDWS Wizard.
    The application was successfully deployed and the task runs fine. However, I would like to define some custom properties that could be edited by using the portal, like the standard ones such as Priority, CM Systems, etc.
    Is that possible?
    I already tried to add it in the portalapp.xml, and also in the auto generated files that are in data and meta folders (..co.xml), but the new properties have not appeared in the screen.
    Thanks in advance,
    Marco

    Hi Romano,
    Thanks for the input.
    Do you know in which of the .co.xml files should be added? There is one in "data" and another in "meta" folders.
    The one in "data" folder (actually in one of the subfolders of "data folder") has the following content:
    <?xml version="1.0"  encoding="UTF-8" ?>
    <Configurable configclass="domain.task">
    <property name="name" value="domain.task" />
    <property name="active" value="true" />
    <property name="description" value="Task Test" />
    </Configurable>
    I added in this file a new property but no result.
    The one in meta folder (also in a subfolder of it) has the following:
    <ConfigClass name="domain.task"  extends="SchedulerTask">
    <attribute name="class" type="class" constant="domain.task"/>
    </ConfigClass>
    In this one when I tried to add a new property the task simple does not show, maybe I am not using the correct syntax.
    Do you know in which of these files I should put the custom property and using which syntax?
    Thanks in advance,
    Marco

  • KM Scheduler Service Properties

    Hello experts. I am trying to build a scheduler service in KM that runs an RFC, retrieves some data and stores it into KM once a day. To do this, I tried starting with JCA but that did not work so I ended up using the IConnectionFactory framework and it does work. However, in using that, I have to put the SAP system values and the User ID/Password in the connection properties. I do not want to put this in the code so I wanted to create properties exposed in the System Config -> Knowledge Management -> Content Management -> Global Services -> Scheduler Tasks -> My Scheduler Service. That way, I can maintain those properties there and use them in my code. However, since I do not have experience with the Scheduler Service, I do not know how to expose and read those properties. In a regular component, I would put it in portalapp.xml but it does not seem to work for this one. So, could someone guide me on where to put those properties and how as well as the Java code to read them in at runtime.
    Would really appreciate any help.

    Hi
    Did you find a solution fo this problem?
    Florin

  • Where do I read in the documentation the list of the system properties?

    Yep. Sounds stupid. But it's true. I read in all these forums where and how to set the truststore and so on but it would be beautiful to understand it my own.
    1. First I read setting the -Djavax.net.ssl.trustStore in the VM arguments.
    2. Then I find out the the -D is just for setting something like a static property.
    3. Next I want to read about the system properties. Who, what and where the Java tries to get this system property. I do not find it.
    What I find is great help in these forums and solving this kind of problems seems easy... I googled and the only place I found info about this is in a boulder.ibm.com site:
    http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaha/sysprop2.htm
    http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaha/rzahajssesysprops.htm
    I also found some info on a sun tutorial but not an official documentation. Do you know where to find it? It seems that my learning is always about finding the right place to find information and not guessing and trying.
    Thanks!!

    Thanks for your soon reply. Yeah, I found that but I really was expecting a more serious documentation.
    I have to admit that it is documented. Yes. But I didn't expect to find that in middle of a guide. But more in a reference or in a specification document. It's inside the "Customization" and in a table, yes... But it's a guide!!
    I like Java but something to worry about is the "too many - too less" documentation. Documentation is not clear enough and all the hundreds of options you have can make the programming with Java no good. It would sound like a good thing have a lot of choices and hundreds of places to look info for but I am a bit disappointed with that. It's not clear enough to find the right info.
    Anyway, thanks a lot for your help!! I will have to live with that.
    Guide: http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html

Maybe you are looking for

  • How to reconnect Time machine to backup file on hard drive

    How do I reconnect my Time Machine to the Backups.backupdb on a hard drive? Time Machine got set to a new drive but I want to return to the older backup.

  • Full Screen mode - global y co-ordinate

    Hi I seem to be having some problems with a Flash 2.1 App across different resolutions. I am developing using a generic 176 x 208 but deploying on a Nokia N71 in full screen mode. I am using the Stage object to calculate sizing a x,y cordinates etc..

  • Preview vs adobe acrobat - choosing default pdf viewer

    when i download a pdf document and then click to open it, by default it opens using preview. how do i disable that and make adobe acrobat my default pdf viewer? Macbook   Mac OS X (10.4.9)   iPod 30Gb color

  • How do I back up my library?

    the last time I lost my data i lost all my photos i'd imported into iphoto from my camera. where is the folders for me to back up this time? I'm not using time machine so i need to locate them manually

  • Selling price - PR00

    I want to seen the selling price of all matl in a plant what is the Tcode? plreply guru