Problem with duplicate and/or outlined fonts in Macintosh

If you are using Frame for Macintosh and you find you have duplicate Arial and/or Times New Roman fonts, or, if these fonts show up on the screen as outlines, the problem may be that you have the 2.9x versions of these fonts, the latest as of this writing (31 August).
You can find older 2.60 versions on the Apple OS 9.2 Install CD, deep in a Microsoft Internet Explore install folder (a Sherlock search will find them).
DEAD LINK, LEFT HERE FOR HISTORICAL PURPOSES: In case you're interested, you can find the 2.9x versions at http://www.microsoft.com/mac/download/office2001/fontsupdate.asp. The page says "New Apple Macintosh versions of Times New Roman (2.91) and Arial (2.90) This update includes a fix for a problem that prevented certain characters from being printed on PostScript level 3 printers", so I'm hesitant to say that you should not use these newer fonts at all.

i had been running the program inside Netbeans.
Running the jar using the command line outside
Netbeans i have no more problems... Does Netbeans use
it's own JVM?Depends how you set it up, but look under the options. There are settings for the compiler and jvm that it uses.

Similar Messages

  • Problem with Safari (and other browser) fonts rendering

    Hi,
    I have a problem since yesterday with the rendering of fonts in all of the browser in my computer:
    Gmail, Google search and fonts in many other size are rendered BOLD.
    I don't remember how and when this happened, but it's very annoying specially for email and google reader...
    Any help it would be very appreciated.
    Cheers,
    T

    HI and Welcome to Apple Discussions...
    Try booting in Safe Mode
    What is Safe Mode
    Booting in Safe Mode takes a little longer than a normal boot but it deletes font caches and might help.
    Carolyn

  • Problem with storing and retriving a different langauge font in mysql

    hi,
    i have problem with storing and retriving a different character set in
    mysql database ( for example storing kannada font text in database)
    it simply store what ever typed in JTextField in database in the
    formate ??????????? and it showing ???????? .
    please what can i do this problem.
    thanks
    daya

    MySQL does not know about what type of Font you use or store. that is applicatioon specific. All it knows is the character set that you are storing and the data type and data. THere are something you should know when working with database and Java:
    1. make sure you know what character set is used for the database table.
    2. make sure you know what character set is used by Java (default to UTF-8 ..
    sort off - there are few character that it cannot save). You can enforce the
    character set being sent to the database by the String's getBytes(String charsetName) method.
    3. make sure the application you use to view the table use the correct character set
    if it use a different character set, then any character that it does not recogized
    will be replaced with a quetion mark '?'....eventhough the data is correct.

  • Problems with Photos and Fonts and Explorer

    I am having problems with photos and fonts when my site is viewed on Explorer. The site is Ostyn-Newman.com The problems can both be seen on the start page -though they happen throughout the site. The photo is supposed to be only 30% opaque and it shows fine on Firefox or Safari, but Explorer viewers get the photo being used as wallpaper at 100% and this steps all over the text. Should I give up a using a photo as wallapaper?
    Also the font I am using for "Ostyn-Newman Objects for Fine Homes" shows well in Firefox and Safari, but looks really bad on Explorer products. Should I just change the font? I am currently using Snell Roundhand.

    See Roddy's posts in these topics:
    Re: VIEWING iWEB SITES ON A PC ?
    Re: iweb pages memory intensive
    Re: iweb site on my personal domain name locks up
    The message in each is pretty much the same but he does give some info of an application that can optimize the web pages to make them more readily readable by IE.
    OT

  • Problem with writing and reading using serialization

    I am having a problem with writing and reading an object that has another object in it. The purpose of the class is to write a order that has multiple items in it. And there will be several orders. This is for an IB project, where one of the requirements is to utilize a hierarchical composite data structure. That is, it is "one that contains more than one element and at least one of the elements is a composite data structure. Examples are, an array or linked list of records, a record that has one field that is another record, or an array". The code is shown below:
    The error produced is
    java.lang.NullPointerException
         at SamsonRubberIndustries.CustomerOrderDetails.createCustOrdDetailsScreen(CustomerOrderDetails.java:150)
         at SamsonRubberIndustries.CustomerOrderDetails$1.run(CustomerOrderDetails.java:78)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    public class CustOrdObject implements Serializable {
         public int CustID;
         public int CustOrderID;
         public Object OrderDate;
         public InnerCustOrdObject[] innerCustOrdObj;
         public float GrandTotal;
         public int MaxItems;
         public CustOrdObject() {}
         public CustOrdObject(InnerCustOrdObject[] innerCustOrdObj,
    int CustID, int CustOrderID, Object OrderDate,
    float GrandTotal, int innerarrlength, int innerarrpos, int MaxItems) {
              this.CustID = CustID;
              this.CustOrderID = CustOrderID;
              this.OrderDate = OrderDate;
              this.GrandTotal = GrandTotal;          
              this.MaxItems = MaxItems;
              this.innerCustOrdObj = new InnerCustOrdObject[MaxItems];
         public InnerCustOrdObject[] getInnerCustOrdObj() {
              return innerCustOrdObj;
         public void setInnerCustOrdObj(InnerCustOrdObject[] innerCustOrdObj) {
              this.innerCustOrdObj = innerCustOrdObj;
         public int getCustID() {
              return CustID;
         public void setCustID(int custID) {
              CustID = custID;
         public int getCustOrderID() {
              return CustOrderID;
         public void setCustOrderID(int custOrderID) {
              CustOrderID = custOrderID;
         public Object getOrderDate() {
              return OrderDate;
         public void setOrderDate(Object orderDate) {
              OrderDate = orderDate;
         public void setGrandTotal(float grandTotal) {
              GrandTotal = grandTotal;
         public float getGrandTotal() {
              return GrandTotal;
         public int getMaxItems() {
              return MaxItems;
         public void setMaxItems(int maxItems) {
              MaxItems = maxItems;
    public class InnerCustOrdObject implements Serializable{
         public int ItemNumber;
         public float UnitPrice;
         public int QuantityRequired;
         public float TotalPrice;
         public InnerCustOrdObject() {}
         public InnerCustOrdObject(int ItemNumber, float
    UnitPrice, int QuantityRequired, float TotalPrice){
              this.ItemNumber = ItemNumber;
              this.UnitPrice = UnitPrice;
              this.QuantityRequired = QuantityRequired;
              this.TotalPrice = TotalPrice;
         public int getItemNumber() {
              return ItemNumber;
         public void setItemNumber(int itemNumber) {
              ItemNumber = itemNumber;
         public int getQuantityRequired() {
              return QuantityRequired;
         public void setQuantityRequired(int quantityRequired) {
              QuantityRequired = quantityRequired;
         public float getTotalPrice() {
              return TotalPrice;
         public void setTotalPrice(float totalPrice) {
              TotalPrice = totalPrice;
         public float getUnitPrice() {
              return UnitPrice;
         public void setUnitPrice(float unitPrice) {
              UnitPrice = unitPrice;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import javax.swing.*;
    import javax.swing.table.DefaultTableCellRenderer;
    import javax.swing.table.DefaultTableModel;
    public class CustomerOrderDetails extends CommonFeatures{
         //TODO
         private static int MAX_ORDERS = 200;
         private static int MAX_ORDERITEMS = 100;
         private static int MaxRecord;
         private static int CurrentRecord = 1;
         private static int currentItem;
         private static int MaxItems;
         private static boolean FileExists, recFileExists;
         private static CustOrdObject[] orderDetails = new CustOrdObject[MAX_ORDERS];
         private static InnerCustOrdObject[] innerCustOrdObj = new InnerCustOrdObject[MAX_ORDERITEMS];     
         private static File OrderDetailsFile = new File("CustOrdDetails.dat");
         private static File OrdRecordNumStore = new File("OrdRecordNumStore.txt");
         private static PrintWriter writeFile;
         private static BufferedReader readFile;
         private static ObjectOutputStream objOut;
         private static ObjectInputStream objIn;
         //Set format for date
         SimpleDateFormat simpleDF = new SimpleDateFormat("dd MM yyyy");
         //--<BEGINNING>--Declaring Interface Variables------------------------------------------//
         private JPanel innertoppanel, innercenterpanel, innerbottompanel, innerrightpanel, innerleftpanel;
         private JLabel CustIDLbl, CustOrderIDLbl, OrderedDateLbl, GrandTotLbl, ItemNumberLbl,UnitPriceLbl, QuantityReqLbl, TotPriceLbl;
         private JTextField CustIDTxt, CustOrderIDTxt, OrderedDateTxt, GrandTotTxt, ItemNumberTxt, UnitPriceTxt, QuantityReqTxt, TotPriceTxt;
         private JButton addrecordbtn, savebtn, externalprevbtn, externalnextbtn, internalprevbtn, internalnextbtn, gotorecordbtn, additemreqbtn;
         //--<END>--Declaring Interface Variables------------------------------------------------//
         public static void main(String[] args) {
              final CustomerOrderDetails COD = new CustomerOrderDetails();
              java.awt.EventQueue.invokeLater(new Runnable() {
                   public void run() {
                        try {
                             UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
                             COD.createCustOrdDetailsScreen();
                        } catch (Exception eb) {
                             eb.printStackTrace();
         //--<BEGINNING>--Creating CustomerOrderDetails Screen---------------------------------------//
         public JFrame createCustOrdDetailsScreen() {
              createDefaultFrame();
              mainframe.setSize(800,500);
              createContainerPanel();
              containerpanel.add(createCustOrdDetailsTitle(), BorderLayout.NORTH);
              containerpanel.add(createCustOrdDetailsMainPanel(), BorderLayout.CENTER);
              //containerpanel.add(createCustOrdDetailsLeftNavButtons(), BorderLayout.WEST);
              //containerpanel.add(createCustOrdDetailsRightNavButtons(), BorderLayout.EAST);
              containerpanel.add(createCustOrdDetailsButtons(), BorderLayout.SOUTH);
              mainframe.setContentPane(containerpanel);
              mainframe.setLocationRelativeTo(null);
              mainframe.setVisible(true);
              //--<BEGINNING>--Checks to see whether CRecordNumberStore file exists-------------------------------//
              if (OrdRecordNumStore.exists() == true) {
                   recFileExists = true;
              }else {
                   recFileExists = false;
              if (recFileExists == true) {
                   MaxRecord = readRecordNumber();
                   CurrentRecord = MaxRecord;
                   //readOrder();
                   //readInnerOrderRecord(CurrentRecord);
                   System.out.println("Current Record " +CurrentRecord);
                   System.out.println("Max Record " +MaxRecord);
              }else{
                   MaxRecord = 1;
                   writeRecordNumber(MaxRecord);
                   CustOrderIDTxt.setText(""+MaxRecord);
                   System.out.println("Current Record " +CurrentRecord);
                   System.out.println("Max Record " +MaxRecord);
              //--<END>--Checks to see whether CRecordNumberStore file exists--------------------------------------//
              if(readOrder() != null){
                   orderDetails = (CustOrdObject[]) readOrder();
                 innerCustOrdObj = orderDetails[CurrentRecord].getInnerCustOrdObj();
                   MaxItems = orderDetails[CurrentRecord].getMaxItems();
                   if(CurrentRecord > 1 && CurrentRecord < MaxRecord){
                        externalnextbtn.setEnabled(true);
                        externalprevbtn.setEnabled(true);
                   if(CurrentRecord >= MaxRecord){
                        externalnextbtn.setEnabled(false);
                   getFieldText(CurrentRecord-1);
              }else{
                   orderDetails[CurrentRecord] = new CustOrdObject();
                   currentItem = 1;
              return mainframe;
         //--<END>--Creating CustomerOrderDetails Screen---------------------------------------------//
         public JPanel createCustOrdDetailsTitle(){
              createTitlePanel();
              titlepanel.setBackground(TxtfontColor);
              label.setText("- Customer Order Details -");
              labelpanel.setBackground(TxtfontColor);
              label.setForeground(Color.white);
              createbuttonpanel();
              buttonpanel.setBackground(TxtfontColor) ;
              buttonpanel.add(createReturnToMainMenuButton());
              titlepanel.add(labelpanel, BorderLayout.WEST);
              titlepanel.add(buttonpanel, BorderLayout.EAST);
              return titlepanel;
         public JPanel createCustOrdDetailsMainPanel(){
              createmainpanel();
              mainpanel.setBackground(TxtfontColor);
              mainpanel.setLayout(new BorderLayout());          
              mainpanel.setBorder(BorderFactory.createTitledBorder(""));
              mainpanel.add(createInnerTopPanel(), BorderLayout.NORTH);
              mainpanel.add(createInnerCenterPanel(), BorderLayout.CENTER);
              mainpanel.add(createInnerBottomPanel(), BorderLayout.SOUTH);
              mainpanel.add(createInnerRightPanel(), BorderLayout.EAST);
              mainpanel.add(createInnerLeftPanel(), BorderLayout.WEST);
              return mainpanel;
         public JPanel createInnerTopPanel(){
              innertoppanel = new JPanel(new GridBagLayout());
              innertoppanel.setBackground(TxtfontColor);
              GridBagConstraints GBC = new GridBagConstraints();
              GBC.fill = GridBagConstraints.HORIZONTAL;
              //Setting Font Type and Size
              Font font = new Font("Arial", Font.BOLD, 11);
              CustIDLbl = new JLabel("Customer ID");
              CustIDLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              CustIDLbl.setFont(font);
              CustIDLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 1;
              innertoppanel.add(CustIDLbl, GBC);     
              CustIDTxt = new JTextField(20);
              CustIDTxt.setEditable(true);
              GBC.gridx = 2;
              GBC.gridy = 1;
              innertoppanel.add(CustIDTxt, GBC);
              GBC.gridx = 3;
              GBC.gridy = 1;
              innertoppanel.add(Box.createHorizontalStrut(220), GBC);
              OrderedDateLbl = new JLabel("Order Date");
              OrderedDateLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              OrderedDateLbl.setFont(font);
              OrderedDateLbl.setForeground(LblfontColor);
              GBC.gridx = 4;
              GBC.gridy = 1;
              innertoppanel.add(OrderedDateLbl, GBC);     
              //Get today's date
              Date todaydate = new Date();
              OrderedDateTxt = new JTextField(simpleDF.format(todaydate), 20);
              OrderedDateTxt.setHorizontalAlignment(JTextField.CENTER);
              OrderedDateTxt.setEditable(false);
              GBC.gridx = 5;
              GBC.gridy = 1;
              innertoppanel.add(OrderedDateTxt, GBC);
              CustOrderIDLbl = new JLabel("Customer Order ID");
              CustOrderIDLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              CustOrderIDLbl.setFont(font);
              CustOrderIDLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 2;
              innertoppanel.add(CustOrderIDLbl, GBC);
              CustOrderIDTxt = new JTextField(20);
              CustOrderIDTxt.setEditable(false);
              GBC.gridx = 2;
              GBC.gridy = 2;
              innertoppanel.add(CustOrderIDTxt, GBC);
              return innertoppanel;
         public JPanel createInnerCenterPanel(){
              innercenterpanel = new JPanel(new GridBagLayout());
              innercenterpanel.setBackground(TxtfontColor);
              innercenterpanel.setBorder(BorderFactory.createLoweredBevelBorder());
              GridBagConstraints GBC = new GridBagConstraints();
              GBC.fill = GridBagConstraints.HORIZONTAL;
              //Setting Font Type and Size
              Font font = new Font("Arial", Font.BOLD, 11);
              ItemNumberLbl = new JLabel("Item Number");
              ItemNumberLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              ItemNumberLbl.setFont(font);
              ItemNumberLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 1;
              innercenterpanel.add(ItemNumberLbl, GBC);     
              ItemNumberTxt = new JTextField(20);
              GBC.gridx = 2;
              GBC.gridy = 1;
              innercenterpanel.add(ItemNumberTxt, GBC);
              UnitPriceLbl = new JLabel("Unit Price");
              UnitPriceLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              UnitPriceLbl.setFont(font);
              UnitPriceLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 2;
              innercenterpanel.add(UnitPriceLbl, GBC);     
              UnitPriceTxt = new JTextField(20);
              //UnitPriceTxt.setEditable(false);
              GBC.gridx = 2;
              GBC.gridy = 2;
              innercenterpanel.add(UnitPriceTxt, GBC);
              QuantityReqLbl = new JLabel("Quantity Required");
              QuantityReqLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              QuantityReqLbl.setFont(font);
              QuantityReqLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 3;
              innercenterpanel.add(QuantityReqLbl, GBC);     
              QuantityReqTxt = new JTextField(20);
              //QuantityReqTxt.setEditable(false);
              GBC.gridx = 2;
              GBC.gridy = 3;
              innercenterpanel.add(QuantityReqTxt, GBC);
              TotPriceLbl = new JLabel("Total Price");
              TotPriceLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              TotPriceLbl.setFont(font);
              TotPriceLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 4;
              innercenterpanel.add(TotPriceLbl, GBC);     
              TotPriceTxt = new JTextField(20);
              //TotPriceTxt.setEditable(false);
              GBC.gridx = 2;
              GBC.gridy = 4;
              innercenterpanel.add(TotPriceTxt, GBC);
              return innercenterpanel;
         public JPanel createInnerBottomPanel(){
              innerbottompanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
              innerbottompanel.setBackground(TxtfontColor);
              //Setting Font Type and Size
              Font font = new Font("Arial", Font.BOLD, 11);
              GrandTotLbl = new JLabel("Grand Total");
              GrandTotLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              GrandTotLbl.setFont(font);
              GrandTotLbl.setForeground(LblfontColor);
              innerbottompanel.add(GrandTotLbl);
              innerbottompanel.add(Box.createHorizontalStrut(30));
              GrandTotTxt = new JTextField(20);
              innerbottompanel.add(GrandTotTxt);
              return innerbottompanel;
         public JPanel createInnerRightPanel(){
              innerrightpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              innerrightpanel.setBackground(TxtfontColor);
              innerrightpanel.setLayout(new BoxLayout(navrightpanel, BoxLayout.Y_AXIS));
              innerrightpanel.setBorder(BorderFactory.createLoweredBevelBorder());
              innerrightpanel.setLayout(new GridBagLayout());          
              GridBagConstraints GBC = new GridBagConstraints();
              GBC.fill = GridBagConstraints.HORIZONTAL;
              internalnextbtn = new JButton(createNextButtonIcon());
              GBC.gridx = 1;
              GBC.gridy = 1;
              internalnextbtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        //getInnerFieldText(currentItem);
                        internalprevbtn.setEnabled(true);
                        if(currentItem < MaxItems){
                             ++CurrentRecord;
                             //readOrder();
                             //readInnerOrderRecord(CurrentRecord);
                             setInnerFieldText(currentItem);
                             System.out.println(CurrentRecord);//Checking RECORD_NUM
                        if(currentItem == MaxItems){
                             internalnextbtn.setEnabled(false);
              innerrightpanel.add(internalnextbtn, GBC);
              return innerrightpanel;
         public JPanel createInnerLeftPanel(){
              innerleftpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              innerleftpanel.setBackground(TxtfontColor);
              innerleftpanel.setBorder(BorderFactory.createLoweredBevelBorder());
              innerleftpanel.setForeground(Color.BLACK);
              innerleftpanel.setLayout(new GridBagLayout());          
              GridBagConstraints GBC = new GridBagConstraints();
              GBC.fill = GridBagConstraints.HORIZONTAL;
              internalprevbtn = new JButton(createPreviousButtonIcon());
              GBC.gridx = 1;
              GBC.gridy = 1;
              internalprevbtn.addActionListener(new ActionListener(){
                   public void  actionPerformed(ActionEvent evt){
                        //getInnerFieldText(currentItem);
                        internalnextbtn.setEnabled(true);
                        if(currentItem == 1){
                             internalprevbtn.setEnabled(false);
                        if(currentItem > 0){
                             --currentItem;
                             //readOrder();
                             setInnerFieldText(currentItem);
              innerleftpanel.add(internalprevbtn, GBC);
              return innerleftpanel;
         public JPanel createCustOrdDetailsButtons(){
              createbuttonpanel();
              buttonpanel.setBackground(TxtfontColor);
              externalprevbtn = new JButton(createPreviousButtonIcon());
              externalprevbtn.addActionListener(new ActionListener(){
                   public void  actionPerformed(ActionEvent evt){
                        getFieldText(CurrentRecord);
                        externalnextbtn.setEnabled(true);
                        if(CurrentRecord == 1){
                             externalprevbtn.setEnabled(false);
                        if(CurrentRecord > 0){
                             --CurrentRecord;
                             setFieldText(CurrentRecord);
                             System.out.println(CurrentRecord);//Checking RECORD_NUM
              buttonpanel.add(externalprevbtn);
              addrecordbtn = new JButton("Add Record", createAddButtonIcon());
              addrecordbtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        try{
                             MaxRecord = readRecordNumber();
                             MaxRecord++;
                             writeRecordNumber(MaxRecord);
                             //--<BEGINNING>--Clear Fields-------------------------------------------------------//
                             CustIDTxt.setText("");
                             CustOrderIDTxt.setText(""+MaxRecord);
                             //Get today's date
                             Date todaydate = new Date();
                             OrderedDateTxt.setText(""+simpleDF.format(todaydate));
                             ItemNumberTxt.setText("");
                             UnitPriceTxt.setText("");
                             QuantityReqTxt.setText("");
                             TotPriceTxt.setText("");
                             GrandTotTxt.setText("");
                             //--<END>--Clear Fields-------------------------------------------------------------//
                             externalnextbtn.setEnabled(false);
                             externalprevbtn.setEnabled(true);
                             System.out.println(MaxRecord);
                        } catch(Exception ec){ec.printStackTrace();}
              buttonpanel.add(addrecordbtn);
              savebtn = new JButton("Save Data", createSaveButtonIcon());
              savebtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        setFieldText(CurrentRecord);
                        writeOrder();
                        writeRecordNumber(MaxRecord);
                        System.out.println(CurrentRecord);
                        System.out.println(MaxRecord);
              buttonpanel.add(savebtn);
              java.net.URL imageURL_AddRowIcon = CommonFeatures.class.getResource("Icons/edit_add.png");
              ImageIcon AddRowIcon = new ImageIcon(imageURL_AddRowIcon);
              additemreqbtn = new JButton("Add Item", AddRowIcon);
              additemreqbtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        try{
                             //--<BEGINNING>--Clear Fields-------------------------------------------------------//
                             ItemNumberTxt.setText("");
                             UnitPriceTxt.setText("");
                             QuantityReqTxt.setText("");
                             TotPriceTxt.setText("");
                             //--<END>--Clear Fields-------------------------------------------------------------//
                             //CurrentRecord = MaxRecord;
                             currentItem++;
                             setInnerFieldText(currentItem);
                             internalnextbtn.setEnabled(false);
                             internalprevbtn.setEnabled(true);
                             System.out.println(MaxRecord);
                        } catch(Exception ec){ec.printStackTrace();}
              buttonpanel.add(additemreqbtn);
              externalnextbtn = new JButton(createNextButtonIcon());
              externalnextbtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        getFieldText(CurrentRecord);
                        externalprevbtn.setEnabled(true);
                        if(CurrentRecord < MaxRecord){
                             ++CurrentRecord;
                             setFieldText(CurrentRecord);
                             System.out.println(CurrentRecord);//Checking RECORD_NUM
                        if(CurrentRecord == MaxRecord){
                             externalnextbtn.setEnabled(false);
              buttonpanel.add(externalnextbtn);
              return buttonpanel;
         //TODO
         public void setFieldText(int orderID){//TODO
              orderDetails[orderID].setCustID(Integer.parseInt(CustIDTxt.getText()));
              orderDetails[orderID].setCustOrderID(Integer.parseInt(CustOrderIDTxt.getText()));
              orderDetails[orderID].setOrderDate(OrderedDateTxt.getText());
              orderDetails[orderID].setInnerCustOrdObj(innerCustOrdObj);
              orderDetails[orderID].setMaxItems(MaxItems);
              setInnerFieldText(currentItem);
              orderDetails[orderID].setGrandTotal(Float.parseFloat(GrandTotTxt.getText()));
         public void setInnerFieldText(int currentItem){//TODO
              innerCustOrdObj[currentItem] = new InnerCustOrdObject();
              innerCustOrdObj[currentItem].setItemNumber(Integer.parseInt(ItemNumberTxt.getText()));
              innerCustOrdObj[currentItem].setUnitPrice(Float.parseFloat(UnitPriceTxt.getText()));
              innerCustOrdObj[currentItem].setQuantityRequired(Integer.parseInt(QuantityReqTxt.getText()));
              innerCustOrdObj[currentItem].setTotalPrice(Float.parseFloat(TotPriceTxt.getText()));
         public void getFieldText(int orderID){
              CustIDTxt.setText(Integer.toString(orderDetails[orderID].getCustID()));
              CustOrderIDTxt.setText(Integer.toString(orderDetails[orderID].getCustOrderID()));
              OrderedDateTxt.setText(""+orderDetails[orderID].getOrderDate());          
              currentItem = orderDetails[orderID].getMaxItems();
              System.err.println("currentItem" + currentItem);
              getInnerFieldText(currentItem);
              GrandTotTxt.setText(Float.toString(orderDetails[orderID].getGrandTotal()));
         public void getInnerFieldText(int currentItem){
              ItemNumberTxt.setText(Integer.toString(innerCustOrdObj[currentItem].getItemNumber()));
              UnitPriceTxt.setText(Float.toString(innerCustOrdObj[currentItem].getUnitPrice()));
              QuantityReqTxt.setText(Integer.toString(innerCustOrdObj[currentItem].getQuantityRequired()));
              TotPriceTxt.setText(Float.toString(innerCustOrdObj[currentItem].getTotalPrice()));
         public void writeOrder(){//TODO
              try {
                   objOut = new ObjectOutputStream(new FileOutputStream(OrderDetailsFile));
                   objOut.writeObject(orderDetails);
                   System.out.println("WORKING!");
                   objOut.flush();
                   objOut.close();
              } catch (IOException e) {
                   e.printStackTrace();
         public Object readOrder(){
              Object temporaryObj;
              try{
                   objIn = new ObjectInputStream(new FileInputStream(OrderDetailsFile));
                   temporaryObj = objIn.readObject();               
                   CustOrdObject[] blah = (CustOrdObject[]) temporaryObj;
                   System.out.println("Outer: "+blah[1].getCustID());
                   InnerCustOrdObject[] whee = blah[1].getInnerCustOrdObj();
                   System.out.println("Inner: "+whee[1].getItemNumber());
                   objIn.close();
                   System.out.println("Read Worky!");
                   return temporaryObj;
              }catch(Exception e){
                   e.printStackTrace();
                   System.out.println("Read No Worky!");
                   return null;
         public void writeRecordNumber(int MaxRecord){
              try{
                   objOut = new ObjectOutputStream(new FileOutputStream(OrdRecordNumStore));
                   objOut.writeObject(MaxRecord);
                   System.out.println("WORKING!");
                   objOut.flush();
                   objOut.close();
              }catch(Exception e){e.printStackTrace();}
         public int readRecordNumber() {
              try {
                   objIn = new ObjectInputStream(new FileInputStream(OrdRecordNumStore));
                   int temporaryObj = Integer.parseInt(objIn.readObject().toString());
                   objIn.close();
                   System.out.println("Read Number Worky!");
                   return temporaryObj;
              } catch (Exception e) {
                   e.printStackTrace();
                   System.out.println("Read Number No Worky!");
                   return -1;
    }Message was edited by:
    Kilik07
    Message was edited by:
    Kilik07

    ok i got reading to work to a certain extent... but the prob is i cnt seem to save my innerCustOrdObj proprly...when ever i look for a record using the gotorecordbtn, the outerobject, which is the orderDetails, seems to change but the innerCustOrdObj remains the same... heres the new code..
    public class CustomerOrderDetails extends CommonFeatures{
         //TODO
         private static int MAX_ORDERS = 200;
         private static int MAX_ORDERITEMS = 100;
         private static int MaxRecord;
         private static int CurrentRecord = 1;
         private static int currentItem;
         private static int MaxItems = 1;
         private static boolean FileExists, recFileExists;
         private static boolean RecordExists;
         private static CustOrdObject[] orderDetails = new CustOrdObject[MAX_ORDERS];
         private static InnerCustOrdObject[] innerCustOrdObj = new InnerCustOrdObject[MAX_ORDERITEMS];     
         private static File OrderDetailsFile = new File("CustOrdDetails.ser");
         private static File OrdRecordNumStore = new File("OrdRecordNumStore.txt");
         private static PrintWriter writeFile;
         private static BufferedReader readFile;
         private static ObjectOutputStream objOut;
         private static ObjectInputStream objIn;
         //Set format for date
         SimpleDateFormat simpleDF = new SimpleDateFormat("dd MM yyyy");
         //--<BEGINNING>--Declaring Interface Variables------------------------------------------//
         private JPanel innertoppanel, innercenterpanel, innerbottompanel, innerrightpanel, innerleftpanel;
         private JLabel CustIDLbl, CustOrderIDLbl, OrderedDateLbl, GrandTotLbl, ItemNumberLbl,UnitPriceLbl, QuantityReqLbl, TotPriceLbl;
         private JTextField CustIDTxt, CustOrderIDTxt, OrderedDateTxt, GrandTotTxt, ItemNumberTxt, UnitPriceTxt, QuantityReqTxt, TotPriceTxt;
         private JButton addrecordbtn, savebtn, externalprevbtn, externalnextbtn, internalprevbtn, internalnextbtn, gotorecordbtn, additemreqbtn;
         //--<END>--Declaring Interface Variables------------------------------------------------//
         public static void main(String[] args) {
              final CustomerOrderDetails COD = new CustomerOrderDetails();
              java.awt.EventQueue.invokeLater(new Runnable() {
                   public void run() {
                        try {
                             UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
                             COD.createCustOrdDetailsScreen();
                        } catch (Exception eb) {
                             eb.printStackTrace();
         //--<BEGINNING>--Creating CustomerOrderDetails Screen---------------------------------------//
         public JFrame createCustOrdDetailsScreen() {
              createDefaultFrame();
              mainframe.setSize(800,500);
              createContainerPanel();
              containerpanel.add(createCustOrdDetailsTitle(), BorderLayout.NORTH);
              containerpanel.add(createCustOrdDetailsMainPanel(), BorderLayout.CENTER);
              //containerpanel.add(createCustOrdDetailsLeftNavButtons(), BorderLayout.WEST);
              //containerpanel.add(createCustOrdDetailsRightNavButtons(), BorderLayout.EAST);
              containerpanel.add(createCustOrdDetailsButtons(), BorderLayout.SOUTH);
              mainframe.setContentPane(containerpanel);
              mainframe.setLocationRelativeTo(null);
              mainframe.setVisible(true);
              //--<BEGINNING>--Checks to see whether CRecordNumberStore file exists-------------------------------//
              if (OrdRecordNumStore.exists() == true) {
                   recFileExists = true;
              }else {
                   recFileExists = false;
              if (recFileExists == true) {
                   MaxRecord = readRecordNumber();
                   CurrentRecord = MaxRecord;
                   //readOrder();
                   //readInnerOrderRecord(CurrentRecord);
                   System.out.println("Current Record " +CurrentRecord);
                   System.out.println("Max Record " +MaxRecord);
              }else{
                   MaxRecord = 1;
                   writeRecordNumber(MaxRecord);
                   CustOrderIDTxt.setText(""+MaxRecord);
                   System.out.println("Current Record " +CurrentRecord);
                   System.out.println("Max Record " +MaxRecord);
              //--<END>--Checks to see whether CRecordNumberStore file exists--------------------------------------//
              if(readOrder() != null){
                   orderDetails = (CustOrdObject[]) readOrder();
                   //CurrentRecord--;
                   //System.out.println("Current Rec Here"+CurrentRecord);
                   if(orderDetails[CurrentRecord] == null){
                        System.err.println("CustomerOrderObj 1 is null !!");
                   }else{
                        System.err.println("CustomerOrderObj 1 is  not null !!");
                   if(orderDetails[CurrentRecord].getInnerCustOrdObj() == null){
                        System.err.println("InnerCustomerOrderObj is null !!");
                   }else{
                        System.err.println("InnerCustomerOrderObj is  not null !!");
                   innerCustOrdObj = orderDetails[CurrentRecord].getInnerCustOrdObj();
                   MaxItems = orderDetails[CurrentRecord].getMaxItems();
                   if(CurrentRecord > 1 && CurrentRecord < MaxRecord){
                        externalnextbtn.setEnabled(true);
                        externalprevbtn.setEnabled(true);
                   if(CurrentRecord >= MaxRecord){
                        externalnextbtn.setEnabled(false);
                   getFieldText(CurrentRecord);
                   getInnerFieldText(MaxItems);
              }else{
                   orderDetails[CurrentRecord] = new CustOrdObject();
                   currentItem = 1;
              return mainframe;
         //--<END>--Creating CustomerOrderDetails Screen---------------------------------------------//
         public JPanel createCustOrdDetailsTitle(){
              createTitlePanel();
              titlepanel.setBackground(TxtfontColor);
              label.setText("- Customer Order Details -");
              labelpanel.setBackground(TxtfontColor);
              label.setForeground(Color.white);
              createbuttonpanel();
              buttonpanel.setBackground(TxtfontColor) ;
              buttonpanel.add(createReturnToMainMenuButton());
              titlepanel.add(labelpanel, BorderLayout.WEST);
              titlepanel.add(buttonpanel, BorderLayout.EAST);
              return titlepanel;
         public JPanel createCustOrdDetailsMainPanel(){
              createmainpanel();
              mainpanel.setBackground(TxtfontColor);
              mainpanel.setLayout(new BorderLayout());          
              mainpanel.setBorder(BorderFactory.createTitledBorder(""));
              mainpanel.add(createInnerTopPanel(), BorderLayout.NORTH);
              mainpanel.add(createInnerCenterPanel(), BorderLayout.CENTER);
              mainpanel.add(createInnerBottomPanel(), BorderLayout.SOUTH);
              mainpanel.add(createInnerRightPanel(), BorderLayout.EAST);
              mainpanel.add(createInnerLeftPanel(), BorderLayout.WEST);
              return mainpanel;
         public JPanel createInnerTopPanel(){
              innertoppanel = new JPanel(new GridBagLayout());
              innertoppanel.setBackground(TxtfontColor);
              GridBagConstraints GBC = new GridBagConstraints();
              GBC.fill = GridBagConstraints.HORIZONTAL;
              //Setting Font Type and Size
              Font font = new Font("Arial", Font.BOLD, 11);
              CustIDLbl = new JLabel("Customer ID");
              CustIDLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              CustIDLbl.setFont(font);
              CustIDLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 1;
              innertoppanel.add(CustIDLbl, GBC);     
              CustIDTxt = new JTextField(20);
              CustIDTxt.setEditable(true);
              GBC.gridx = 2;
              GBC.gridy = 1;
              innertoppanel.add(CustIDTxt, GBC);
              GBC.gridx = 3;
              GBC.gridy = 1;
              innertoppanel.add(Box.createHorizontalStrut(220), GBC);
              OrderedDateLbl = new JLabel("Order Date");
              OrderedDateLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              OrderedDateLbl.setFont(font);
              OrderedDateLbl.setForeground(LblfontColor);
              GBC.gridx = 4;
              GBC.gridy = 1;
              innertoppanel.add(OrderedDateLbl, GBC);     
              //Get today's date
              Date todaydate = new Date();
              OrderedDateTxt = new JTextField(simpleDF.format(todaydate), 20);
              OrderedDateTxt.setHorizontalAlignment(JTextField.CENTER);
              OrderedDateTxt.setEditable(false);
              GBC.gridx = 5;
              GBC.gridy = 1;
              innertoppanel.add(OrderedDateTxt, GBC);
              CustOrderIDLbl = new JLabel("Customer Order ID");
              CustOrderIDLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              CustOrderIDLbl.setFont(font);
              CustOrderIDLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 2;
              innertoppanel.add(CustOrderIDLbl, GBC);
              CustOrderIDTxt = new JTextField(20);
              //CustOrderIDTxt.setEditable(false);
              GBC.gridx = 2;
              GBC.gridy = 2;
              innertoppanel.add(CustOrderIDTxt, GBC);
              return innertoppanel;
         public JPanel createInnerCenterPanel(){
              innercenterpanel = new JPanel(new GridBagLayout());
              innercenterpanel.setBackground(TxtfontColor);
              innercenterpanel.setBorder(BorderFactory.createLoweredBevelBorder());
              GridBagConstraints GBC = new GridBagConstraints();
              GBC.fill = GridBagConstraints.HORIZONTAL;
              //Setting Font Type and Size
              Font font = new Font("Arial", Font.BOLD, 11);
              ItemNumberLbl = new JLabel("Item Number");
              ItemNumberLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              ItemNumberLbl.setFont(font);
              ItemNumberLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 1;
              innercenterpanel.add(ItemNumberLbl, GBC);     
              ItemNumberTxt = new JTextField(20);
              GBC.gridx = 2;
              GBC.gridy = 1;
              innercenterpanel.add(ItemNumberTxt, GBC);
              UnitPriceLbl = new JLabel("Unit Price");
              UnitPriceLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              UnitPriceLbl.setFont(font);
              UnitPriceLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 2;
              innercenterpanel.add(UnitPriceLbl, GBC);     
              UnitPriceTxt = new JTextField(20);
              //UnitPriceTxt.setEditable(false);
              GBC.gridx = 2;
              GBC.gridy = 2;
              innercenterpanel.add(UnitPriceTxt, GBC);
              QuantityReqLbl = new JLabel("Quantity Required");
              QuantityReqLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              QuantityReqLbl.setFont(font);
              QuantityReqLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 3;
              innercenterpanel.add(QuantityReqLbl, GBC);     
              QuantityReqTxt = new JTextField(20);
              //QuantityReqTxt.setEditable(false);
              GBC.gridx = 2;
              GBC.gridy = 3;
              innercenterpanel.add(QuantityReqTxt, GBC);
              TotPriceLbl = new JLabel("Total Price");
              TotPriceLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              TotPriceLbl.setFont(font);
              TotPriceLbl.setForeground(LblfontColor);
              GBC.gridx = 1;
              GBC.gridy = 4;
              innercenterpanel.add(TotPriceLbl, GBC);     
              TotPriceTxt = new JTextField(20);
              TotPriceTxt.setEditable(false);
              TotPriceTxt.addFocusListener(new FocusAdapter(){
                   public void focusGained(FocusEvent evt){
                        TotPriceTxt.setText(""+Integer.parseInt(UnitPriceTxt.getText())*Integer.parseInt(QuantityReqTxt.getText()));
              GBC.gridx = 2;
              GBC.gridy = 4;
              innercenterpanel.add(TotPriceTxt, GBC);
              return innercenterpanel;
         public JPanel createInnerBottomPanel(){
              innerbottompanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
              innerbottompanel.setBackground(TxtfontColor);
              //Setting Font Type and Size
              Font font = new Font("Arial", Font.BOLD, 11);
              GrandTotLbl = new JLabel("Grand Total");
              GrandTotLbl.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              GrandTotLbl.setFont(font);
              GrandTotLbl.setForeground(LblfontColor);
              innerbottompanel.add(GrandTotLbl);
              innerbottompanel.add(Box.createHorizontalStrut(30));
              GrandTotTxt = new JTextField(20);
              innerbottompanel.add(GrandTotTxt);
              return innerbottompanel;
         public JPanel createInnerRightPanel(){
              innerrightpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              innerrightpanel.setBackground(TxtfontColor);
              innerrightpanel.setLayout(new BoxLayout(navrightpanel, BoxLayout.Y_AXIS));
              innerrightpanel.setBorder(BorderFactory.createLoweredBevelBorder());
              innerrightpanel.setLayout(new GridBagLayout());          
              GridBagConstraints GBC = new GridBagConstraints();
              GBC.fill = GridBagConstraints.HORIZONTAL;
              internalnextbtn = new JButton(createNextButtonIcon());
              GBC.gridx = 1;
              GBC.gridy = 1;
              internalnextbtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        getInnerFieldText(currentItem);
                        internalprevbtn.setEnabled(true);
                        if(currentItem < MaxItems){
                             ++currentItem;
                             orderDetails[CurrentRecord].getInnerCustOrdObj();
                             setInnerFieldText(currentItem);
                             System.out.println("Current Item" + currentItem);
                        if(currentItem == MaxItems){
                             internalnextbtn.setEnabled(false);
              innerrightpanel.add(internalnextbtn, GBC);
              return innerrightpanel;
         public JPanel createInnerLeftPanel(){
              innerleftpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              innerleftpanel.setBackground(TxtfontColor);
              innerleftpanel.setBorder(BorderFactory.createLoweredBevelBorder());
              innerleftpanel.setForeground(Color.BLACK);
              innerleftpanel.setLayout(new GridBagLayout());          
              GridBagConstraints GBC = new GridBagConstraints();
              GBC.fill = GridBagConstraints.HORIZONTAL;
              internalprevbtn = new JButton(createPreviousButtonIcon());
              GBC.gridx = 1;
              GBC.gridy = 1;
              internalprevbtn.addActionListener(new ActionListener(){
                   public void  actionPerformed(ActionEvent evt){
                        getInnerFieldText(currentItem);
                        internalnextbtn.setEnabled(true);
                        if(currentItem == 1){
                             internalprevbtn.setEnabled(false);
                        if(currentItem > 0){
                             --currentItem;
                             orderDetails[CurrentRecord].getInnerCustOrdObj();
                             setInnerFieldText(currentItem);
                             System.out.println("Current Item" + currentItem);
              innerleftpanel.add(internalprevbtn, GBC);
              return innerleftpanel;
         public JPanel createCustOrdDetailsButtons(){
              createbuttonpanel();
              buttonpanel.setBackground(TxtfontColor);
              externalprevbtn = new JButton(createPreviousButtonIcon());
              externalprevbtn.addActionListener(new ActionListener(){
                   public void  actionPerformed(ActionEvent evt){
                        getFieldText(CurrentRecord);
                        externalnextbtn.setEnabled(true);
                        if(CurrentRecord == 1){
                             externalprevbtn.setEnabled(false);
                        if(CurrentRecord > 0){
                             --CurrentRecord;
                             setFieldText(CurrentRecord);
                             System.out.println("Current Record " + CurrentRecord);//Checking RECORD_NUM
              buttonpanel.add(externalprevbtn);
              addrecordbtn = new JButton("Add Record", createAddButtonIcon());
              addrecordbtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        try{
                             MaxRecord = readRecordNumber();
                             MaxRecord++;
                             CurrentRecord = MaxRecord;
                             orderDetails[CurrentRecord] = new CustOrdObject();
                             writeRecordNumber(MaxRecord);
                             MaxItems = 1;
                             innerCustOrdObj[MaxItems] = new InnerCustOrdObject();
                             //--<BEGINNING>--Clear Fields-------------------------------------------------------//
                             CustIDTxt.setText("");
                             CustOrderIDTxt.setText(""+MaxRecord);
                             //Get today's date
                             Date todaydate = new Date();
                             OrderedDateTxt.setText(""+simpleDF.format(todaydate));
                             ItemNumberTxt.setText("");
                             UnitPriceTxt.setText("");
                             QuantityReqTxt.setText("");
                             TotPriceTxt.setText("");
                             GrandTotTxt.setText("");
                             //--<END>--Clear Fields-------------------------------------------------------------//
                             externalnextbtn.setEnabled(false);
                             externalprevbtn.setEnabled(true);
                             System.out.println(MaxRecord);
                        } catch(Exception ec){ec.printStackTrace();}
              buttonpanel.add(addrecordbtn);
              savebtn = new JButton("Save Data", createSaveButtonIcon());
              savebtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        setFieldText(CurrentRecord);
                        setInnerFieldText(MaxItems);
                        writeOrder();
                        writeRecordNumber(MaxRecord);
                        System.out.println(CurrentRecord);
                        System.out.println(MaxRecord);
              buttonpanel.add(savebtn);
              java.net.URL imageURL_AddRowIcon = CommonFeatures.class.getResource("Icons/edit_add.png");
              ImageIcon AddRowIcon = new ImageIcon(imageURL_AddRowIcon);
              additemreqbtn = new JButton("Add Item", AddRowIcon);
              additemreqbtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        try{
                             //--<BEGINNING>--Clear Fields-------------------------------------------------------//
                             ItemNumberTxt.setText("");
                             UnitPriceTxt.setText("");
                             QuantityReqTxt.setText("");
                             TotPriceTxt.setText("");
                             //--<END>--Clear Fields-------------------------------------------------------------//
                             //CurrentRecord = MaxRecord;
                             MaxItems++;
                             innerCustOrdObj[MaxItems] = new InnerCustOrdObject();
                             System.out.println("Max Items "+MaxItems);
                             currentItem = MaxItems;
                             orderDetails[CurrentRecord].setMaxItems(MaxItems);
                             ///setInnerFieldText(currentItem);
                             internalnextbtn.setEnabled(false);
                             internalprevbtn.setEnabled(true);
                        } catch(Exception ec){ec.printStackTrace();}
              buttonpanel.add(additemreqbtn);
              externalnextbtn = new JButton(createNextButtonIcon());
              externalnextbtn.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent evt){
                        getFieldText(CurrentRecord);
                        externalprevbtn.setEnabled(true);
                        if(CurrentRecord < MaxRecord){
                             ++CurrentRecord;
                             setFieldText(CurrentRecord);
                             System.out.println(CurrentRecord);//Checking RECORD_NUM
                        if(CurrentRecord == MaxRecord){
                             externalnextbtn.setEnabled(false);
              buttonpanel.add(externalnextbtn);
              gotorecordbtn = new JButton("Go To Record", createGotoButtonIcon());
              gotorecordbtn.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent evt){
                         * The text from the GotorecordTxt textfield will be taken and assigned
                         * to a temporary integer variable called Find. 
                        int Find = Integer.parseInt(CustOrderIDTxt.getText());
                        for(int j=1; j <= MaxRecord; j++){
                              * Using a for loop, each record can be read using the readCustRecord
                              * method.
                             getFieldText(j);
                              * An if condition is utilized to check whether the temporary stored variable, Find,
                              * matches a field in a record. If this record is found, then using the RecordExists
                              * which was declared at the top, either a true or false statement can be assigned
                              * If the record exists, then a true statement will be assigned, if not a false
                              * statement will be assigned.
                             if(orderDetails[j].getCustOrderID() == Find){
                                  RecordExists = true;
                                  break;
                             }else{
                                  RecordExists = false;
                        if(RecordExists == false){
                              * If the RecordExists is assigned a false statement, then a message will be
                              * displayed to show that the record does not exist.
                             JOptionPane.showMessageDialog(null, "Record Does Not Exist!", "Error Message", JOptionPane.ERROR_MESSAGE, createErrorIcon());
                        }else{
                             getFieldText(Find);
              buttonpanel.add(gotorecordbtn);
              return buttonpanel;
         //TODO
         public void setFieldText(int orderID){//TODO
              orderDetails[orderID].setCustID(Integer.parseInt(CustIDTxt.getText()));
              orderDetails[orderID].setCustOrderID(Integer.parseInt(CustOrderIDTxt.getText()));
              orderDetails[orderID].setOrderDate(OrderedDateTxt.getText());
              orderDetails[orderID].setInnerCustOrdObj(innerCustOrdObj);
              orderDetails[orderID].setMaxItems(MaxItems);
              setInnerFieldText(currentItem);
              orderDetails[orderID].setGrandTotal(Float.parseFloat(GrandTotTxt.getText()));
         public void setInnerFieldText(int currentItem){//TODO
              innerCustOrdObj[currentItem] = new InnerCustOrdObject();
              innerCustOrdObj[currentItem].setMaxItems(MaxItems);
              innerCustOrdObj[currentItem].setItemNumber(Integer.parseInt(ItemNumberTxt.getText()));
              innerCustOrdObj[currentItem].setUnitPrice(Float.parseFloat(UnitPriceTxt.getText()));
              innerCustOrdObj[currentItem].setQuantityRequired(Integer.parseInt(QuantityReqTxt.getText()));
              innerCustOrdObj[currentItem].setTotalPrice(Float.parseFloat(TotPriceTxt.getText()));
         public void getFieldText(int orderID){
              CustIDTxt.setText(Integer.toString(orderDetails[orderID].getCustID()));
              CustOrderIDTxt.setText(Integer.toString(orderDetails[orderID].getCustOrderID()));
              OrderedDateTxt.setText(""+orderDetails[orderID].getOrderDate());          
              currentItem = orderDetails[orderID].getMaxItems();
              orderDetails[orderID].getInnerCustOrdObj();
              System.err.println("currentItem" + currentItem);
              //getInnerFieldText(currentItem);
              GrandTotTxt.setText(Float.toString(orderDetails[orderID].getGrandTotal()));
         public void getInnerFieldText(int currentItem){
              ItemNumberTxt.setText(Integer.toString(innerCustOrdObj[currentItem].getItemNumber()));
              UnitPriceTxt.setText(Float.toString(innerCustOrdObj[currentItem].getUnitPrice()));
              QuantityReqTxt.setText(Integer.toString(innerCustOrdObj[currentItem].getQuantityRequired()));
              TotPriceTxt.setText(Float.toString(innerCustOrdObj[currentItem].getTotalPrice()));
         public void writeOrder(){//TODO
              try {
                   objOut = new ObjectOutputStream(new FileOutputStream(OrderDetailsFile));
                   objOut.writeObject(orderDetails);
                   System.out.println("WORKING!");
                   objOut.flush();
                   objOut.close();
              } catch (IOException e) {
                   e.printStackTrace();
         public Object readOrder(){
              Object temporaryObj;
              try{
                   objIn = new ObjectInputStream(new FileInputStream(OrderDetailsFile));
                   temporaryObj = objIn.readObject();               
                   CustOrdObject[] blah = (CustOrdObject[]) temporaryObj;
                   /*               System.out.println("Outer: "+blah[1].getCustID());
                   InnerCustOrdObject[] whee = blah[1].getInnerCustOrdObj();
                   System.out.println("Inner: "+whee[1].getItemNumber());*/
                   objIn.close();
                   System.out.println("Read Worky!");
                   return temporaryObj;
              }catch(Exception e){
                   e.printStackTrace();
                   System.out.println("Read No Worky!");
                   return null;
         public void writeRecordNumber(int MaxRecord){
              try{
                   objOut = new ObjectOutputStream(new FileOutputStream(OrdRecordNumStore));
                   objOut.writeObject(MaxRecord);
                   System.out.println("WORKING!");
                   objOut.flush();
                   objOut.close();
              }catch(Exception e){e.printStackTrace();}
         public int readRecordNumber() {
              try {
                   objIn = new ObjectInputStream(new FileInputStream(OrdRecordNumStore));
                   int temporaryObj = Integer.parseInt(objIn.readObject().toString());
                   objIn.close();
                   System.out.println("Read Number Worky!");
                   return temporaryObj;
              } catch (Exception e) {
                   e.printStackTrace();
                   System.out.println("Read Number No Worky!");
                   return -1;
    }Message was edited by:
    Kilik07

  • [SOLVED]problem with UEFI and Windows 8

    Hi guys,
    I have installed archlinux but have the problem with grub2 and UEFI
    Im not have  /boot/efi/efi/microsoft/boot/bootmgfw.efi
    for install grub2:
    modprobe dm-mod
    modprobe efivars
    grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --boot-directory=/boot/efi/EFI --recheck --debug
    cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/efi/EFI/grub/locale/en.mo
    log grub-install
    # grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --boot-directory=/boot/efi/EFI --recheck --debug
    + setup_verbose=--verbose
    + efi_quiet=-q
    + '[' -z /boot/efi/EFI ']'
    ++ echo /boot/efi/EFI/grub
    ++ sed 's,//*,/,g'
    + grubdir=/boot/efi/EFI/grub
    + device_map=/boot/efi/EFI/grub/device.map
    + '[' x86_64-efi = i386-pc ']'
    + '[' x86_64-efi = sparc64-ieee1275 ']'
    + set /usr/bin/grub-mkimage dummy
    + test -f /usr/bin/grub-mkimage
    + :
    + '[' xefi = xefi ']'
    + test -n /boot/efi
    ++ /usr/sbin/grub-probe --target=device --device-map= /boot/efi
    + install_device=/dev/sda9
    + test -n /boot/efi
    + efi_distributor=arch_grub
    + test no = yes
    + case "$grub_modinfo_target_cpu" in
    + efi_file=grubx64.efi
    + efidir=/boot/efi/EFI/arch_grub
    + mkdir -p /boot/efi/EFI/arch_grub
    + mkdir -p /boot/efi/EFI/grub
    + mkdir -p /boot/efi/EFI/grub/x86_64-efi
    + test yes = yes
    + rm -f /boot/efi/EFI/grub/device.map
    + test -f /boot/efi/EFI/grub/device.map
    + device_map=
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f '/boot/efi/EFI/grub/*.mod'
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f '/boot/efi/EFI/grub/*.lst'
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f '/boot/efi/EFI/grub/*.img'
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f '/boot/efi/EFI/grub/efiemu??.o'
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/acpi.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/acpi.mod
    + '[' acpi.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/acpi.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/adler32.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/adler32.mod
    + '[' adler32.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/adler32.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/affs.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/affs.mod
    + '[' affs.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/affs.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/afs.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/afs.mod
    + '[' afs.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/afs.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/ahci.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/ahci.mod
    + '[' ahci.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/ahci.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/all_video.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/all_video.mod
    + '[' all_video.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/all_video.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/aout.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/aout.mod
    + '[' aout.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/aout.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/appleldr.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/appleldr.mod
    + '[' appleldr.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/appleldr.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/at_keyboard.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/at_keyboard.mod
    + '[' at_keyboard.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/at_keyboard.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/ata.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/ata.mod
    + '[' ata.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/ata.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/backtrace.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/backtrace.mod
    + '[' backtrace.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/backtrace.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/bfs.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/bfs.mod
    + '[' bfs.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/bfs.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/bitmap.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/bitmap.mod
    + '[' bitmap.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/bitmap.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/bitmap_scale.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/bitmap_scale.mod
    + '[' bitmap_scale.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/bitmap_scale.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/blocklist.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/blocklist.mod
    + '[' blocklist.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/blocklist.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/boot.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/boot.mod
    + '[' boot.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/boot.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/bsd.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/bsd.mod
    + '[' bsd.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/bsd.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/btrfs.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/btrfs.mod
    + '[' btrfs.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/btrfs.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/bufio.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/bufio.mod
    + '[' bufio.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/bufio.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/cacheinfo.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/cacheinfo.mod
    + '[' cacheinfo.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/cacheinfo.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/cat.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/cat.mod
    + '[' cat.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/cat.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/chain.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/chain.mod
    + '[' chain.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/chain.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/cmp.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/cmp.mod
    + '[' cmp.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/cmp.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/configfile.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/configfile.mod
    + '[' configfile.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/configfile.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/cpio.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/cpio.mod
    + '[' cpio.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/cpio.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/cpio_be.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/cpio_be.mod
    + '[' cpio_be.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/cpio_be.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/cpuid.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/cpuid.mod
    + '[' cpuid.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/cpuid.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/crc64.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/crc64.mod
    + '[' crc64.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/crc64.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/crypto.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/crypto.mod
    + '[' crypto.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/crypto.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/cryptodisk.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/cryptodisk.mod
    + '[' cryptodisk.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/cryptodisk.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/cs5536.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/cs5536.mod
    + '[' cs5536.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/cs5536.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/date.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/date.mod
    + '[' date.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/date.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/datehook.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/datehook.mod
    + '[' datehook.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/datehook.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/datetime.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/datetime.mod
    + '[' datetime.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/datetime.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/diskfilter.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/diskfilter.mod
    + '[' diskfilter.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/diskfilter.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/dm_nv.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/dm_nv.mod
    + '[' dm_nv.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/dm_nv.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/echo.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/echo.mod
    + '[' echo.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/echo.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/efi_gop.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/efi_gop.mod
    + '[' efi_gop.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/efi_gop.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/efi_uga.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/efi_uga.mod
    + '[' efi_uga.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/efi_uga.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/efinet.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/efinet.mod
    + '[' efinet.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/efinet.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/ehci.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/ehci.mod
    + '[' ehci.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/ehci.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/elf.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/elf.mod
    + '[' elf.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/elf.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/exfat.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/exfat.mod
    + '[' exfat.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/exfat.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/exfctest.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/exfctest.mod
    + '[' exfctest.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/exfctest.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/ext2.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/ext2.mod
    + '[' ext2.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/ext2.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/extcmd.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/extcmd.mod
    + '[' extcmd.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/extcmd.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/fat.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/fat.mod
    + '[' fat.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/fat.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/fixvideo.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/fixvideo.mod
    + '[' fixvideo.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/fixvideo.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/font.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/font.mod
    + '[' font.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/font.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/fshelp.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/fshelp.mod
    + '[' fshelp.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/fshelp.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/functional_test.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/functional_test.mod
    + '[' functional_test.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/functional_test.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_arcfour.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_arcfour.mod
    + '[' gcry_arcfour.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_arcfour.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_blowfish.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_blowfish.mod
    + '[' gcry_blowfish.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_blowfish.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_camellia.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_camellia.mod
    + '[' gcry_camellia.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_camellia.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_cast5.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_cast5.mod
    + '[' gcry_cast5.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_cast5.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_crc.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_crc.mod
    + '[' gcry_crc.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_crc.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_des.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_des.mod
    + '[' gcry_des.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_des.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_md4.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_md4.mod
    + '[' gcry_md4.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_md4.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_md5.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_md5.mod
    + '[' gcry_md5.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_md5.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_rfc2268.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_rfc2268.mod
    + '[' gcry_rfc2268.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_rfc2268.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_rijndael.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_rijndael.mod
    + '[' gcry_rijndael.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_rijndael.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_rmd160.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_rmd160.mod
    + '[' gcry_rmd160.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_rmd160.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_seed.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_seed.mod
    + '[' gcry_seed.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_seed.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_serpent.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_serpent.mod
    + '[' gcry_serpent.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_serpent.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_sha1.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_sha1.mod
    + '[' gcry_sha1.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_sha1.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_sha256.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_sha256.mod
    + '[' gcry_sha256.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_sha256.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_sha512.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_sha512.mod
    + '[' gcry_sha512.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_sha512.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_tiger.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_tiger.mod
    + '[' gcry_tiger.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_tiger.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_twofish.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_twofish.mod
    + '[' gcry_twofish.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_twofish.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gcry_whirlpool.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gcry_whirlpool.mod
    + '[' gcry_whirlpool.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gcry_whirlpool.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/geli.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/geli.mod
    + '[' geli.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/geli.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gettext.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gettext.mod
    + '[' gettext.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gettext.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gfxmenu.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gfxmenu.mod
    + '[' gfxmenu.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gfxmenu.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gfxterm.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gfxterm.mod
    + '[' gfxterm.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gfxterm.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gptsync.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gptsync.mod
    + '[' gptsync.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gptsync.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/gzio.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/gzio.mod
    + '[' gzio.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/gzio.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/halt.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/halt.mod
    + '[' halt.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/halt.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/hashsum.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/hashsum.mod
    + '[' hashsum.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/hashsum.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/hdparm.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/hdparm.mod
    + '[' hdparm.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/hdparm.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/hello.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/hello.mod
    + '[' hello.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/hello.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/help.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/help.mod
    + '[' help.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/help.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/hexdump.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/hexdump.mod
    + '[' hexdump.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/hexdump.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/hfs.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/hfs.mod
    + '[' hfs.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/hfs.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/hfsplus.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/hfsplus.mod
    + '[' hfsplus.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/hfsplus.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/http.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/http.mod
    + '[' http.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/http.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/iorw.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/iorw.mod
    + '[' iorw.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/iorw.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/iso9660.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/iso9660.mod
    + '[' iso9660.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/iso9660.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/jfs.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/jfs.mod
    + '[' jfs.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/jfs.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/jpeg.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/jpeg.mod
    + '[' jpeg.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/jpeg.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/keylayouts.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/keylayouts.mod
    + '[' keylayouts.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/keylayouts.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/keystatus.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/keystatus.mod
    + '[' keystatus.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/keystatus.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/ldm.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/ldm.mod
    + '[' ldm.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/ldm.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/linux.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/linux.mod
    + '[' linux.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/linux.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/loadbios.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/loadbios.mod
    + '[' loadbios.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/loadbios.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/loadenv.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/loadenv.mod
    + '[' loadenv.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/loadenv.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/loopback.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/loopback.mod
    + '[' loopback.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/loopback.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/ls.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/ls.mod
    + '[' ls.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/ls.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/lsacpi.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/lsacpi.mod
    + '[' lsacpi.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/lsacpi.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/lsefimmap.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/lsefimmap.mod
    + '[' lsefimmap.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/lsefimmap.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/lsefisystab.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/lsefisystab.mod
    + '[' lsefisystab.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/lsefisystab.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/lsmmap.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/lsmmap.mod
    + '[' lsmmap.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/lsmmap.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/lspci.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/lspci.mod
    + '[' lspci.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/lspci.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/lssal.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/lssal.mod
    + '[' lssal.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/lssal.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/lua.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/lua.mod
    + '[' lua.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/lua.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/luks.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/luks.mod
    + '[' luks.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/luks.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/lvm.mod
    ++ basename /boot/efi/EFI/grub/x86_64-efi/lvm.mod
    + '[' lvm.mod '!=' menu.lst ']'
    + rm -f /boot/efi/EFI/grub/x86_64-efi/lvm.mod
    + for file in '"${grubdir}"/*.mod' '"${grubdir}"/*.lst' '"${grubdir}"/*.img' '"${grubdir}"/efiemu??.o' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.mod' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.lst' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/*.img' '"${grubdir}"/${grub_modinfo_target_cpu}-$grub_modinfo_platform/efiemu??.o'
    + test -f /boot/efi/EFI/grub/x86_64-efi/lzopio.mod
    ++ basename /bo

    thanks for your answer
    # parted -l
    Model: ATA ST1000LM024 HN-M (scsi)
    Disk /dev/sda: 1000GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags:
    Number Start End Size File system Name Flags
    1 1049kB 525MB 524MB ntfs Basic data partition hidden, diag
    2 525MB 840MB 315MB fat32 EFI system partition boot
    3 840MB 974MB 134MB Microsoft reserved partition msftres
    4 974MB 489GB 488GB ntfs Basic data partition
    7 489GB 897GB 408GB ext4
    8 897GB 897GB 537MB fat16
    9 897GB 913GB 16.1GB ext4
    10 913GB 972GB 58.8GB ext4
    5 972GB 999GB 26.9GB ntfs Basic data partition hidden, diag
    6 999GB 1000GB 1074MB fat32 Basic data partition hidden, diag
    Model: General USB Flash Disk (scsi)
    Disk /dev/sdb: 4010MB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags:
    Number Start End Size Type File system Flags
    1 24.6kB 4010MB 4010MB primary fat32 boot
    Model: Linux device-mapper (snapshot) (dm)
    Disk /dev/mapper/arch_root-image: 1467MB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags:
    Number Start End Size File system Flags
    1 0.00B 1467MB 1467MB ext2
    # blkid
    /dev/sda1: LABEL="Windows RE tools" UUID="EE5AC7915AC754CD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="7d89c435-723c-477f-919c-dcd539375f01"
    /dev/sda2: LABEL="SYSTEM" UUID="DACA-0FF8" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="34b2d3a0-9a64-478b-a34f-285a2d6c12d2"
    /dev/sda4: UUID="DA70CBFC70CBDD7F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b020bb63-4913-41ad-86c8-da3601795506"
    /dev/sda5: LABEL="SAMSUNG_REC2" UUID="D49855CE9855AFAA" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b3ec5169-1fbe-4092-bd3b-05ef12a56844"
    /dev/sda6: LABEL="SAMSUNG_REC" UUID="16CF-51AE" TYPE="vfat" PARTLABEL="Basic data partition" PARTUUID="6946be1a-5046-4a95-4173-636c65706975"
    /dev/sda7: UUID="baa90712-c2b6-491d-8843-84d66cba2cc0" TYPE="ext4" PARTUUID="3ead29cf-7177-4939-8299-7132b33acb95"
    /dev/sda8: SEC_TYPE="msdos" UUID="66E2-B8FD" TYPE="vfat" PARTUUID="9305da3f-d285-4420-b7da-b2bb5940ea96"
    /dev/sda9: UUID="bfb3161c-830d-4f52-92e4-3e4e4dc49728" TYPE="ext4" PARTUUID="84122728-6714-428a-a438-7469d942327c"
    /dev/sda10: UUID="c10debbf-ac9c-4749-bd5f-aab13936d4cc" TYPE="ext4" PARTUUID="678c26ba-b31e-460a-bcb9-92c89d5d1de2"
    /dev/sdb1: LABEL="ARCH_201301" UUID="88C0-9762" TYPE="vfat"
    /dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="46dc5228-c93d-4951-9d0b-920ce27c950e"
    /dev/loop0: TYPE="squashfs"
    /dev/loop1: UUID="578f4f7a-123c-4d94-a4fc-3104a3e41cd9" TYPE="ext4"
    /dev/loop2: UUID="578f4f7a-123c-4d94-a4fc-3104a3e41cd9" TYPE="ext4"
    /dev/mapper/arch_root-image: UUID="578f4f7a-123c-4d94-a4fc-3104a3e41cd9" TYPE="ext4"
    # df -h
    df: '/run/archiso/bootmnt': No such file or directory
    df: '/run/archiso/cowspace': No such file or directory
    df: '/run/archiso/sfs/root-image': No such file or directory
    df: '/sys/fs/cgroup/systemd': No such file or directory
    df: '/sys/fs/cgroup/cpuset': No such file or directory
    df: '/sys/fs/cgroup/cpu,cpuacct': No such file or directory
    df: '/sys/fs/cgroup/memory': No such file or directory
    df: '/sys/fs/cgroup/devices': No such file or directory
    df: '/sys/fs/cgroup/freezer': No such file or directory
    df: '/sys/fs/cgroup/net_cls': No such file or directory
    df: '/sys/fs/cgroup/blkio': No such file or directory
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/arch_root-image 15G 966M 14G 7% /
    dev 3.8G 0 3.8G 0% /dev
    run 3.8G 16K 3.8G 1% /run
    tmpfs 3.8G 0 3.8G 0% /dev/shm
    hugetlbfs 3.8G 0 3.8G 0% /dev/hugepages
    tmpfs 3.8G 0 3.8G 0% /tmp
    /dev/sda9 15G 966M 14G 7% /
    /dev/sda10 54G 180M 52G 1% /home
    /dev/sda8 512M 0 512M 0% /boot/efi
    udev 3.8G 0 3.8G 0% /dev
    shm 3.8G 0 3.8G 0% /dev/shm
    run 3.8G 16K 3.8G 1% /run
    tmp 3.8G 0 3.8G 0% /tmp
    /dev/mapper/arch_root-image 1.4G 650M 728M 48% /etc/resolv.conf
    on a previous installation I worked on archlinux grub2 but not windows8
    now only works windows because I forget set boot flag por my ESP partition
    >gdisk
    partition type EF00
    mkfs.vfat -F32 /dev/sdax
    but anyway my problem is with the file to load windows8

  • [SOLVED]Problem with packettracer and firefox

    Hi
    I've got a problem with firefox and packettracer.
    When i click on pka file in firefox, it don't open this file in packettracer but wants to save on disk. I've got a version 5.3.1-1 packettracer and latest version firefox.
    I don't know when problem was occured but last week everything was ok. I think that's either update. Meyby it's important that when i type in console:
    update-desktop-database /usr/share/mime
    i've got such errors:
    Unknown media type in type 'all/all'
    Unknown media type in type 'all/allfiles'
    Unknown media type in type 'uri/mms'
    Unknown media type in type 'uri/mmst'
    Unknown media type in type 'uri/mmsu'
    Unknown media type in type 'uri/pnm'
    Unknown media type in type 'uri/rtspt'
    Unknown media type in type 'uri/rtspu'
    Unknown media type in type 'fonts/package'
    Unknown media type in type 'interface/x-winamp-skin'
    i have installed kde 4.5.5-1
    Do you know some solution for my problem?
    edit: update firefox solve my problem
    Last edited by ElNinijo (2013-06-08 08:35:12)

    I've had this happen now and again. You can rebind the lease yourself with:
    $ dhcpcd --rebind
    You could also try increasing the timeout by adding
    TimeoutDHCP=
    to your netctl profile/s - see netctl.profile(5) as WonderWoofy suggests. Although I haven't tried the latter.
    Last edited by youngdm (2013-09-01 22:01:05)

  • Problem with TextInput and RadioButton

    Hi,
    I've encountered a problem with TextInput and RadioButtons.
    I've created some text fields and radio buttons for a
    feedback form under a movie _root.feedback.
    But for some reason, I can't seem to enter text into the text
    field (no blinking cursor), and I can't see the "label" next to my
    radio buttons.
    Just as a workaround, I tried moving these fields to _root,
    and now I can enter text and see the radio button labels.
    But to keep my hierarchy clean, I want to use a the
    _root.feedback movie for my feedback fields. Any ideas what could
    be going wrong? I checked Window -> Component Inspector, and
    these textInput fields are enabled.
    Stuck.
    Thanks.

    Is the text the same color as the background or do you need
    embedded fonts?

  • Problems with SwingWorker and classes in my new job, ;), can you help me?

    Hi all, ;)
    First of all, sorry about my poor English.
    I have a problem with Swing and Threads, I hope you help me (because I'm in the firsts two weeks in my new job)
    I have two classes:
    Form1: Its a JPanel class with JProgressBar and JLabel inside.
    FormularioApplet: (the main) Its a JPanel class with a form1 inside.
    I have to download a file from a server and show the progress of the download in the JProgressBar. To make it I do this:
    In Form1 I make a Thread that update the progress bar and gets the fole from the server.
    In FormularioApplet (the main) I call to the method getDownloadedFile from Form1 to get the File.
    THE PROBLEM:
    The execution of FormularioApplet finishes before the Thread of Form1 (with download the file) download the file. Then, when I call in FormularioApplet the variable with the file an Exception: Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException is generated.
    First main begins his execution, then call to Form1 (a thread) then continues his execution and when the execution is finished ends the execution os Form1 and his thread.
    How can I do for main class call the function and the Thread download his file after main class assign the file of return method?
    How can I pass information froma class include an a main class. Form1 can't send to main (because main class made a Form1 f1 = new Form1()) any information from his end of the execution. I think if Form1 can say to main class that he finishes is job, then main class can gets the file.
    I put in bold the important lines.
    Note: My level of JAVA, you can see, is not elevated.
    THANKS A LOT
    Form1 class:
    package es.cambrabcn.signer.gui;
    import java.awt.HeadlessException;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.StringTokenizer;
    import java.util.Vector;
    import javax.swing.SwingUtilities;
    public class Form1 extends javax.swing.JPanel {
        //Variables relacionadas con la clase original DownloadProgressBar
        private InputStream file;
        private int totalCicles;
        private int totalFiles;
        private int currentProgress;
        private SwingWorker worker;
        private ByteArrayOutputStream byteArray;
        private boolean done;
        /** Creates new form prueba */
        public Form1() {
            initComponents();
            this.byteArray = new ByteArrayOutputStream();
            progressBar.setStringPainted(true);
            //this.totalFiles = totalFiles;
            currentProgress = 0;
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" C�digo Generado ">                         
        private void initComponents() {
            label1 = new javax.swing.JLabel();
            progressBar = new javax.swing.JProgressBar();
            statusLabel = new javax.swing.JLabel();
            setBackground(new java.awt.Color(255, 255, 255));
            setMaximumSize(new java.awt.Dimension(300, 150));
            setMinimumSize(new java.awt.Dimension(300, 150));
            setPreferredSize(new java.awt.Dimension(300, 150));
            label1.setFont(new java.awt.Font("Arial", 1, 18));
            label1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            label1.setText("Barra de progreso");
            statusLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            statusLabel.setText("Cargando");
            org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
            this.setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                    .addContainerGap()
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, statusLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 280, Short.MAX_VALUE)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, progressBar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 280, Short.MAX_VALUE)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, label1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 280, Short.MAX_VALUE))
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .addContainerGap()
                    .add(label1)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(progressBar, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(statusLabel)
                    .addContainerGap(73, Short.MAX_VALUE))
        }// </editor-fold>                       
        // Declaraci�n de variables - no modificar                    
        private javax.swing.JLabel label1;
        private javax.swing.JProgressBar progressBar;
        private javax.swing.JLabel statusLabel;
        // Fin de declaraci�n de variables                  
        public byte[] getDownloadedFile(String documentToSign){
             //Variables locales
             byte puente[] = null;
             try{
                //Leemos el documento a firmar
                StringTokenizer st = new StringTokenizer(documentToSign, ";");
                Vector<URL> fileURL = new Vector<URL>();
                HttpSender sender = new HttpSender(null);
                //Introducimos la lista de URLs de archivos a bajar en el objeto Vector
                for(; st.hasMoreTokens(); fileURL.add(new URL(st.nextToken())));
                //Para cada URL descargaremos un archivo
                for(int i = 0; i < fileURL.size(); i++) {
                    file = sender.getMethod((URL)fileURL.get(i));
                    if(file == null) {
                        Thread.sleep(1000L);
                        throw new RuntimeException("Error descarregant el document a signar.");
                    System.out.println("Form1 Dentro de getDownloadFile, Antes de startDownload()");
                    //Fijamos el valor del n�mero de ciclos que se har�n seg�n el tama�o del fichero
                    this.totalCicles = sender.returnCurrentContentLength() / 1024;
                    this.progressBar.setMaximum(totalCicles);
                    //Modificamos el texto del JLabel seg�n el n�mero de fichero que estemos descargando
                    this.statusLabel.setText((new StringBuilder("Descarregant document ")).append(i + 1).append(" de ").append(fileURL.size()).toString());
                    statusLabel.setAlignmentX(0.5F);
                    *//Iniciamos la descarga del fichero, este m�todo llama internamente a un Thread*
                    *this.startDownload();*
                    *System.out.println("Form1 Dentro de getDownloadFile, Despu�s de startDownload()");*
                    *//if (pane.showProgressDialog() == -1) {*
                    *while (!this.isDone()){*
                        *System.out.println("No est� acabada la descarga");*
                        *if (this.isDone()){*
                            *System.out.println("Thread ACABADO --> Enviamos a puente el archivo");*
                            *puente = this.byteArray.toByteArray();*
                            *System.out.println("Form1 getDownloadFile() tama�o puente: " + puente.length);*
                        *else{*
                            *Thread.sleep(5000L);*
    *//                        throw new RuntimeException("Proc�s de desc�rrega del document a signar cancel�lat.");*
            catch (HeadlessException e) {
                    //javascript("onSignError", new String[] {
                    //(new StringBuilder("UI: ")).append(e.getMessage()).toString()});
            e.printStackTrace();
            catch (MalformedURLException e) {
                    //javascript("onSignError", new String[] {
                    //(new StringBuilder("CMS: ")).append(e.getMessage()).toString()});
            e.printStackTrace();
            catch (HttpSenderException e) {
                    //javascript("onSignError", new String[] {
                    //(new StringBuilder("CMS: ")).append(e.getMessage()).toString()});
            e.printStackTrace();
            catch (InterruptedException e) {
                    //javascript("onSignError", new String[] {
                    //(new StringBuilder("CMS: ")).append(e.getMessage()).toString()});
            e.printStackTrace();
            //System.out.println("Form1 getDownloadFile() tama�o puente: " + puente.length);
            return puente;
        public void updateStatus(final int i){
            Runnable doSetProgressBarValue = new Runnable() {
                public void run() {
                    progressBar.setValue(i);
            SwingUtilities.invokeLater(doSetProgressBarValue);
        public void startDownload() {
            System.out.println("Form1 Inicio startDownload()");
            System.out.println("Form1 Dentro de startDownload, antes de definir la subclase SwingWorker");
            System.out.println(done);
            worker = new SwingWorker() {
                public Object construct() {
                    System.out.println("Form1 Dentro de startDownload, dentro de construct(), Antes de entrar en doWork()");
                    return doWork();
                public void finished() {
                    System.out.println("Form1 Dentro de startDownload, dentro de finished(), Antes de asignar done = true");
                    System.out.println(done);
                    done = true;
                    System.out.println("Form1 Dentro de startDownload, dentro de finished(), Despu�s de asignar done = true");
                    System.out.println(done);
                    statusLabel.setText("Completado, tama�o del archivo: " + (byteArray.size() / 1024) + "KB");
            System.out.println("Form1 Dentro de startDownload, antes de worker.start()");
            worker.start();
            System.out.println("Form1 Dentro de startDownload, antes de salir de startDownload");
            System.out.println(done);
            System.out.println("Form1 Dentro de startDownload, despu�s de worker.start()");
         * M�todo doWork()
         * Este m�todo descarga por partes el archivo que es necesario descargar, adem�s de actualizar
         * la barra de carga del proceso de carga de la GUI.
        public Object doWork() {
            System.out.println("Form1 doWork() this.byteArray.size(): " + this.byteArray.size());
            try {
                byte buffer[] = new byte[1024];
                for(int c = 0; (c = this.file.read(buffer)) > 0;) {
                    this.currentProgress++;
                    updateStatus(this.currentProgress);
                    this.byteArray.write(buffer, 0, c);
                this.byteArray.flush();
                this.file.close();
                this.currentProgress = totalCicles;
                updateStatus(this.currentProgress);
            } catch(IOException e) {
                e.printStackTrace();
            System.out.println("Form1 doWork() FINAL this.byteArray.size(): " + this.byteArray.size());
            //done = true;
            System.out.println("AHORA DONE = TRUE");
            return "Done";
        public boolean isDone() {
            return this.done;
    FormularioApplet class (main)
    package es.cambrabcn.signer.gui;
    import java.awt.Color;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.net.URL;
    import java.security.Security;
    import java.util.StringTokenizer;
    import java.util.Vector;
    import javax.swing.SwingUtilities;
    import netscape.javascript.JSObject;
    import org.bouncycastle.jce.provider.BouncyCastleProvider;
    import sun.security.provider.Sun;
    import be.cardon.cryptoapi.provider.CryptoAPIProvider;
    public class FormularioApplet extends java.applet.Applet {
        //Variables globales
        int paso = 0;
        private static final String JS_ONLOAD = "onLoad";
        private static final String JS_ONLOADERROR = "onLoadError";
        private static final int SIGNATURE_PDF = 1;
        private static final int SIGNATURE_XML = 2;
        //private String signButtonValue;
        private int signatureType;
        private String documentToSign;
        private String pdfSignatureField;
        private Vector<String> outputFilename;
        private Color appletBackground = new Color(255, 255, 255);
        private Vector<byte[]> ftbsigned;
         * Initializes the applet FormularioApplet
        public void init(){
            try {
                SwingUtilities.invokeLater(new Runnable() {
                //SwingUtilities.invokeAndWait(new Runnable() {
                //java.awt.EventQueue.invokeAndWait(new Runnable() {
                    public void run() {
                        try{
                            readParameters();
                            initComponents();
                        catch(FileNotFoundException e){
                            javascript(JS_ONLOADERROR, new String[] {
                                (new StringBuilder("Init: ")).append(e.getMessage()).toString()});
                            e.printStackTrace();                       
                        catch(IOException e) {
                            javascript(JS_ONLOADERROR, new String[] {
                                (new StringBuilder("Init: ")).append(e.getMessage()).toString()});
                            e.printStackTrace();
            catch (Exception e) {
                javascript(JS_ONLOADERROR, new String[] {
                    (new StringBuilder("Init: ")).append(e.getMessage()).toString()});
                e.printStackTrace();
            javascript(JS_ONLOAD, null);
        /** This method is called from within the init() method to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" C�digo Generado ">
        private void initComponents() {
            this.setSize(350, 450);
            appletPanel = new javax.swing.JPanel();
            jPanel1 = new javax.swing.JPanel();
            jTextField1 = new javax.swing.JLabel();
            jPanel2 = new javax.swing.JPanel();
            label = new javax.swing.JLabel();
            jPanel3 = new javax.swing.JPanel();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            setLayout(new java.awt.BorderLayout());
            appletPanel.setBackground(new java.awt.Color(255, 255, 255));
            appletPanel.setMaximumSize(new java.awt.Dimension(350, 430));
            appletPanel.setMinimumSize(new java.awt.Dimension(350, 430));
            appletPanel.setPreferredSize(new java.awt.Dimension(350, 430));
            jPanel1.setBackground(new java.awt.Color(255, 255, 255));
            jPanel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 102, 204)));
            jTextField1.setFont(new java.awt.Font("Arial", 1, 18));
            jTextField1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            jTextField1.setText("SIGNATURA ELECTRONICA");
            org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel1Layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jTextField1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 308, Short.MAX_VALUE)
                    .addContainerGap())
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel1Layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jTextField1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 24, Short.MAX_VALUE)
                    .addContainerGap())
            jPanel2.setBackground(new java.awt.Color(255, 255, 255));
            jPanel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 102, 204)));
            label.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            label.setIcon(new javax.swing.ImageIcon("C:\\java\\workspaces\\cambrabcn\\firmasElectronicas\\logo.gif"));
            org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
            jPanel2.setLayout(jPanel2Layout);
            jPanel2Layout.setHorizontalGroup(
                jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel2Layout.createSequentialGroup()
                    .addContainerGap()
                    .add(label, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 308, Short.MAX_VALUE)
                    .addContainerGap())
            jPanel2Layout.setVerticalGroup(
                jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel2Layout.createSequentialGroup()
                    .addContainerGap()
                    .add(label)
                    .addContainerGap(229, Short.MAX_VALUE))
            jPanel3.setBackground(new java.awt.Color(255, 255, 255));
            jPanel3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 102, 204)));
            //this.jButton1.setVisible(false);
            //this.jButton2.setVisible(false);
            jButton1.setText("Seg\u00fcent");
            jButton1.setAlignmentX(0.5F);
            //Cargamos el primer formulario en el JPanel2
            loadFirstForm();
            //Modificamos el texto del bot�n y el contador de pasos.
            //this.jButton1.setText("Siguiente");
            //this.jButton1.setVisible(true);
            //this.jButton2.setVisible(true);
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jButton2.setText("Cancel\u00b7lar");
            jButton2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton2ActionPerformed(evt);
            org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
            jPanel3.setLayout(jPanel3Layout);
            jPanel3Layout.setHorizontalGroup(
                jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel3Layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jButton1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 94, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 112, Short.MAX_VALUE)
                    .add(jButton2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 102, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap())
            jPanel3Layout.setVerticalGroup(
                jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel3Layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(jButton2)
                        .add(jButton1))
                    .addContainerGap())
            org.jdesktop.layout.GroupLayout appletPanelLayout = new org.jdesktop.layout.GroupLayout(appletPanel);
            appletPanel.setLayout(appletPanelLayout);
            appletPanelLayout.setHorizontalGroup(
                appletPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, appletPanelLayout.createSequentialGroup()
                    .addContainerGap()
                    .add(appletPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addContainerGap())
            appletPanelLayout.setVerticalGroup(
                appletPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, appletPanelLayout.createSequentialGroup()
                    .addContainerGap()
                    .add(jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap())
            add(appletPanel, java.awt.BorderLayout.CENTER);
        }// </editor-fold>
        private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
            this.destroy();
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
            changeForms(this.paso);
        // Declaraci�n de variables - no modificar
        private javax.swing.JPanel appletPanel;
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        private javax.swing.JPanel jPanel3;
        private javax.swing.JLabel jTextField1;
        private javax.swing.JLabel label;
        // Fin de declaraci�n de variables
         * M�todo readParameters
         * M�todo que inicializa los valores de los par�metros internos, recibidos por par�metro.
        private void readParameters() throws FileNotFoundException, IOException {
             ???????????????? deleted for the forum
            addSecurityProviders();
         * M�tode loadFirstForm
         * Aquest m�tode carrega a jPanel2 el formulari que informa sobre la c�rrega dels arxius
        private void loadFirstForm(){
            //Form1 f1 = new Form1(stream, i + 1, fileURL.size(), sender.returnCurrentContentLength(), appletBackground);
            //Form1 f1 = new Form1(fileURL.size(), sender.returnCurrentContentLength());
            Form1 f1 = new Form1();
            //Lo dimensionamos y posicionamos
            f1.setSize(310, 150);
            f1.setLocation(10, 110);
            //A�adimos el formulario al JPanel que lo contendr�
            this.jPanel2.add(f1);
            //Validem i repintem el JPanel
            jPanel2.validate();
            jPanel2.repaint();
            //Descarreguem l'arxiu a signar
            *System.out.println("FormularioApplet Dentro de loadFirstForm(), antes de llamar a getDownloadFile()");*
            *byte obj[] = f1.getDownloadedFile(this.documentToSign);*
            if (obj == null){
                System.out.println("Lo que devuelve f1.getDownloadedFile(this.documentToSign) es NULL");
            else{
                System.out.println("Lo que devuelve f1.getDownloadedFile(this.documentToSign) NO es NULL");
                System.out.println("obj: " + obj.length);
            this.ftbsigned.add(obj);
            System.out.println("FormularioApplet Dentro de loadFirstForm(), despu�s de llamar a getDownloadFile()");
            //Indicamos que el primer paso ya se ha efectuado
            this.paso++;
         * M�tode changeForms
         * Aquest m�tode carrega a jPanel2 un formulari concret segons el valor de la variable global "paso"
        private void changeForms(int paso){
            /*A cada paso se cargar� en el JPanel y formulario diferente
             * Paso previo: Se realiza en la inicializaci�n, carga el formulario, descarga el archivo y muestra la barra de carga.
             * Case 1: Se carga el formulario de selecci�n de tipo de firma.
             * Case 2: Se carga el formulario de datos de la persona que firma.
            this.paso = paso;
            switch(paso){
                case 1:
                    //Creamos un objeto de formulario (seleccion de tipo de firma)
                    Form2 f2 = new Form2();
                    //Lo dimensionamos y posicionamos
                    f2.setSize(310, 185);
                    f2.setLocation(10, 110);
                    //Quitamos el formulario 1 y a�adimos el formulario 2 al JPanel
                    this.jPanel2.remove(1);
                    this.jPanel2.add(f2);
                    //Validem i repintem el JPanel
                    jPanel2.validate();
                    jPanel2.repaint();
                    //Modificamos el contador de pasos.
                    this.paso++;
                    break;
                case 2:
                    //Creamos un objeto de formulario (seleccion de tipo de firma)
                    Form3 f3 = new Form3();
                    //Lo dimensionamos y posicionamos
                    f3.setSize(310, 175);
                    f3.setLocation(15, 130);
                    //Quitamos el formulario 1 y a�adimos el formulario 3 al JPanel
                    this.jPanel2.remove(1);
                    this.jPanel2.add(f3);
                    //Validem i repintem el JPanel
                    jPanel2.validate();
                    jPanel2.repaint();
                    //Modificamos el texto del bot�n y el contador de pasos.
                    this.jButton1.setText("Finalizar");
                    this.paso++;
                    break;
                default:
                    //Finalizar el Applet
                    //C�digo que se encargue de guardar el archivo en el disco duro del usuario
                    break;
        private void addSecurityProviders() throws FileNotFoundException, IOException {
            Security.addProvider(new CryptoAPIProvider());
            if (signatureType == SIGNATURE_PDF) {
                Security.addProvider(new BouncyCastleProvider());
            else {
                Security.addProvider(new Sun());
        private File createOutputFile(String filename, int index) {
            return new File((String)outputFilename.get(index));
        protected Object javascript(String function, String args[]) throws RuntimeException {
            //Remove
            if (true) return null;
            try {
                Vector<String> list = new Vector<String>();
                if(args != null) {
                    for(int i = 0; i < args.length; i++) {
                        list.addElement(args);
    if(list.size() > 0) {
    Object objs[] = new Object[list.size()];
    list.copyInto(objs);
    return JSObject.getWindow(this).call(function, objs);
    } catch(UnsatisfiedLinkError e) {
    e.printStackTrace();
    throw new RuntimeException((new StringBuilder()).append(e).append("\nFunci�: ").append(function).toString());
    } catch(Throwable e) {
    e.printStackTrace();
    throw new RuntimeException((new StringBuilder()).append(e).append("\nFunci�: ").append(function).toString());
    return JSObject.getWindow(this).call(function, new Object[0]);
    Edited by: Kefalegereta on Oct 31, 2007 3:54 AM
    Edited by: Kefalegereta on Oct 31, 2007 4:00 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Problem with exporting and printing from pages to PDF

    I have a problem with my Pages
    My font will not be embeded in my pdf files.
    I have saved as a ps file and in to the destiller and my fonts are missing.
    I need to send my file to the print shop but they will not accept my file and i now understand why.
    fonts are missing...
    Is there a workaround.
    I have no problem in Indesign or quark but pages.....
    I need help
    thanks a zillion

    The font is coming from a notation software Sibelius 4 and is namned opus
    Hmmm ... Sibelius is a music notation software and notations are marked up in MusicXML. Presumably the font file is an SFNT with TrueType splines, but it is probably not installed in OS X system folders - rather in an internal Sibelius application font folder. So presumably you do not see the font in FontBook and OS X font auditing does not apply to the font.
    Sibelius exports EPS files, right? If memory serves, an EPS is still legal even if the font resource is not embedded. And in any case, we know from the behaviour that the font resource is not embedded for some reason. So how do you get Sibelius to put the font resource inside the graphic ... normally there is a button in the EPS export procedure that gives you the option to Embed All Fonts.
    You do not seem to get this button, though. Or why else would you not have checked it already and the problem would have gone away already.
    The next point in troubleshooting this is that you are not following the path that would let OS X detect that an external font resource is not embedded.
    I go from pages-print-printer- acrobat Pro 8-save as Pdf-x
    What you are doing here is telling Pages to tell OS X to generate a PostScript program within which is nested your Encapsulated PostScript program with the call to an unresolved external font resource.
    So why does Acrobat Pro not detect the unresolved external font resource? Hmm ... did you try the Preflight option in Acrobat 8 Pro? It should provide information on unresolved embeddings.
    I have also tried pages-print-printer- acrobat Pro 8 and save pdf as postscript and put the postscript file in destiller 8 pro with defalt setting high quality print
    The whole problem with EPS and PS is that this sort of situation is possible in the first place (plus, what is worse, the PS program can include custom additions to the graphics model that then fail in the PS interpreter whence Apple GX normalizing, Adobe Distiller normalizing, and Apple Quartz normalizing). You want to get as far away from EPS and PS as possible, believe me.
    So, you have not done what I posted that you should do in the first place. If I were you, I would first get rid of the problem that the EPS is making a call to an external font and then get rid of the problem that the PostScript is preserving the external call.
    To get rid of the problem that the EPS is preserving an external call, simply open the EPS in Apple Preview which includes a NORMALIZER for EPS/PS, and then save out the graphic as PDF. Alternatively, if you don't trust Quartz for some reason, set up a hotfolder for Distiller, make sure the option to embed all fonts is enabled, and convert the EPS to PDF.
    Now replace your EPS in Pages with PDF in Pages, and don't save PostScript to disk but save PDF to disk through the proper procedure which is File > Print > PDF > Save as PDF/X [for your custom configuration of the PDF/X-3 filter considering that no sane person in North Europe prints lowend US SWOP, we use ISO].
    If you begin by telling OS X that you want PDF within which fonts are supposed to be embedded ALWAYS, then you have started the right way. Otherwise, you have not told the operating system what you want to do, and this then leads you into places where you are unlikely to have the expertise to troubleshoot problems.
    So, forget placing EPS in the first place, place PDF. And forget saving PostScript to disk, save PDF to disk. If that does not sort your problem, here is the dirty solution for professional prepress.
    Adobe Photoshop has an EPS rasterizer that has wide tolerances for poor PostScript programming (so does Adobe Illustrator 6 and higher by the way).
    Therefore, if an EPS is posing problems, one workaround is to rasterize the EPS at high resolution in Photoshop and place that high resolution PDF in your layout.
    Take care that you rasterize as 1 bit at the required resolution of the print provider, probably 2450 dpi. When you save the 1 bit as PDF, Photoshop automatically compresses to a very, very small file (don't be surprised if 15Mb compresses to something like 0.5Mb).
    Rasterizing in Photoshop should not be necessary if you simply start by telling the operating system what it is you are trying to do. Then the operating system should be able to take the right decisions for you, and tell if you if finds problems it cannot resolve without turning to you.
    Good luck,
    Henrik
    would-be technical writer

  • Problems with JSF and included subviews

    Hi everybody,
    I' ve got a problem with JSF and included subviews which makes me going
    crazy. I've got no clue why my web-pages are represent wrongly. The only
    tip I've got is that it must be connected with the kind I do include my JSF-pages.
    When I use <%@file="sub.jsp"%> my pages are are represent right. When I use <jsp:include page="Sub.jsp" /> or <c:import url="Sub.jsp" /> ( mark: the usage of flush="true" or flush="false" doesn't matter )
    my pages are represent wrongly.
    The usage of tags like f:facet or f:verbatim were also included but didn't point to an solution.
    I searched the whole Sun Developer Forum and some other web-sites for any solution for my problem but the given hints and clues didn't help. Now I'm trying to post my problem directly in Sun's Forum in hope to get help.
    My environment is the following:
    JAVA JDK 1.5 Update 4
    Tomcat 5.5.9
    JSLT 1.1
    Sun JSF 1.1
    Win 2K
    Here's my code:
    Main.jsp
    <%@ page language="java"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%
              String path = request.getContextPath();
              String basePath = request.getScheme() + "://" + request.getServerName()
                        + ":" + request.getServerPort() + path + "/";
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
         <base href="<%=basePath%>">
         <meta http-equiv="pragma" content="no-cache">
         <meta http-equiv="cache-control" content="no-cache">
         <meta http-equiv="expires" content="0">   
         <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
         <meta http-equiv="description" content="This is my page">
         <link rel="stylesheet" href="stil.jsp" type="text/css" />
    </head>
    <body>
         <f:view>
              <h:form>
                   <div class="table">
                        <div class="tr">
                             <h:outputText styleClass="tdleft" value="value 1"/>
                             <h:outputText styleClass="tdinfo" value="value 2"/>
                        </div>
                        <div class="tr">
                             <h:outputText styleClass="tdleft" value="value 3"/>
                             <h:outputText styleClass="tdinfo" value="value 4"/>
                        </div>
                   </div>
              </h:form>     
              <jsp:include page="Sub.jsp" />
         </f:view>
    </body>
    </html>Sub.jsp
    <%@ page language="java"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <f:subview id="subview">
         <h:form>
              <div class="table">
                   <div class="tr">
                             <h:outputText styleClass="tdleft" value="value 11"/>
                             <h:outputText styleClass="tdinfo" value="value 22"/>
                   </div>
                   <div class="tr">
                        <h:outputText styleClass="tdleft" value="value 33"/>
                        <h:outputText styleClass="tdinfo" value="value 44"/>
                   </div>
              </div>
         </h:form>
    </f:subview>stil.jsp
    <%@page contentType="text/css"%>
    <%
        String  schwarz     = "#000000",
                grau1       = "#707070",
                grau2       = "#c0c0c0",
                grau3       = "#e0e0e0",
                grau4       = "#e8e8e8",
                grau5       = "#fdfdfd",
                blau        = "#0000dd",
                tuerkis     = "#00cfff";
        String  liniendicke = "1px",
                linienart   = "solid";
        String allgemeineTextFarbe           = schwarz;
        String allgemeineHintergrundFarbe    = grau3;
        String infoTextFarbe                 = blau;
        String fieldsetRandFarbe             = blau;
        String fieldsetRandDicke             = liniendicke;
        String fieldsetRandArt               = linienart;
        String hrLinienFarbe                 = blau;
        String hrLinienDicke                 = liniendicke;
        String hrLinienArt                   = linienart;
        String inputAktivHintergrundFarbe    = grau5;
        String inputReadonlyHintergrundFarbe = grau4;
        String inputPassivHintergrundFarbe   = grau4;
        String inputPassivFarbe              = schwarz;
        String inputRandFarbe1               = grau1;
        String inputRandFarbe2               = grau5;
        String inputRandDicke                = liniendicke;
        String inputRandArt                  = linienart;
        String inputButtonHintergrundFarbe   = grau3;
        String legendenFarbe                 = blau;
        String linkFarbe                     = blau;
        String linkAktivFarbe                = tuerkis;
        String linkBesuchtFarbe              = blau;
        String linkFocusFarbe                = tuerkis;
        String objectGitterFarbe             = grau5;
        String objectGitterDicke             = liniendicke;
        String objectGitterArt               = linienart;
        String tabellenGitterFarbe           = grau5;
        String tabellenGitterDicke           = liniendicke;
        String tabellenGitterArt             = linienart;
    %>
    <%-- ----------------------------------------------- --%>
    <%-- Textdarstellung mittels der Display-Eigenschaft --%>
    <%-- in den Tags div und span                        --%>
    <%-- ----------------------------------------------- --%>
    *.table {
        display:table;
        border-collapse:collapse;
    *.tbody {
        display:table-row-group;
    *.tr {
        display:table-row;
    *.td,*.tdright,*.tdleft,*.tdinfo,*.th {
        display:table-cell;
        padding:3px;
        vertical-align:middle;
    *.td,*.th {
        text-align:center;
    *.tdright {
        text-align:right;
    *.tdleft {
        text-align:left;
    *.tdinfo {
        color:<%=infoTextFarbe%>;
        text-align:right;
    *.th {
        color:<%=infoTextFarbe%>;
        font-weight:bold;
    }thanks in advance
    benjamin

    Hello Zhong Li,
    many thanks for your post, but it didn't work.
    My problem is that the JSF-Components im my included or imported
    JSP-Pages does not accept any kind of style or styleClass for
    designing. The components take over the informations for colors
    but not for alignment.
    When I take a look at the generated JAVA-Source in $TOMCAT/WORK/WEBAPP for my sub.jsp ( sub.java )
    it seems that the resulting HTML-page would be presented correctly.
    But later when I start the application via Firefox or Mozilla the html-sourcecode is totally wrong.
    In my example I create a simple grid with 2 rows and 2 columns.
    Both columns contains JSF-Outtext-Components and are included with div-tags.
    The generated Sub.java shows that the text would be setted in the div-tags. Unfortunately the html-sourcecode represented by my browser shows that jsf-text is not setted in the tags but in the <h:form> tags. The div-tags are neither rounded by <h:form> nor containing the JSF-OutText-Components.
    Any clue?
    Many thanks Benjamin
    Here is the html-code from Firefox:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
         <base href="http://polaris21:8080/webtest/">
         <meta http-equiv="pragma" content="no-cache">
         <meta http-equiv="cache-control" content="no-cache">
         <meta http-equiv="expires" content="0">   
         <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
         <meta http-equiv="description" content="This is my page">
         <link rel="stylesheet" href="stil.jsp" type="text/css" />
    </head>
    <body>
         <form id="_id0" method="post" action="/webtest/Main.faces" enctype="application/x-www-form-urlencoded">
              <div class="table">
                   <div class="tr">
                        <span class="tdleft">value 1</span>
                        <span class="tdinfo">value 2</span>
                   </div>
                   <div class="tr">
                        <span class="tdleft">value 3</span>
                        <span class="tdinfo">value 4</span>
                   </div>
              </div>
              <input type="hidden" name="_id0" value="_id0" />
         </form>     
          <form id="SUB:_id5" method="post" action="/webtest/Main.faces" enctype="application/x-www-form-urlencoded">
               <span class="tdleft">value 11</span>
              <span class="tdinfo">value 22</span>
              <span class="tdleft">value 33</span>
              <span class="tdinfo">value 44</span>
              <input type="hidden" name="SUB:_id5" value="SUB:_id5" />
         </form>
         <div class="table">
              <div class="tr">
              </div>
              <div class="tr">
              </div>
         </div>
    </body>
    </html>

  • Random problems with Mail and ACL

    Am running 10.5.2 on a 2.8 GHz Intel iMac
    Have been experiencing problems with Mail.
    As I'm the only user I've set up Mail Preferences so that a password isn't required every time. However, on occasions, but not always, I get a repeated request for my password - on two of the three Mail accounts I have. No matter how many times I key in the password I keep being asked again. The only solution is to shut the computer down and come back to it sometime later when - most times - it works fine.
    I have an iPod Touch which lifts mail off my server, via the same wifi connection and it works fine.
    Then I had a problem where I couldn't quit Mail. I rebooted several times but Mail continued to refuse to Quit. I had to do a Force Quit every time.
    I've tried repairing permissions. Takes ages then get the following relating to ACL's.
    Whilst I've been using Macs since the mid 80's I'm not a techie and haven't got a clue what ACL's are or what they do.
    In the past when I've (regularly) run Repair Permissions as part of my system housekeeping I've had no problems.
    However, now when I run a Permissions repair this is what I get:
    Repairing permissions for “Macintosh HD”
    Permissions differ on "private/var/log/secure.log", should be -rw------- , they are -rw-r----- .
    ACL found but not expected on "System/Library/User Template/English.lproj/Sites".
    Group differs on "Library/PreferencePanes", should be 0, group is 80.
    Permissions differ on "Library/PreferencePanes", should be drwxr-xr-x , they are drwxrwxr-x .
    ACL found but not expected on "System/Library/User Template/English.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/English.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/English.lproj/Downloads".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/MIDI Drivers".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Compositions".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Input Methods".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Screen Savers".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library/Voices".
    ACL found but not expected on "System/Library/User Template/English.lproj/Library".
    ACL found but not expected on "System/Library/User Template/English.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/English.lproj/Music".
    ACL found but not expected on "System/Library/User Template/English.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/English.lproj/Public".
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/jvm.cfg", should be 0, user is 95.
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/classlist" , should be 0, user is 95.
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Library".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Music".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/Japanese.lproj/Public".
    ACL found but not expected on "System/Library/User Template/German.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/German.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/German.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/German.lproj/Library".
    ACL found but not expected on "System/Library/User Template/German.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/German.lproj/Music".
    ACL found but not expected on "System/Library/User Template/German.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/German.lproj/Public".
    ACL found but not expected on "System/Library/User Template/French.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/French.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/French.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/French.lproj/Library".
    ACL found but not expected on "System/Library/User Template/French.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/French.lproj/Music".
    ACL found but not expected on "System/Library/User Template/French.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/French.lproj/Public".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Library".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Music".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/Spanish.lproj/Public".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Library".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Music".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/Italian.lproj/Public".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Library".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Music".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/Dutch.lproj/Public".
    ACL found but not expected on "System/Library/User Template/da.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/da.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/da.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/da.lproj/Library".
    ACL found but not expected on "System/Library/User Template/da.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/da.lproj/Music".
    ACL found but not expected on "System/Library/User Template/da.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/da.lproj/Public".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Library".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Music".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/fi.lproj/Public".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Library".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Music".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/ko.lproj/Public".
    ACL found but not expected on "System/Library/User Template/no.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/no.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/no.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/no.lproj/Library".
    ACL found but not expected on "System/Library/User Template/no.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/no.lproj/Music".
    ACL found but not expected on "System/Library/User Template/no.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/no.lproj/Public".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Library".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Music".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/ru.lproj/Public".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Library".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Music".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/sv.lproj/Public".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Library".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Music".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/pt.lproj/Public".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Library".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Music".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/zh_CN.lproj/Public".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Sites".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Desktop".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Documents".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Application Support".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Assistants".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Audio/Plug-Ins/Components".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Audio/Plug-Ins/Digidesign".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Audio/Plug-Ins/VST".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Audio/Plug-Ins".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Audio/Sounds/Alerts".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Audio/Sounds/Banks".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Audio/Sounds".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Audio".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/ColorPickers".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Favorites".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/FontCollections".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Fonts".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/iMovie/Plug-ins".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/iMovie/Sound Effects".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/iMovie".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Internet Plug-Ins".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Keyboard Layouts".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Preferences".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Printers".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library/Sounds".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Library".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Movies".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Music".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Pictures".
    ACL found but not expected on "System/Library/User Template/zh_TW.lproj/Public".
    Permissions repair complete
    After a reboot I ran Permissions Fix again, several times, every time with the same results?
    I went into into System/Library/User Template but the folder has a "no entry" i.e. red circle with white horizontal bar. I clicked on this but get message I don't have sufficient access privileges.
    I'm the only user and admin.
    Can someone tell me what's going on?

    Hi Charlie,
    The Mail app is requesting my password - again and again.
    The odd thing is that I have a three email accounts - all set up with the password stored in Mail Prefs so I don't have to enter each time - but only two accounts give me problems.
    The other strange thing is that when I boot up the computer first thing in the morning and check my mail there's rarely (if ever) a problem.
    I leave the computer on during the day then check my mail again after lunch - when the computer has been 'sleeping'. It's usually then that I hit a problem. Even rebooting at this stage doesn't always work. It's as if my iMac needs be shut down for several hours to work consistently.
    Something else I realised yesterday was that when the computer has been sleeping and I check Mail (in the afternoon) and Mail starts requesting password over and over again - and the black whirly hovers over the account - its often impossible to do a simple Quit on Mail. I have to do a Force Quit.
    First time I've ever experienced such confusing problems with Macs - and been using them since around 1986!

  • Problem with JFrame and busy/wait Cursor

    Hi -- I'm trying to set a JFrame's cursor to be the busy cursor,
    for the duration of some operation (usually just a few seconds).
    I can get it to work in some situations, but not others.
    Timing does seem to be an issue.
    There are thousands of posts on the BugParade, but
    in general Sun indicates this is not a bug. I just need
    a work-around.
    I've written a test program below to demonstrate the problem.
    I have the problem on Solaris, running with both J2SE 1.3 and 1.4.
    I have not tested on Windows yet.
    When you run the following code, three JFrames will be opened,
    each with the same 5 buttons. The first "F1" listens to its own
    buttons, and works fine. The other two (F2 and F3) listen
    to each other's buttons.
    The "BUSY" button simply sets the cursor on its listener
    to the busy cursor. The "DONE" button sets it to the
    default cursor. These work fine.
    The "SLEEP" button sets the cursor, sleeps for 3 seconds,
    and sets it back. This does not work.
    The "INVOKE LATER" button does the same thing,
    except is uses invokeLater to sleep and set the
    cursor back. This also does not work.
    The "DELAY" button sleeps for 3 seconds (giving you
    time to move the mouse into the other (listerner's)
    window, and then it behaves just like the "SLEEP"
    button. This works.
    Any ideas would be appreciated, thanks.
    -J
    import java.awt.BorderLayout;
    import java.awt.Cursor;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    public class BusyFrameTest implements ActionListener
    private static Cursor busy = Cursor.getPredefinedCursor (Cursor.WAIT_CURSOR);
    private static Cursor done = Cursor.getDefaultCursor();
    JFrame frame;
    JButton[] buttons;
    public BusyFrameTest (String title)
    frame = new JFrame (title);
    buttons = new JButton[5];
    buttons[0] = new JButton ("BUSY");
    buttons[1] = new JButton ("DONE");
    buttons[2] = new JButton ("SLEEP");
    buttons[3] = new JButton ("INVOKE LATER");
    buttons[4] = new JButton ("DELAY");
    JPanel buttonPanel = new JPanel();
    for (int i = 0; i < buttons.length; i++)
    buttonPanel.add (buttons);
    frame.getContentPane().add (buttonPanel);
    frame.pack();
    frame.setVisible (true);
    public void addListeners (ActionListener listener)
    for (int i = 0; i < buttons.length; i++)
    buttons[i].addActionListener (listener);
    public void actionPerformed (ActionEvent e)
    System.out.print (frame.getTitle() + ": " + e.getActionCommand());
    if (e.getActionCommand().equals ("BUSY"))
    frame.setCursor (busy);
    else if (e.getActionCommand().equals ("DONE"))
    frame.setCursor (done);
    else if (e.getActionCommand().equals ("SLEEP"))
    frame.setCursor (busy);
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.print (" finished");
    else if (e.getActionCommand().equals ("INVOKE LATER"))
    frame.setCursor (busy);
    SwingUtilities.invokeLater (thread);
    else if (e.getActionCommand().equals ("DELAY"))
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (busy);
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.print (" finished");
    System.out.println();
    Runnable thread = new Runnable()
    public void run()
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.println (" finished");
    public static void main (String[] args)
    BusyFrameTest f1 = new BusyFrameTest ("F1");
    f1.addListeners (f1);
    BusyFrameTest f2 = new BusyFrameTest ("F2");
    BusyFrameTest f3 = new BusyFrameTest ("F3");
    f2.addListeners (f3); // 2 listens to 3
    f3.addListeners (f2); // 3 listens to 2

    I've had the same problems with cursors and repaints in a swing application, and I was thinking of if I could use invokeLater, but I never got that far with it.
    I still believe you would need a thread for the time consuming task, and that invokeLater is something you only need to use in a thread different from the event thread.

  • Problem with installing and running some applications or drivers

    When installing and installing some items, towards the end of the installation I get this message:
    /System/Library/Extensions/comcy_driver_USBDevice.kext
    *was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for update*
    The end result is that some things do not seem to work properly, such as my HP printer. Would anybody have any ideas on how to fix this problem?

    Thank you for your response. Originally, I had a problem with Airport and ended up reinstalling Snow Leopard. Since then, when downloading upgrades etc, such as HP printer drivers, iTunes etc., towards the end of the download when its running the script, I get this message: /System/Library/Extensions/comcy_driver_USBDevice.kext
    +was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for update+
    Sometimes, the download hangs and is unable to complete. The main problem I've encountered so far with an application is when I use the printer to scan an image via Preview, it's blank: there's nothing there.

  • Problems with outlook and address book contacts: my outlook contacts had around 3,000 entries. Outlook duplicated by itself and now outlook and address book have each over 340,000. What should I do?

    Problems with outlook and address book contacts: my outlook contacts had around 3,000 entries. Outlook duplicated entries and have now 340,000. I reinstalled microsoft office and, thus, outlook, and reinstalled mac OS X system and applications. While I managed to delete outlook contacts so that I can re-sync with my blackberry, the contacts at Mac Address Book were not deleted and still have over 340,000 entries. I do not mind deleting all contacts since I have back up, but I have not been able to delete them. Also, when I go at Address Book and try to delete or merge duplicated entries, the system takes forever and never ends because of such large amount of entries. Worse, when I do so I run out of RAM memory.
    My Macbook pro is just 2 months old.
    What should I do? Is there a way to delete my Mac Address Book without having the problem above?
    Many thanks
    Regis

    zlatan24 wrote:
    For solving out troubles connected with corrupted or lost address book you may use address book recovery. It owns various features such as restoring wab files, it working under any Windows OS. The utility has modern and easy to use interface due to almost every experienced users.
    If it is a windows problem it's not going to run on the OP's MacBook Pro

Maybe you are looking for