Merging sections of a gridlayout

I want to put a JPanel in the center of a JFrame without it taking up the whole Jframe. Can I put it on a gridlayout by somwhow merging all the sections of the centre of the gridlayout, or does someone have a better idea as to how to do that??

Just thought of something else (read better):Container cp = getContentPane ();
cp.setLayout (new GridBagLayout ());
cp.add (yourPanel, new GridBagConstraints ());Kind regards,
  Levi

Similar Messages

  • Merging sections in Garageband for iPhone

    In Garageband for iPhone, I made a song and got to section 10, and then it told me I can't add any more sections. Is there any way to merge sections, or do I have to just delete them and recreate them in longer sections?

    Looks like saving the ringtone to your desktop saved the ringtone as a music file. What is the file extension for the ringtone to saved to your Desktop?
    Per the instructions included with this link, you need to use send ringtone to iTunes from the GarageBand Share menu.
    http://support.apple.com/kb/HT1358
    Try doing this followed by exporting or saving the ringtone from iTunes.

  • Merge Sections

    I'm learning Pages and love it, however I have a training document with sections between nearly every page. I want to merge several pages into one section and cant figure out how. I also want to create a TOC however I only have insert blank section in the add sections menu.
    Second question - Is Sections with TOC the best way to create a HUGE training document? Or multiple page files?

    Do you have a document in Word processing or Pages Layout mode (tells you to the right of the document name)?
    If WP mode you can delete the section breaks. Turn on Show invisibles in the view menu so you can see them to select them-
    If you have Pages Layout mode each page is a section and can't be changed.

  • In upgrade of OBIEE 10g to 11g does one have to merge the RPD.

    In Oracle's documentation they mentioned that the RPD and catalog need to be merged (Section 3.22 and 3.23) . However, i have successfully run upgrade assistant to upgrade the old catalog and rpd. Is there still a need to do the merges.
    http://itwiki.ccci.org/confluence/download/attachments/48922656/e19040_obia_upgrade_guide.pdf

    HI Jay,
    We cannot explained thread list here, If you get any errors plz post me,will try to help out.
    This is oracle document link - This document has given step by step with screen shots upgration for 10g to 11g ,Please refer the below link.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/upgrade/upgrade_to_11g.htm
    http://obieemanu.blogspot.in/2011/05/rpd-upgration-from-10g-to-11g.html
    http://docs.oracle.com/cd/E21764_01/upgrade.1111/e10125/ua_command_line.htm#ASMAS149
    Award points it is useful.
    Thanks,
    satya

  • Indesign CS3 Data Merge "Merge Records" Command. Help?

    I'm looking to automate the merging of a mountain of records. I have 587 tab-delimited text files with 40 records each. I want to process these via Data Merge using a single pre-designed template with built-in placeholders and variable data fields, including a variable barcode graphic. In the end, I want to create 704 multi-page, 6-up per page, indesign files with merged data, and 704 multi-page PDFs.
    Here's where I am at. Using a combination of AppleScript, TextWrangler and InDesign CS3, I am able to set up a loop where I can open the single template, save it to a new file with a new name, change its data source to the appropriate text file, and as a test, make a PDF of the template using the correct export preset. What I cannot seem to do is get the template to perform a "Create Merged Document...".
    In InDesign CS3's AppleScript dictionary there is a command called "Merge Records" under the Data Merge section. It appears to do exactly what I am after. But when I try to use it (and the good Lord knows I have tried numerous permutations), it only returns errors like "Adobe InDesign CS3 got an error: active document doesn't understand the merge records message."
    Anyone know what I am doing wrong? I have set up a separate AppleScript for testing purposes that opens up the template, saves it under a new name, and attempts a "merge records" command. Here it is. Maybe someone smart out there can tell me what I am doing wrong.
    set templatePath to "Welch_Jobs:0_JOBS:280019_Churchill:WPC FILES:Workup:280019_6up_master template.indt" as text -- the main template file that will be modified, saved with a new name, then merged with its data to create a new merge file
    set newTemppath to "Welch_Jobs:0_JOBS:280019_Churchill:WPC FILES:Workup:goody.indd" as text
    tell application "Adobe InDesign CS3"
    open file templatePath
    tell active document
    save to newTemppath
    merge records
    end tell
    end tell
    I have this feeling that this is a command that is actually unsupported. Google searches have been fruitless except for one poor soul who can't get it to work either. I have, however, seen that a similar JavaScript command exists called "DataMerge.mergeRecords". If it is impossible to do this via AppleScript, is it possible to make a JavaScript that will do it, and access the JavaScript with a "do script" command in the main AppleScript? If so, how would I accomplish this? What whould the JavaScript look like, and where do i need to put it?
    I would greatly appreciate any help you, dear reader, can give me on this.

    Well, did you look at the dictionary?:
    merge recordsv : Merges records and produces an optional overset report.
      merge records
    data merge
        output overset report file alias or
    text] : The path to the file in which to store the overset report.
    Note also that it's part of the Preferences Suite, not the Datamerge suite. Do you see differently?
    Anyhow, you're clearly not calling it with a data merge parameter.
    I also have a suspicion that it needs to not be inside a "tell active document" but it probably doesn't matter.
    But my AppleScript is rusty.

  • Mail merge in Word for Mac

    I am trying to create a mail merge of labels from a specific contact list.  To create the labels I am using Word for Apple.  I can get as far as the merge section but instead of the various names and addresses on one page (divided in the specific label sections) I get one name and address on each single page.  Essentially what I am trying to do is put all these contacts on address labels which I can then peel off and use them to address my Christmas cards.  Can anyone give me directions?
    Thanks!

    Make a document with a Page Break after each row of labels.
    Or if my memory serves me a Section Break might also work.

  • Is it possible to merge 10 BI reports using one key?

    BI reports are based on Opportunity Id, and each report contains 5 different Ids, hence 1 single report will be splitted in 5 different reports based on Opty Id it has. Now for the same Opty Ids it does have different reports as well, so for 1 Opty Id if there will be 10 different reports, then all those reports should be merged in a single PDF.
    In the "PDF Document Merger" section, no such functionality is mentioned to split the report based on a Key and then merges them. The requirement is to merge the reports in a single PDF File only, based on the Opty Id. As Customer has explained , they have 5 different reports, and 2 Opty Ids. So their final expected outcome is 2 reports by Opty Id, whereas each report will contain 5 different reports one below the other in a PDF file and print them.
    Please advice how to proceed.

    i would set up a report, or more if you have more levels of reporting.
    have it take the parameters you are splitting and then merging on.
    from jdeveloper, write a webservice app that will:
    a create a recordset of the parameters you want to pass to the reports.
    loop through the recordset and run each report.
    put the output file names into an array (or an inputsteam array).
    feed that array into pdfDocMerger.
    you can optionally renumber and password protect as well.
    then you create a script that runs the java program

  • Sending email using IMAP through SMTP Port 587

    Hi,
    I have been sending Mail Merged email to people in organizations that I am active in, using IMAP embedded in StarOffice 5.2 (on Windows 98 Second Edition). This worked fine until a few weeks ago when I received an error message stating that AOL, as part of their anti-spam efforts, was no longer accepting third-party emails on default port 25. All third-party email must now use port 587. I looked in the IMAP dialog and in the Tools -> Options dialog, but did not see any place to change the SMTP port. The AOL error message information page had instructions for changing the port in other applications (Outlook, Eudora, etc.), but not for StarOffice. So, I have some questions:
    1.Is it possible to change the port in StarOffice 5.2?
    2.If not, how does StarOffice 8 send Mail Merged email? Does it use IMAP, and if so, can the port be changed?
    3.Also, I like the integrated configuration in StarOffice 5.2, where database fields can be directly accessed in the Insert -> Fields -> Other dialog. In looking at the Mail Merge section in "SO8_What's New.pdf", it appears that Mail Merge in StarOffice 8 is restricted to predefined fields. Could I still access fields from my existing databases?
    These is a lot of questions, but right now I am blocked from sending Mail Merged emails which is imparing communications with volunteers who are running educational programs. I appreciate any and all help that anyone can provide.

    Please try this out!!!!!!!!!
    You can send emails using Outlook also. You can send email over Microsoft Exchange with this object (or another email server, using IMAP/POP).
    Sub SendMailOutlook(aTo, Subject, TextBody, aFrom)
    'Create an Outlook object
    Dim Outlook 'As New Outlook.Application
    Set Outlook = CreateObject("Outlook.Application")
    'Create e new message
    Dim Message 'As Outlook.MailItem
    Set Message = Outlook.CreateItem(olMailItem)
    With Message
    'You can display the message To debug And see state
    '.Display
    .Subject = Subject
    .Body = TextBody
    'Set destination email address
    .Recipients.Add (aTo)
    'Set sender address If specified.
    Const olOriginator = 0
    If Len(aFrom) > 0 Then .Recipients.Add(aFrom).Type = olOriginator
    'Send the message
    .Send
    End With
    End Sub

  • Best way to update a PRA file with changes to P6 schedule?

    Hello,
    I've spent some time looking at user manuals and video tutorials to try and become familiar with how to use Primavera Risk Analysis. I come from an @RISK user background so there were some concepts that were a little different between the two applications.
    One thing of particular interest to my company is how to use PRA with a constantly evolving and updating P6 project schedule? I know there are ways to import/export user defined fields to store the min/most likely/max values for each task. I also know that the risk register can be imported/exported from Excel. My concern can perhaps be demonstrated by this example (based on my current understanding of PRA and P6)
    1. Start PRA and import a copy of a P6 schedule. This is not a "live" link but rather a copy made for use with PRA.
    2. Set-up the risk register, link to project tasks. Set-up activity min/most likely/max, assign to a distribution (triangle)
    3. Run Monte Carlo simulations, review results etc.
    4. At this point I could export the min/most likely/max durations back to P6 as user defined fields and I could update the duration in P6 with the most likely. I'm not sure what would happen with risk activities that created new project activities but I assume they would import as new tasks to P6?
    After going through steps 1-4, the P6 schedule might continue to evolve further with new tasks, new dependencies, new durations, etc. At some point, I may be asked again to perform another risk analysis on the project and here is where my question comes in: Do I have to start all over and import everything into a new PRA? I know that I could get the min/max most likely from P6 user defined fields, I know I could import the risk register from Excel but are there other things that I would lose by having to start over (for example, links between risks in the risk register and the tasks in the P6 schedule?) Or... is there a way to re-use an existing PRA file and update the P6 schedule while preserving the info (like risk register, etc.)?
    Thank you for your reply

    >
    This method works but is there an easier (faster) way to update another table with new data only?
    >
    Almost anything would be better than that slow-by-slow loop processing.
    You don't need a procedure you should just use MERGE for that. See the examples in the MERGE section of the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm
    MERGE INTO bonuses D
       USING (SELECT employee_id, salary, department_id FROM employees
       WHERE department_id = 80) S
       ON (D.employee_id = S.employee_id)
       WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01
         DELETE WHERE (S.salary > 8000)
       WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
         VALUES (S.employee_id, S.salary*.01)
         WHERE (S.salary <= 8000);

  • Best way to update a table with disinct values

    Hi, i would really appreciate some advise:
    I need to reguarly perform a task where i update 1 table with all the new data that has been entered from another table. I cant perform a complete insert as this will create duplicate data every time it runs so the only way i can think of is using cursors as per the script below:
    CREATE OR REPLACE PROCEDURE update_new_mem IS
    tmpVar NUMBER;
    CURSOR c_mem IS
    SELECT member_name,member_id
    FROM gym.members;
    crec c_mem%ROWTYPE;
    BEGIN
    OPEN c_mem;
    LOOP
    FETCH c_mem INTO crec;
    EXIT WHEN c_mem%NOTFOUND;
    BEGIN
    UPDATE gym.lifts
    SET name = crec.member_name
    WHERE member_id = crec.member_id;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    END;
    IF SQL%NOTFOUND THEN
    BEGIN
    INSERT INTO gym.lifts
    (name,member_id)
    VALUES (crec.member_name,crec.member_id);
    END;
    END IF;
    END LOOP;
    CLOSE c_mem;
    END update_new_mem;
    This method works but is there an easier (faster) way to update another table with new data only?
    Many thanks

    >
    This method works but is there an easier (faster) way to update another table with new data only?
    >
    Almost anything would be better than that slow-by-slow loop processing.
    You don't need a procedure you should just use MERGE for that. See the examples in the MERGE section of the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm
    MERGE INTO bonuses D
       USING (SELECT employee_id, salary, department_id FROM employees
       WHERE department_id = 80) S
       ON (D.employee_id = S.employee_id)
       WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01
         DELETE WHERE (S.salary > 8000)
       WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
         VALUES (S.employee_id, S.salary*.01)
         WHERE (S.salary <= 8000);

  • Best way to calculate maximum of many columns/values per row

    Hello,
    for a new report with some joined tables I have to calculate the last change date. Since every table has a creation and a (last) modification date, I need to get the maximum value from 8 columns to display it.
    Of course I can compare all values by pairs or create a PL/SQL function. But maybe there already exists a fast and easy way to gain this date?
    My query so far. Each of the tables has a cr_date and mod_date column:
    SELECT
        egvg.baugruppe_nummer || egvg.anlagennummer || egvg.geraetenummer AS systemnummer
        , '=' || egvg.baugruppe_nummer || egvg.anlagennummer || egvg.geraetenummer AS systemnr2
        , egvg.gebrauchsname AS gebrauchsname
        , NVL2(egvr.raumkode, '+' || egvr.raumkode, NULL) AS raumkode
        , egvg.lieferant AS lieferant
        , CASE egvgs.kabelanschluss WHEN 1 THEN 'ja' WHEN 0 THEN 'nein' ELSE NULL END AS kabelanschluss
        , egvges.nennleistung_kva AS nennleistung
        , NULL AS letzte_aenderung
        , CASE WHEN egvg.status_id = -1 THEN 'GERÄT GELÖSCHT' WHEN egvges.status_id = -1 THEN 'EDATEN GELÖSCHT' ELSE NULL END AS status
      FROM
        egv_geraete egvg
        LEFT JOIN egv_geraetestamm egvgs ON egvgs.id = egvg.geraetestamm_id
        LEFT JOIN egv_geraetestamm_edatenstamm egvges ON egvges.geraetestamm_id = egvgs.id
        LEFT JOIN egv_raeume egvr ON egvr.id = egvg.raum_id
        LEFT JOIN egv_edaten_sfp egvsfp ON egvsfp.id = egvges.sfp_idThank you,
    Stefan

    >
    This method works but is there an easier (faster) way to update another table with new data only?
    >
    Almost anything would be better than that slow-by-slow loop processing.
    You don't need a procedure you should just use MERGE for that. See the examples in the MERGE section of the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm
    MERGE INTO bonuses D
       USING (SELECT employee_id, salary, department_id FROM employees
       WHERE department_id = 80) S
       ON (D.employee_id = S.employee_id)
       WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01
         DELETE WHERE (S.salary > 8000)
       WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
         VALUES (S.employee_id, S.salary*.01)
         WHERE (S.salary <= 8000);

  • Create temporary table to physical table.

    i have created one physical table using temporary table. columns are like this create hi table as(no number, name varchar2(20), da date));
    again do some transaction in my DB i need insert the temporary table values to physical table IF the no,name,date is same add the values into table.

    What is your 4 digit Oracle version?
    You can use a MERGE to do that
    MERGE INTO permTable P
       USING (SELECT a, b, c FROM tempTable) T
       ON (P.no = T.no AND P.name = T.name AND P.da = T.da)
       WHEN MATCHED THEN UPDATE SET P.a = T.a, P.b = T.b, P.c = T.c;See Merging into a Table: Example at the end of the MERGE section in the SQL Reference
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm

  • Tablix within a tablix

    Hi, 
    I'm having some issues with a tablix within a tablix.
    This is the dataset I'm using:
    Shop id
    -------Visit date
    ------------Task 1   #completed
    ------------Task 2   #completed
    ------------Task3    #completed
    -------Visit date
    Shop id 
    What I'd like to get is a tablix like this:
    Shop id  ...
    ------------------ Task 1  Task 2 Task 3 
    -------Visit date result  result result  Total
    -------Visit date result result result   Total
    ------------------------Total    ...       ....      ....
    Shop id ...
    Where Shop id is the parent grouping and Visit date is the child grouping. The child grouping (the whole tablix within the parent tablix should be hidden and the display of it should be toggled by the Shop id).
    How far I got?
    Issue 1
    --> Parent grouping and child grouping are based on the parent tablix. The row of the child grouping is merged into 1 big cell. A rectangle is placed in this merged section and then the second tablix is placed inside it.
    --> However, because Task is a column grouping in the second tablix it expands when a report preview is shown and hence my parent tablix is stratched horizontally.
    Issue2
    --> Once the two tablixes are merged I cannot make the toggled visibility of the second tablix work. I receive the next error:
    "An irem with the same key has already been added"
    --> I assume that's because both are based on the same data set?
    Any help with this would be much appreciated.
    Thanks in advance

    Hi LiskieWhisky,
    Per my understanding that you want to display the field which comes from the same dataset into two tablixs and  the second tablix is added to an rectangle, this rectangle will be added into the tablix1, you have hide the rectangle to display can be
    toggled based on the field "Shop", right?
    I have tested on my local environment and your issue can be caused you haven't set the drilldown action correctly, please reference to the details information below to make sure you have done the correct settings:
    Create the tablix2 which is the matrix and drag the tablix into a rectangle
    Create t he tablix1 which only contain the field "shop" and drag the rectangle in the the second column and click the details under the row group to add the group on "Shop" like below, then the rectangle will display based on the shop
    group:
    Set the Visibility of the rectangle like below and preview you will find find the drilldown action works fine:
    hidden:true
    ToggleItem:Shop
    If your issue still exists, please try to provide the snapshot of the unexpectted result you are currently got and more details information about the expect layout and so on.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Propblem when exporting midi files

    Hello,
    When I select a midi sequence (made of 50 regions for ex) and export it - when I open it back, ALL my regions show up but in 50 different tracks.
    How can I export them so that ALL lined-up on the same track? Urgent.
    Many thanks in advance..
    Sbgb

    It's very simple.
    1. Select all the tracks you wish to export to a midfile.
    2. Go to the Region menu, then the Merge section and hit "Merge regions per tracks".
    That should do the job.
    Damian.

  • Office 2010 mail merge with section breaks printing problem

    Afternoon all,
    We have an issue and I was wondering if anyelse has come across this and has a solution
    Our office staff do many mail merges and once the merge is complete they then can print the whole document with no problems or select one page and do print current page. The problem occurs when trying to print a range i.e. pages 5-7. Once you click print nothing happens, no errors and nothing comes out the printer.
    What I have found is that the mail merge is putting in section breaks between each page to seperate them but if I change these to page breaks in the document then I can select pages 5-7 and it prints with no problems.
    So the only solution I have found so far is to do a find/replace and find all ^b (section break) and replace with ^m (page break). This is obvioulsy takes more time and is a pain if we have to do this for every mail merge.
    I can't find any setting in the mail merge to tell it to use page breaks instead of sections breaks
    Has anyone else come across this probem, is it a office bug ???
    Any help would be great
    Darren

    John,
    Replying to your posts works just fine. You can choose to reply to either of the other posts & address both in your comments just as you did. I see quite a few threads where the OP (original poster) posts a reply to each & every one who has replied. I think it makes it very difficult to find the actual answers.

Maybe you are looking for

  • Video filters screen setup

    Hello All, Help please... I have tons of filters/plugins. When I open my video filters screen (from the effects window), I always have to arrange my window so that I can see the majority of the filters. Is there a way to have this setup when launchin

  • When iOS 8 came in Saudi Arabia ?

    When apple came new generation in Saudia Arabia . is apple update all  Product . and what abut the old one . IS 9 september 2014 is date the iOS 8 prod in the market or . IS is apple update for all user or customer and computer. is the problems shade

  • Making the font in the output window bigger

    You know when you run a console application and you're looking at the output in the output window at the bottom, the typeface is a little small. Is there a way to change that to a bigger font?

  • CSA Queue problems

    Hi Gurus, I need some recomendation to improve the CSA´s queue processing in CRM system. The only applications set in CRM is Marketing Planning, Promotion, Segmentation and Master Data (Customer and Products). Well, I set up Middleware to transfered

  • Update BPEL Process

    Is there a way to update the default design-time property (expiration date) of a BPEL Process human task prior to it being instantiated via an API call? How would you update multiple human tasks' expiration date for a single BPEL Process instance? Th