Laying out items in a JPanel

Hi,
I'm working on a program which needs to display "problems" on a screen. At the moment I'm working on drawing a problem. This problem will later on be incorporated in my program.
Looking at the result of displaying two problems, do you know a way to get the top site of the buttons aligned with the top side of the text?
TIA,
Abel
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Toolkit;
import javax.swing.*;
import javax.swing.border.Border;
public class FlowLayoutProblem {
     static JFrame frame;
     Color background;
     int width;
     int height;
     int remainingWidth;
     int insets;
     int labelWidth;
     public FlowLayoutProblem() {
          frame = new JFrame ("FlowLayoutProblem");
          Container pane = frame.getContentPane();
          background = frame.getBackground();
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.setLayout(new BoxLayout(pane, BoxLayout.Y_AXIS));
          Dimension dimension = Toolkit.getDefaultToolkit().getScreenSize();
          width = dimension.width;
          height = 36;
          insets = 4; // Number of pixels to left and/or right of a component
          labelWidth = 40;
          frame.setBounds (0, 0, width, 10 * height);
      * The screen is divided in two equal sized halves, a left and a right side. Each
      * half is divided into 3 parts. remainingWidth is used to calculate the remaining
      * width inside a half.
     public void addProblem (String organisation, String problem) {
          // frame.setPreferredSize(new Dimension (width, height));
          JPanel panel = new JPanel (); // JPanel has FlowLayout as default layout
          panel.setPreferredSize(new Dimension (width, height));
          // First half, containing serverId, customer name, and problem title
          JTextArea serverId = new JTextArea ("99999");
          Font usedFont = new Font ("SanSerif", Font.PLAIN, 12);
          serverId.setFont(usedFont);
          serverId.setPreferredSize(new Dimension(labelWidth, height));
          serverId.setBackground(background);
          panel.add(serverId);
          // Organisation name. Gets 1/3 of remaining width
          remainingWidth = (width/2 - (int)serverId.getPreferredSize().getWidth())/3 - insets;
          JTextArea organisationArea = new JTextArea (organisation);
          organisationArea.setPreferredSize(new Dimension (remainingWidth, height));
          organisationArea.setAlignmentX(SwingConstants.LEFT);
          organisationArea.setBackground(background);
          organisationArea.setLineWrap(true);
          organisationArea.setWrapStyleWord(true);
          organisationArea.setEditable(false);
          panel.add(organisationArea);
          // Problem title
          JTextArea problemArea = new JTextArea (problem);
          problemArea.setPreferredSize(new Dimension (remainingWidth*2, height));
          problemArea.setBackground(background);
          problemArea.setLineWrap(true);
          problemArea.setWrapStyleWord(true);
          problemArea.setEditable(false);
          panel.add(problemArea);
          // Second half, containing severity, CSD and Engineer
          // Severity
          JTextArea severity = new JTextArea ("WARN");
          severity.setFont(usedFont);
          severity.setBackground(background);
          severity.setPreferredSize(new Dimension(labelWidth, height));
          panel.add(severity);
          // CSD
          JButton csdButton = new JButton ("Set CSD");
          csdButton.setPreferredSize(new Dimension (80, 26));
          JTextField csdField = new JTextField();
          csdField.setPreferredSize(new Dimension (150, 25));
          csdField.setEditable(false);
          csdField.setBorder(BorderFactory.createEmptyBorder());
          JPanel csdPanel = new JPanel();
          remainingWidth = (width/2 - ((int)severity.getPreferredSize().getWidth()))/2;
          csdPanel.setPreferredSize(new Dimension ((150+80+10), height));
          csdPanel.add(csdButton);
          csdPanel.add(csdField);
          panel.add(csdPanel);
          // Solver
          JButton solverButton = new JButton ("Solver");
          solverButton.setPreferredSize(new Dimension (80, 26));
          JTextField solverField = new JTextField();
          solverField.setPreferredSize(new Dimension (150, 25));
          solverField.setEditable(false);
          solverField.setBorder(BorderFactory.createEmptyBorder());
          JPanel solverPanel = new JPanel();
          solverPanel.setPreferredSize(new Dimension ((150+80+10), height));
          solverPanel.add(solverButton);
          solverPanel.add(solverField);
          panel.add(solverPanel);
          // Empty panel to be added after this panel
          JPanel emptyPanel = new JPanel();
          emptyPanel.setPreferredSize(new Dimension (width, 15));
          frame.add(panel);
          frame.add(emptyPanel);
     public static void main(String[] args) {
          FlowLayoutProblem myProblem = new FlowLayoutProblem();
          myProblem.addProblem("Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch Computer Shop",rainbow",
          "expected string or buffer, but that is not everyting, as this problem description is extremely long. And as I am chatty, I add some more length");
          myProblem.addProblem("My Company", "I have no problem");
          frame.pack();
          frame.setVisible(true) ;
}

Vertical alignment is not supported by FlowLayout. You need to use a BoxLayout:
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
public class BoxLayoutFlow extends JFrame
     public BoxLayoutFlow()
          Box box = Box.createVerticalBox();
          getContentPane().add(box);
          box.add( addRow(box, false) );
          box.add( addRow(box, true) );
     public JComponent addRow(Box box, boolean align)
//          JPanel panel = new JPanel();
          Box panel = Box.createHorizontalBox();
          panel.setBorder( new LineBorder(Color.RED) );
          JTextArea textArea = new JTextArea(3, 10);
          textArea.setMaximumSize( textArea.getPreferredSize() );
          JButton button = new JButton("Some Text");
          button.setMaximumSize( button.getPreferredSize() );
          JTextField textField = new JTextField(10);
          textField.setMaximumSize( textField.getPreferredSize() );
          if (align)
               textArea.setAlignmentY(0.0f);
               button.setAlignmentY(0.0f);
               textField.setAlignmentY(0.0f);
          panel.add( textArea );
          panel.add( button );
          panel.add( textField );
          return panel;
     public static void main(String[] args)
          BoxLayoutFlow frame = new BoxLayoutFlow();
          frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
          frame.pack();
          frame.setLocationRelativeTo( null );
          frame.setVisible(true);
}

Similar Messages

  • Help with laying out items

    Hi
    I am using GridBagLayout.
    There are 2 rows in the layout.
    In one row there are 3 labels
    In the other row there are 4 labels.
    When I use this to align labels of different length on the same row, it looks awkward, can anyone tell me how to rectify this?

    I am placing part of my code here.
    The class extends JPanel and variables have been declared
    GridBagLayout gridbag=new GridBagLayout();
         GridBagConstraints c = new GridBagConstraints();
         setLayout(gridbag);
         Service = new ButtonGroup();
         ServiceIndication = new JRadioButton("SIN",true);
         ServiceLoading = new JRadioButton("SL",false);
         Service.add(ServiceIndication);
         Service.add(ServiceLoading);
         c.gridx=1;
         c.gridy=0;
         gridbag.setConstraints(ServiceLoading,c);
         add(ServiceLoading);
         c.gridx=2;
         gridbag.setConstraints(ServiceIndication,c);
         add(ServiceIndication);
    When I do this I find that the 2 radiobuttons are not aligned properly. Why and how do I correct this?

  • Sub: Tax Combinatiom. Tax rate, tax Amount in the print lay out design of t

    Dear all,
    Sub: Tax Combinatiom. Tax rate, tax Amount in the print lay out design of the A/R Invoice
    I have to Create a Print Lay out design of the A/R invoice for the Indain standrad please provide me some solutions for the following problems to locate the Tax combinations,Tax rate  and the Tax amount in the PLD  A/R Invoice ,
    PACAKGE  SAP B1 2005B
    Need a standrad solution as per the requriment
    Eg: Row Level
    Tax Code created is BED+VAT
    Tax combination details is
    Name of Tax type   Rate
    Excise                     16%
    Ecess                    2%
    Hcess                    1%
    VAT                       4%  
    Row No     Item  Qty   UnitPrice  Tax code  Total(LC)    Tax Amount
      1             X      10     10000      BED+VAT   100000      21139
                                             (Excise =16000,Ecess=320, Hcess=160, VAT=4659)
    2              Y      5      20000      BED+VAT    200000       42278
                                            (Excise =32000,Ecess=640,  Hcess=320, VAT=9318)
    In Print  Lay out Design Requried is the deatils of Tax code combination , Rate and the Tax Amount in the followig way 
    Excise    16%   =48000
    Ecess     2%    =960
    Hcess     1%    =480
    VAT       4%    =13977
    Please send the feedback as early as possible urgently requried
    for the further details send the feedback
    Reagrds
    Mr.Chitrasen

    Hi experts,
           Pls anybody have an answer to my question, i'll be very thankfull to u,
                     I wanted to display the Tax Break ups in Invoice say,
    ECess            25
    Vat                 56
    Excise duty    32
    I've tried a lot with many of the SAP Forum thread but the results is not satisfactory..am using SAP Business One 2007 b
    pls anybody who can guide me with step by step PLD creation for this problem.
    I done the below steps in PLD
    In Repetitive area 1
    Field_1:  Table-> OSTA                    
                  Column-> Type                               
    Field_2 : Table-> OSTA                  
                  Column -> Code                               
    Field_3:  Table-> OSTA                   
                  Column-> Rate
    Field_4:  Table-> OSTA                  
                  Column-> Name  
    Field_5:  Table-> A/R Invoice Tax amount per document
                    Column-> Tax amount
    Field_6 : Table-> A/R Invoice Tax amount per document
                    Column-> Base amount
    Field_7 :  Formula ->  Field_6 * Field_8
    Field_8 :   Formula->  Field_1==1
          NOW I SORTED REPETITVE AREA 1 WITH 'SALES TAX AUTHORITIES;cODE' AND TICKED THE CHECK BOX 'SUMMARY'
        AND MADE THIS REPETITIVE AREA INVISIBLE.
    IN Repetive area footer
    F_01 :    Formula->   Field_4       
    F_02 :    Formula->   Concat(Round(F_rate,0), '%')
    F_03 :    Formula->   Round(ColSum("F_tax_amount"),2)
      I grouped the Repetitive area footer as Group 1
                                here i get the result but the Tax Rows are repeating and Tax amount varies for VAT for each rows
    pls help me guys...          
                   Thanks in advance,
                   Dinesh
    Edited by: Dinesh S on Dec 23, 2011 1:28 PM

  • Help! How can I lay out forms?

    Hi:
    I've tried everything and I just can't get Java to lay out a form for me.
    I'm currently using TableLayout:
    http://www.clearthought.info/software/TableLayout/
    I expect the buttons to be in the bottom right hand corner of the form.
    Only one shows up and it's apparantly over top the other one. They're at the top of the form.
    What am I doing wrong?
    public static void main(String[] args)
            btnOne = new JButton(" One ");
            btnOne.setPreferredSize(new Dimension(80, 25));
            btnTwo = new JButton(" Two ");
            btnTwo.setPreferredSize(new Dimension(80, 25));
            lbOne = new JLabel("Top Label");
            lbTwo=  new JLabel("Second Label");
           double size[][] =
                {{TableLayout.FILL, 200},
                 {0.05, TableLayout.FILL, 25}};
            pnExt = new JPanel(new TableLayout(size));
            pnExt.setPreferredSize(new Dimension(775, 575));
            double sizeLbl[][] =
                {{250},
                 {0.05, TableLayout.FILL, 25}};
            pnLabel = new JPanel(new TableLayout(sizeLbl));
            pnLabel.add(lbOne, "0, 0, l, t");
            pnLabel.add(lbTwo, "0, 0, l, t");
             double sizeBtn[][] =
                {{150},
                 {TableLayout.FILL, 25, 25}};
            pnButtons = new JPanel(new TableLayout(sizeBtn));
            pnButtons.setPreferredSize(new Dimension(125, 550));
            pnButtons.add(btnOne, "0, 1, r, b");
            pnButtons.add(btnTwo, "0, 2, r, b");
            pnExt.add(lbOne, "0, 0, l, t");
            pnExt.add(pnLabel, "0, 1, l, t");
            pnExt.add(pnButtons, "1, 0");
            fme = new JFrame("My Test");
            fme.setSize(800, 600);
            fme.getContentPane().add(pnExt, BorderLayout.WEST);    
            fme.show();
        }

