Which layout for this?

Whis layout manager should I use for this type of gui? Any details about how to set it up would be aprreciated as well.
http://www.kommi.com/images/fetch-panel.jpg

which layout for this?You are not restricted to a single Layout Manager. Mix and match to get the desired effect.
For example maybe start with a BorderLayout. Add one panel to the West and the other panel to the Center. The West panel might use a GridLayout. The Center panel might use a BorderLayout, then add the text area to the center and the progress bar to the south.
Read the tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]How to Use Layout Managers and experiment for yourself.

Similar Messages

  • Data aggregation: which solution for this case ?

    Hi all,
    I have a fact table where measures are referred to a single year. Outlining, something like this:
    year quantity
    1998 30
    1998 20
    2000 70
    2001 20
    2001 20
    I would to build a cube and then to analyze "tot.quantity for each year" but don't want aggregate "tot.quantity for all year".
    I haven't in my source database the "Year dimension" to mapping on year field.
    Do you have some suggestions on how to implement this and how to build cube using AWM tools (Year dimension and relative levels/hierarchies)?
    thanks.

    I am not sure I fully understand what you are trying to do, but from the example below you could create a single dimension called Year with one level of Year, add a hierarchy containing only one level, create a cube dimensioned by year and then map the table you have described below to the cube. As there is only one level in the dimension, no aggregation would performed by AWM.
    For the mapping you will need to create a view over your source table as follows:
    CREATE VIEW FACT_VIEW AS SELECT, YEAR, SUM(QUANTITY) FROM TABLE GROUP BY YEAR
    because AWM does not support an additive data loading model (surprisingly the API actually does but this is not exposed in AWM). You can only provide a single row for each dimension member. If you present multiple rows then the last row wins which in your example would result in the following data being loaded into AWM:
    1998 20
    2000 70
    2001 20
    If you create the view as shown above you should get the following data loaded:
    1998 50
    2000 70
    2001 40
    which is what I think you want?
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Which LayoutManager for this topic

    Hi there!
    I'm trying to arrange 3 JPanels in a JFrame like this:
    +------------------------+----------+
    |  panel1                | panel2   |
    +------------------------+----------+
    |                                   |
    |  panel3                           |
    |                                   |
    |                                   |
    +-----------------------------------+On a resize, I want to maintain the relative size of the single panels, e.g.:
    panel1.height = 1/4 of frame.height
    panel3.height = 3/4 of frame.height
    and the same for the widths of panel1 and panel2.
    What layoutmanager would you recommend?

    package gui1;
    * LayoutDemo.java
    import java.awt.*;
    import javax.swing.*;
    public class LayoutDemo extends JFrame {
        private JPanel jPanel1, jPanel2, jPanel3, jPanel4;
        public LayoutDemo() {
            super("Layout Demo");
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setSize(400,300);
            setLocationRelativeTo(null);
            GridBagConstraints gridBagConstraints;
            jPanel1 = new JPanel();
            jPanel2 = new JPanel();
            jPanel3 = new JPanel();
            jPanel4 = new JPanel();
            jPanel1.setLayout(new GridBagLayout());
            jPanel2.setBackground(new Color(255, 255, 204));
            gridBagConstraints = new GridBagConstraints();
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = GridBagConstraints.BOTH;
            gridBagConstraints.weightx = 2.0;
            gridBagConstraints.weighty = 1.0;
            jPanel1.add(jPanel2, gridBagConstraints);
            jPanel3.setBackground(new Color(204, 204, 255));
            gridBagConstraints = new GridBagConstraints();
            gridBagConstraints.fill = GridBagConstraints.BOTH;
            gridBagConstraints.weightx = 1.0;
            gridBagConstraints.weighty = 1.0;
            jPanel1.add(jPanel3, gridBagConstraints);
            jPanel4.setBackground(new Color(255, 204, 204));
            gridBagConstraints = new GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 1;
            gridBagConstraints.gridwidth = 3;
            gridBagConstraints.gridheight = 3;
            gridBagConstraints.fill = GridBagConstraints.BOTH;
            gridBagConstraints.weightx = 3.0;
            gridBagConstraints.weighty = 3.0;
            jPanel1.add(jPanel4, gridBagConstraints);
            getContentPane().add(jPanel1, BorderLayout.CENTER);
        public static void main(final String args[]) {new LayoutDemo().setVisible(true);}
    }Message was edited by:
    Andre_Uhres

  • Which datastructure for this issue

    Hello there!
    Starting point as follows:
    I have a class Track. This Track consists of a bunch of Sectors.
    Each Sector consits of a start point (x1,y1) and an end point (x2,y2).
    For two successive Sectors s1 and s2 it follows, that:
    s1.x2 +1 == s2.x1We have something like that:
    s1.x1->s1.x2 -> s2.x1 -> s2.x2 -> s3.x1 -> ...
    Now I have two demands, which should be accomplished very efficiently:
    1) I want to access a specific Sector by its x-coordinate, i.e. something like that:
    track.getSector(xCoordinate) where xCoordinate lies between x1 and x2 of the wanted Sector.
    2) I want to sequentially traverse through the Track. In particular, I want
    start at a specific Sector. Sometimes at the first Sector, more often at some Sector in the middle.
    These demands are crying for a B* tree (or B+tree) with the x-coordinate as index and the leafs as the actual Sector-objects.
    Unfortunately, Java didn't serve any B*tree implementation. So I was wondering, if I could achieve my goals through a "supported" datastructure, maybe a TreeMap or something out of the Collection Framework.
    Unfortunately the second, I haven't much experience with TreeMap and his friends ;-)
    What would you recommend? Are you d'accord with my tendency toward B*trees or do you have another idea?
    Thanks!

    Well. I went to sleep too early, I guess :-)
    Thanks so far for the answers:
    @hunter9000:
    Is the second coord. of one sector always the same as the first coord of the next?Yes, it is.
    Which x will you use to retrieve a Sector, the first one or the second one?I need to use both. The problem is this: I have a x coordinate, i.e. a vertical line that cuts through my track and I need to have the Sector where that happens.
    @prometheuzz :
    Yes, that's what I want.
    @BigDaddyLoveHandles:
    Thanks, I will take a look at it. I didn't know the NavigableMap so far. I'll check it out.
    @marlin314
    You have a data structure, B-tree... No, I haven't. But I thought it would be ideal.
    ...you are not allowed to build a B-tree and must instead kludge something together our of say, a HashMap, which you don't understand.Well, I am allowed, but I would have to do the impl of the B-tree on my own or I would have to search one via google. As I wrote, I'm no expert of the Java Collection Framework and I wanted to know if it already brings some solution along.
    In any case, a B-tree is NOT what you want. Yeah, you're right. I didn't thought of the sector-x-coordinates beeing sorted. A B tree would bring no extra efficiency.
    (which you will have to write yourself) And how do I start with this the best? The algorithm is clear, I think. But I don't know where to start. Should I extend some existing List, e.g. ArrayList and only overwrite some methods or what? What is the most clever way to do that?

  • Which pattern for this scenario ?

    Hi all,
    I have an EJB which connects to an external system (written in Perl) using plain HttpConnections and posting HTML content.
    I would like to centralize this access using a design pattern.
    Which pattern is would fit this scenario ?
    I wonder if I should use the Adapter pattern or the Bridge Pattern.
    What do you say to it ?
    Thanks
    Francesco

    I'd kind-of guessed it was uni work :-)
    in all honesty, I wouldn't even approach the problem from a patterns perspective. all I see is a subsystem I don't want to deal with directly, so I define an interface to hide it behind. could argue that it's an Adapter, since it's taking the Http interface and abstracting away from it, to a java one. on the other hand, since mucking around with Http in java isn't exactly straight-forward, you're defining a more simple interface, so it could be considered a facade. which do you think is closer?
    most people, once au fait with design patterns, think less in terms of those patterns, and more in terms of what OO principles to apply. score some extra credit by writing a passage about how design patterns are not prescriptive, and that many coders lift ideas about encapsulation and separation from patterns, rather than use the pattern exactly as described.

  • Change layout for report

    Hi,
    I am having trouble selecting the 2nd layout as my default layout for this particular report.
    What could be the issue?
    Thanks,
    Regards.
    Aziz

    Hi Aziz,
    You will not be able to Make 2nd Layout as default from Report and Layout Manager.
    You need to run Warehouse Report and After Warehouse Report Result appears then you need to Click on Layout Designer from Menu Bar.
    When Click on Layout Designer for Warehouse Report Result then on you will be able to make 2nd Layout as default for Warehouse Report.
    Please check below Snapshot.
    Hope this help
    Regards::::
    Atul Chakraborty

  • Global ALV Layouts for Costing report

    For   T code  S_P99_41000111 ie Analyse / compare material cost estimate  , I  want to create a global ALV layout  .
    When I am trying to create the layout option  for user specific layout comes with tick greyed out .System does not allow to remove the tick so that I can create global layout  .
    With this option I cannot create a Global layout .
    Can anybody help me with this so that I can create global layout .
    I checked with security team & they gave me SAP_ALL authrisation but still it does not work .
    Is it that SAP has allowed only user specific layouts for this T code  S_P99_41000111 ie Analyse / compare material cost estimate  .
    Or is this authorisation issue .
    Thanks
    Manoj

    Hi Manoj,
    Have you already tried configuration transaction OKN0?  There is a
    field called 'shared' in Layout Visibility. Do an F1 over this field for more info.
    Regards,Declan

  • Default Layout for Z.transaction codes

    hi,
    we copied the FAGLL03 progamre and we made ZFAGLL03 becz there is a some reqirement from client.
    we want set the defalut layout for this T.Code ZFAGLL03, 
    For this we save the layout and assign in FB00, then also when we excute the programe , it is not comeing the defalut layout .
    what is process to set the defalut layout for Z T.Codes.
    Regards,
    Balu.K

    Hi,
    The default layout for the report cannot be done through FB00. You need to take help of an abaper. Similar to FAGLL03, you should have an icon to change and save layout for the report. If the icon is not present, an ABAPer can include it. Once the icon is available, you can change the layout and set it as default or user specific.
    Hope this helps.
    Thanksa and Regards,
    Anit

  • 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.

  • When trying to update  Apps in iTunes on my computer my old Apple ID appears, which is no longer in use and has no password; even when I try to create a password for this Old ID, Apple won't let me. When I go into see my Account settings My new Apple ID /

    When trying to update  Apps in iTunes on my computer my old Apple ID appears, which is no longer in use and has no password; even when I try to create a password for this Old ID, Apple won't let me. When I go into see my Account settings My new Apple ID / iTunes ID are listed and the passwords are correct obviously so why can't I update my Apps?   Why does my Old apple ID keep appearing and how can I get Apple to change this?

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

  • Is there a way to print from ipad 4 to a non AirPrint printer? I have a Canon Pixma MP 620 wifi which works fine with my PC but I don't want to buy a new printer. Is there an app for this or adaptors which could work?   thank, Ric

    Is there a way to print from ipad 4 to a non AirPrint printer?
    I have a Canon Pixma MP 620 wifi which works fine with my PC but I don't want to buy a new printer.
    Is there an app for this or adaptors which could work? 
    Thank, Ric

    Printopia is another option but be aware that since these solutions effectively act as a print server and AirPrint receiver, they require a computer to be running on the same WiFi network.
    Canon also has a couple of apps in the App Store that might facilitate this on non-AirPrint printers. Check out...
    Canon Easy-PhotoPrint
    Canon Mobile Printing
    PIXMA Printing Solutions

  • I bought a MBPro which came with Lion installed,i also wanted to have a copy of installation disc so i used mac app store.Normally if an app is already bought there is a warning or a sign that informs the buyer.I've charged for this download is it normal?

    Hi ,i bought a MacBookPro which came with Lion installed on it (i have registered my mac book pro right after i bought it), i also wanted to have a copy of the installation disc in case of a crash, so i used mac app store to get it.Normally if an app is already bought (for iphone app store) there is a warning or a sign that informs the buyer, than the app store lets the buyer to re-download/re-install the app.I've charged for this download afterwards, because i was using virtual credit card, there was not enough money transferred to that card during that download but the app store let me download it anyway. I haven't charged before the download, the app store first let me to download it then it requested that amount of money for next download wich it was a free app. Can anybody enlight me? thanks

    Hi ...
    i also wanted to have a copy of the installation disc in case of a crash
    If you have problems with your Mac you use Lion Recovery
    However, you can create your own installation disc >  How to create an OS X Lion installation disc | MacFixIt - CNET Reviews
    Since Lion came pre installed on your Mac, the App Store doesn't not recognize that as a purchase so you if you want to re download Lion to create a boot disk you will have to pay for it. You can then re download Lion on all your authorized Macs for free.

  • HT203052 How do I delete an icloud account which uses an email account no longer in use - I do not have the the passwrd for this account

    How do I delete an icloud account which uses an email account no longer in use - I do not have the the passwrd for this account

    You will need the password. If you can't get it reset via http://iforgot.apple.com (if you remember the answers to the account's security questions then you should be able to reset it via them) then try contacting Support in your country, they should be able to reset it.
    Contacting Apple about account security : http://support.apple.com/kb/HT569
    If your country isn't on that page then try this form and explain and see what they reply with : https://ssl.apple.com/emea/support/itunes/contact.html

  • I want to submit a grant application at Pepsi refresh, however they recommend Firefox 3, 3.5 or 4 - not 3.6, which is what I'm using on my Mac 10.4.11. Can I download another version of Firefox so I can apply for this grant?

    I want to submit a grant application at Pepsi refresh, however they recommend Firefox 3, 3.5 or 4 - not 3.6, which is what I'm using on my Mac 10.4.11. Can I download another version of Firefox so I can apply for this grant? How can I do this?

    If you want to add a new user-agent into User Agent Switcher, you go into preferences > New. Most of the blanks are filled in already, so just change the Mozilla revision number that will be at the end of the User Agent line. To fake 3.5.19, just change rv:1.9.2.19 to rv:1.9.1.19. For the description, put in "Firefox 3.5.19".

  • I bought my iphone 5 in Houston Texas May 15 2013 IMEI Nr. 013428009645399.The problem is that in the Greece the country which I live the 4G is not working.If you have any solution for this problem pls. let me know.My email is philcoueth@yahoo.gr Thank yo

    I bought my iphone 5 in Houston on May 15 2013.
    IMEI 013428009645399.The problem I have is that in the country
    which I live GREECE the 4G is
    not working.Please if you have any solution for this
    problem let me know.My email is [email protected]
    Thanking you in advance
    Philip Couridis

    iPhones purchased in the US are NOT guaranteed to work with 4G bands outside of North America.
    For what crazy reason did you purchase an iPhone in the US if you live in Greece?  If your phone needs servicing, it will have to be brought back to the US.  You cannot get that phone serviced in Greece.