    I've never used TableLayout, but here is some code for a common situation. Suppose you want components arranged like this:
    label component (say text field or button)
    label component
    label component
    import java.awt.*;
    import javax.swing.*;
    public class LayoutExample {
        public static void main(String[] args) {
            JPanel p = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.fill = GridBagConstraints.HORIZONTAL;
            gbc.anchor = GridBagConstraints.NORTH;
            gbc.insets = new Insets(0,5,0,0);
            //row 0
            gbc.gridy = 0;
            gbc.gridx = 0;
            p.add(new JLabel("label 0", JLabel.RIGHT), gbc);
            gbc.gridx = 1;
            p.add(new JTextField("field row 0", 20), gbc);
            //row 1
            gbc.gridy = 1;
            gbc.gridx = 0;
            p.add(new JLabel("label 1", JLabel.RIGHT), gbc);
            gbc.gridx = 1;
            p.add(new JTextField("field row 1", 20), gbc);
            //row 2
            gbc.gridy = 2;
            gbc.gridx = 0;
            p.add(new JLabel("longer label 2", JLabel.RIGHT), gbc);
            gbc.gridx = 1;
            p.add(new JButton("row 2"), gbc);
            //row 3
            gbc.gridy = 3;
            gbc.weighty = 100;
            gbc.gridx = 0;
            p.add(new JLabel("label 3", JLabel.RIGHT), gbc);
            gbc.gridx = 1;
            p.add(new JButton("row 3"), gbc);
            display("LayoutExample", p);
        static void display(String title, Component c) {
            JFrame f = new JFrame(title);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(c);
            f.pack();
            f.setLocationRelativeTo(null);
            f.show();
    }Resize the frame. the components remain centred horizontally but anchored to the north (that's the effect of weighty).
    Of course, your mileage may vary, but don't give up on GridBagLayout. It reminds me of that 60's song, "If you want to be happy for the rest of your life (get yourself and ugly wife)"...

  • Lay out spry menu

    I am working with Dreamweaver CS6 and I am having some problems with the spry menus.
    Is there a lay out available on which I can find which items has which name?
    E.g. ul MenubarVertical ul: which item is this in the spry menu?
    David

    Have you read the comments in the CSS file?
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
    ul.MenuBarVertical
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: 8em;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are same fixed width as parent */
    ul.MenuBarVertical li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 8em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarVertical ul
        margin: -5% 0 0 95%;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: absolute;
        z-index: 1020;
        cursor: default;
        width: 8.2em;
        left: -1000em;
        top: 0;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarVertical ul.MenuBarSubmenuVisible
        left: 0;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarVertical ul li
        width: 8.2em;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Outermost menu container has borders on all sides */
    ul.MenuBarVertical
        border: 1px solid #CCC;
    /* Submenu containers have borders on all sides */
    ul.MenuBarVertical ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarVertical a
        display: block;
        cursor: pointer;
        background-color: #EEE;
        padding: 0.5em 0.75em;
        color: #333;
        text-decoration: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
        background-color: #33C;
        color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
        background-color: #33C;
        color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarVertical iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarVertical li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;

  • Making lay-outs in Dreamweaver

    Hello;I have been studying 2 Dreamweaver learning books(and a lot of “background books“(php) the past 3 years.In one of them the author explained the different ways of using lay-outs in DW.(the “ready to go” css lay-outs,tables,etc.) However:I want to make my own designs,instead of using pre-designed lay-outs.(and tables)Therefore the possiblity of using AP divs seemed to be the best way. A disadvantage of the AP divs is,of course,that the divs are absolutely positioned,so that on a small screen the content is moving to the right. Because of the fact that making designs using AP divs,just like using a pencel or brush like a real painter does,makes designing a lot of fun(instead of playing in the plain code) I kept on using the AP divs,but instead of “position:absolute” I have changed this into “position relative”. I have also used a container in which I put all the other divs,just for keeping it all centered. At first site,it looked all fine,but when inserting other stuff,like plain tekst,extra code or images,everything went nuts,a bit like when using a table:all the divs weren’t positioned nicely anymore and I had to re-place everything again. The changes kept going on and,especially in the design-mode,it’s all messed up. So my question is: What lay-out method do you all,as experienced webdesigners,prefer to use,according to modern standards??(and still make designing a fun thing to do,without programming in the code) Of course with the use of Dreamweaver and all its toolbars,buttons and features. I really hope you have the answer for me!!! Many thanks for the help you are giving me!! Greetings igor

    Hi Again
    I tend to use whatever css based layout type I think is best suited for the design, (never tables for layout and absolute positioned items with caution, see my answer to your previous thread regarding % values) this may even include using 'trial' feature such as html 5 and css3 with jQuery or whatever.
    The thing is with layouts, is to decide how you wish your page to look and function, then work out how-to-do it, that for me is what keeps it interesting. As an example I have even experimented with using a flash swf as a resizeable background image with animation, (works, but the browser must be resized by 1px to force the swf to resize on initial load of page).
    PZ

  • Problems and Issues in Laying Out Our Journal

    Thank you to everyone who responded to my last post. On your advice, I have decided to persist in my efforts in making a template for our Law Journal using InDesign. There are several remaining issues I have though which, though small perhaps, are fairly critical. Perhaps someone might give me some guidance on this.
    I am not sure which overall compilation method I should use. Ie) Either placing the individual word documents in or making a 'book' out of the individual articles. I would use whichever method can provide for the following conditions:
    1) Continuity of page numbers. The first article should start at 1, and page numbers should NOT restart at the beginning of each article.
    2) Continuity of footnotes. Foot notes SHOULD restart at 1 at the beginning of each article.
    3) Page headers. Left side pages will have the page number and name of the Journal. Right page headers are to have the page number and the name of the current article. Would it be best to use different masters with the corresponding page headers on them? Would this maintain the above mentioned page and footnote continuities?
    4) As per usual in books, there should be no page numbers on each article title page, which should always be starting on a right page.
    5) Use of masters. Currently I have single masters pages set up for the half-title page
    So, these are the issues which I have. I don't know how to incorporate these items in the template. It is fairly important that I have a good working template in order to avoid having to re-do all this work for each volume, as the person in charge of layout will change from year to year and likely not have the time to learn the ins and outs of InDesign. Any help on these issues would be wonderful!
    Thanks!

    I lay out an academic journal. This is my method:
    Take in Word docs. Check style names to make them reasonably conform to style names in InDesign template. (They're case sensitive.)
    Word tables are imported into a separate InDesign template that makes it easier to tweak them before re-inserting into article.
    Word figures are saved as PDF/redone in Illustrator.
    In InDesign, I open a blank file from a template and place the article, mapping Word style names to InDesign style names. I fine-tweak the tables in a separate InDesign file and place those pages into these pages.
    I save each article in a separate file, make a pdf to send out for proofing.
    After the first round of proofing, which includes the authors, I make corrections and put together a book according to the TOC.
    For the second round of proofing and for production, I make a pdf of the book.
    After production, I supply individual article pdfs for archiving.
    The template has 3 master pages: one for the article opener, one (spread) for the main pages, and one for blank pages that has only the page number and no running heads. The template has 16 pages and I add pages in multiples of 4 if needed, or delete pages that aren't used.
    I did one year with the entire issue in one file, but I found the book method much more efficient. Page numbering and footnote numbering is no problem.
    best
    R_W

  • FI  TABLES FOR LAY-OUT

    hi GUYS
    i am working on FI Lay-out, and want to print product hierarchy, Sales organisation and country for Document number. plz help me to find these fields.
    selection screen is document no, company code, fiscal year.
    thanks,
    sum

    Hi,
    Kindly check the following links:
    http://www.erpgenie.com/sap/abap/tables_fi.htm
    http://www.erpgenie.com/sap/abap/tables_sd.htm
    http://www.erpgenie.com/sap/abap/tables_mm.htm
    http://www.erpgenie.com/sap/abap/tables.htm
    Check
    Billing header table:
    VBRK
    Fields: VBELN - sales doc number, VKORG - sales Org.
    Billing item table:
    VBRP
    Fields: PRODH - Product Hierarchy
    Hope this helps!
    Best regards,
    Thangesh

  • Lay out

    Hi
    Can any body tell me I have created layout for company code at customer level have given lay out name, desciption after this field section screen has come in this screen how to enter the fields, this screen is appeared in diaplay mode, this is urgent i have to add one field to this screen.(in this screen only three options are there 1.fieldafter 2.slect T/code o7z4d)
    Thanks in advance
    Prabhakar

    You can add special feilds in line items at GL level through
    SPRO>Financial Accounting (New)>General Ledger Accounting (New)>Master Data>Line Items-->Define Special Fields for Line Item Display
    For Customers/Vendors
    SPRO>Financial Accounting (New)>AR AP>Line Items>Display Line Items--> Define Additional Fields for Line Item Display Tcode O7R3
    These two are with reference to line layout dispaly.
    Reward points if useful.
    Sarma

  • GR / IR - Transaction MR11 - Change lay out

    Hello
    We are trying to extract the GR/ IR in to XL Sheet. How to extract all the data in a single line. We have header and a line item.
    The change lay out gives a warning message such that header is a mandatory . So it is always extracting in two lines
    Any suggestions
    Thanks

    HI Prashant,
    since your question is 8 month old now, i would like to know how did you proceed. did you find a way to get rid of the old items. please explain because i am facing a similar issue!
    Regards, Johannes

  • [svn:osmf:] 9829: Extending ILayoutContext with an ' updateIntrinsicDimensions' method, that the ILayoutRender uses to inform the context that context' s intrinsical dimensions may have changed because its children got layed-out .

    Revision: 9829
    Author:   [email protected]
    Date:     2009-08-31 06:38:08 -0700 (Mon, 31 Aug 2009)
    Log Message:
    Extending ILayoutContext with an 'updateIntrinsicDimensions' method, that the ILayoutRender uses to inform the context that context's intrinsical dimensions may have changed because its children got layed-out. Adding implementing code to LayoutContextSprite and LayoutRendererBase.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/ILayoutContext.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutContextSprite.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutRendererBase.as

    A slow boot time can be caused by login items.
    User Login Items:
        Flux
        NoSleep
        ClipMenu
        Canon IJ Network Scanner Selector2
        BetterTouchTool
        USBOverdriveHelper
        TotalFinder
        Gmail Notifr
    Open System Preferences > Users & Groups > Login Items
    Remove one login item noted above then restart your Mac to test. It may be one or multiple items causing the slow boot.

  • Why does ical on icloud have a different lay out than on my mac

    Why does iCal on my MacBook Pro have a different lay out than on iCloud? I like the iCloud layout better, the only missing niceties is the year calendar. How do I get both iCals to look the same? The ideal iCal? The one from iCloud WITH the year calendar.

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    Please update Firefox to the latest version via "Help > Check for Updates or Help > About Firefox"<br />
    The Firefox version that you use is no longer maintained with security and stability updates.<br />
    Using unsupported Firefox versions is at your own risk and makes you vulnerable to attacks.<br />
    *Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html

  • On iPhoto, I can no longer access the 'Classic' option which would lay out my photos on the page. It will send them as attachments only. I need the page layout for my work. Any thoughts as to why this has changed?

    On iPhoto, I can no longer access the 'Classic' option which would lay out my photos on the page. It will send them as attachments only. I need the page layout for my work. Any thoughts as to why this has changed? It used to fully lay out the photos so I could add notes and detailed information before I sent them. I am thinking it is something simple that I have just missed...

    The "Photos" view has been replaced by the Media Browser.
    Most applications will show you the Photos icon in the Sidebar, when you need to select photos in a file chooser dialoge. Mail, Safari, the iWork apps. See Terence Devlin's User Tip: How to Access Files in iPhoto
    For example, in the File > Open dialogue in Preview I am seeing this in the sidebar.

  • Problem with Checking In/Out Items in Content Area

    I've been reading the Portal On-Line help pages in regards to
    checking in/out items. The help states that when an item is
    checked out, the item is locked and a message "Checked out by:
    UserName" is displayed next to the item. When I check out an
    item, I do not see this "Checked out by" message. However, I do
    see the checkout icon. Note - I am doing this through the
    Content Area Navigation page. Is there something that I am
    missing? (I have seen other threads in regards to the
    checkin/checkout icons not displaying when the Content Area is
    published as a portlet. We are having this problem as well.)
    However, the lack of the "checked out" message happens in both
    the Content Area Navigator and the published portlet.
    Also, is there a way to get Portal to automatically generate
    version numbers when a new version of an item is created. I see
    that you can create a unique name or description .... but I'd
    like to have Portal generate the version number for me. This is
    done in the Application component section when you build forms,
    menus, or reports.
    Thank you for any assistance that you can provide.

    The "checked out by" message only appears to other users - you
    won't see it if you are the user who checked out the item.
    The version number is planned for a future release.
    Regards,
    Jerry

  • Apple TV1 has Greyed Out items in Movies programme tab

    I have two first generation Apple TV's on the same iTunes account and Wifi Network.
    Some of the items in the Movies tab are shown Greyed out even though they are selected (box ticked) they are therefore present on the Apple TV.  However these items cannot be De-selected (to remove them from) Apple TV to allow alternative selection to be made.
    The items are all selected in the Movies List in iTunes.  There does not appear to be any link with the original source (either purchased from App store or captured from EyeTV) items of both types appear affected.
    Any suggestions how this can be solved?

    I finnally figured this out. 
    The greyed out items are selected by the initial selection:
    In Movies tab this is as follows:
    ☑ Automatically include  〖  5 most recent  ⇕  〗  movies along with selected movies.
    Similar range selections have the same effect with the other media tabs:  TV Shows, Podcasts, iTunes U and Photos.
    The only way these selections are added or removed is with this range selection.
    I couldn't find this documented anywhere, unless  someone else can provide a link.

Maybe you are looking for