Maybe you are looking for

  • Purchased a Movie, which has just disappeared - PLEASE HELP!!!

    I really need some help here please, A few hours ago, I purchased a Movie from the iTunes store which took 3 hours to download to my iPod touch which cost £6.99. A soon as it finished, I took then plugged it into my PC to transfer the purchase to my

  • How to insert multiple list item as separate records

    I have a form with a list field in which user can select multiple item <select multiple="multiple"><option value></option></select>. My problem is that I don't know how to do an insert sql operation that puts every selected item on the list field int

  • Doesn't even turn on

    I woke up this morning to find that the light on my express would go from amber>green>flash green once>amber>black/blank. I still have my warranty on it but I was wondering if there is any way I can fix it... PLEASE HELP!   Mac OS X (10.4.7)   iBook

  • Printing pictures with intel imac

    I have a 24" imac with an hp8150 printer, evertime I print a picture it turns out green and dark not showing the true colors of the picture, I am a little new to macs and printing, so I am not sure what to do, I win xp installed in boot camp and prin

  • Hot to get the Cost(Rollup) for an ATO Item

    Can any one let me know how to get the rollup cost for an ATO Model. I have created an ATO and through Ordermanagement I created an SO and configured an Assembly now I want to know what is the cost for the New assembly which got created with sales or