Center a cell in custom package

Is there a way to center a cell in a custom package with precision?  I just want to place one cell in the exact middle of the page.  Eyeballing it even with the grid isn't accurate enough.

this works for me.
public class MyJcustomEditor extends DefaultCellEditor {
public MyJcustomEditor(JTextField tField) {
super(tField);
setClickCountToStart(2);
}

Similar Messages

  • Bug in Print Module, LR3.6, custom package

    Hi everybody,
    After two days of unequal fight with Print Module bug I hope I finally pinned it down.
    Hope it saves someone time
    I have my photos usually cropped in DSLR format (2:3)
    Printing I use often two popular formats 13x18cm and 15x21cm that are close to 5:7 (first one is 5x7in)
    Initially I was using virtual copies and had them cropped to 5:7 format.
    However this makes a little mess in my workflow and it's time consuming. 
    What I found was Custom Package in Print Module.
    Having cell with target size I drag desired photo into the cell and using cmd-key drag this foto to have proper look as the width target format is smaller. So far so good, but ...   
    From time to time printed photo looked totally different from what I saw on-screen. 
    First of all there are couple threads about that problem. I visited them but they remain unanswered
    http://forums.adobe.com/message/3344521
    http://forums.adobe.com/message/3278739
    http://forums.adobe.com/thread/697107
    http://forums.adobe.com/message/3885690
    There are visual samples there of what happens.
    Photos in JPG file that was created from LR look differently than in LR. Photos in file are bigger or/and wrong positioned within the cell
    What I managed to find is:
    Everything goes fine until photo is rotated by 'Rotate to Fit' function. It happens in my case only with photos that have the same orientation that template.
    Example:
    Template is set on A4 borderless format set to portait (Page Setup... button).
    Two cells 14,85cm height x 21cm width (A5 format). First one over second and both in landcape position.
    When I drag photo cropped in Landscape orientation such a photo is rendered properly.
    When I drag photo cropped in Portrait orientation it's atutomatically rotated 90 degrees (couterclockwise) by "Rotate to Fit option" and that is when **** happens.
    Final print (to file or printer) shows that user dragging is omitted in render. What's more if "Photo border" is set to on, photo in this cell is not reduced. Instead of this (as far as I can see) photo border just crop some part of picture.
    If I switch orientation of the A4 page from portrait to lansdcape, magically photos that are cropped in portrait orientation start to render good (they are not rotated now) while those in landscape start to render wrong.
    This looks 99% as software bug.
    I'm using LR3.6 on mac osx 10.6.8
    I'd like someone to follow it and to check if the same happens on different Mac or Windows.
    Cheers
    Robert

    Confirmed in LR 5.3, OS X 10.9.1.
    Screen display is fine, user repositioning is ignored when printing if page is in landscape mode and the image is rotated 90° (Rotate to Fit on). A4, Epson printer. Bug also appears in PDFs generated via the "Printer…" button. I didn't check JPEG export.

  • How can I get an ucropped image in a Custom Package when using Stroke and/or Border??

    How can I get a picture in a Custom Package that has a Stroke and/or a border and get the image shown fully, and not cropped in one way or other?
    When I add the stroke/border it adds them inside the cell, thereby altering the ratio of the area for the picture inside it, which crops it in some way. How can I get the image to be uncropped?  The controls available seem to all be for the ration of the outside of the cell, but my image is inside the stroke/border and nothing seems to work on it directly ... 
    Many thanks,
    Gary

    Perhaps I misunderstood your requirement.  I have been frustrated by LR print module and labs effectively squeezing individual shots into existing frames. So I have used LR2Mogrify to export (and then re-import) a 'new image' which manages the discrepancy between a crop and a cell of a different aspect ratio by adding padding - usually 'white' - around the image to a canvas corresponding to cell dimensions. Adding stroke borders can be accomplished in Mogrify inside or outside the image.  A custom package, with multiple cell dimensions can be populated with images created in the corresponding aspect ratio(s) for the relevant cells.
    I'm not aware of a way of automating the creation of cells in a page to dimensions which change with the crop as discovered  - drag and drop images onto a blank page creates cells of the same standard size.  

  • Issues with Custom Package in Lightroom 3...please help

    I am having issues with the custom package in lightroom 3. I am selecting diferent cell sizes (with different aspect ratios) and placing multiple images in these cells.
    On screen everything looks good, but when it actually prints some of these cells are coming out stretched!! For example, the 6x4 cell comes out fine (same aspect ratio as the original capture), but i have 2 x 1.5 inch cell whose image comes out stretched??
    The first thing I thought of was the "zoom to fit" option, but this is not present in picture package.
    Then I thought it perhaps it was something to do with the my print settins, but cannot find anything there.

    I am having the same issue.  I used a Matt Kloskowski print grid and when I printed it, or printed to file, some of the images in the 15 that were created in the template were distorted.  Some the faces became wider and some narrower.  Not just zoomed to fit.  On screen it all looks correct.  Many others on the forum where the template was posted don't seem to have this issue.  I created a template myself just in case that was it but I got the same problem as walenahs.  I tried to figure out what he had done but I didn't get it.
    I have attached the two images.  You can see the distortion in the second image on the top row (too narrow), and on the second row, the second in and second down, black and white (too wide).
    Thanks

  • Custom package layout problem when there are more than 6 pages

    When I add a seventh page to a custom package layout for printing whatever changes that are made to that page take affect on page 1 not on page 7, i.e. if a I rotate a cell on page 7 the affect is not seen on page 7 but it is on page 1 which messes up the layout on page 1, and if I add an eighth page any changes made to it are seen on page 2 and so forth.  How do I prevent this so changes made to pages after page 6 are independent of the earlier pages?

    There are a number of Bugs in Firefox that can cause that to happen. A few of those Bugs have been fixed for Firefox 4.0, but the developers decided not to "backport" those fixes to 3.6.x or 3.5.x for some reason.

  • Issue while running a custom package:ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o

    Hi Guys,
    We have created a custom package where in we are trying to call the standard API's of Oracle projects i.e PA_PROJECT_PUB.When we are trying to call these APIs we are facing the below issue.
    We have tried testing in two instances ,Initially it worked in both instances.
    Using the same API's multiple times we tested the same data set in these instances.
    For the first few runs it works fine.But when we go on using the same API's again and again for our testing we face now and then the below issue.
    Standard API's
    =========
    add_task
    update_project
    change_structure_status
    create_draft_plan
    Error:
    ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o2670336.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log. in Package PA_PROJECT_PUB Procedure update_project:ORA-0000: normal, successful completionError while publishing the task
    Please let us know if anyone of has come across the same situation.
    Regards,
    Vijay

    But have issue only with validating invoice batch. I followed metalink ID's 605542.1, 167990.1,261693.1,1088553.1,749491.1, 461271.1 and few more.Was this working before? If yes, any changes have been done recently?
    Please see if these docs help.
    APXAPRVL: Invoice Validation Errors With MSG-00001 and REP-1419 [ID 333305.1]
    Invoice Validation Errors When Others:101505:Non-Oracle Exception Rep-1419 [ID 464125.1]
    Invoice Validation Fails with REP-1419 Error in Ap_approval_matched_pkg.Execute_matched_checks [ID 293425.1]
    Invoice Validation Failing On Fnd_file Could Not Write To File L0202306.Tmp [ID 461520.1]
    Invoice Validation (APPRVL) Errors ORA-20001 APP-SQLAP-10000 PSA_FUNDS_CONTROL_PKG.glxfck [ID 463184.1]
    Validate Invoice Error With ORA-20001: APP-SQLAP-10000: AP_FUNDS_CONTROL_PKG.Calc_QV [ID 432702.1]
    Invoice Validation Program Is Erroring Out [ID 382844.1]
    Error On Validation Of Invoices From Previous Periods [ID 412814.1]
    Thanks,
    Hussein

  • How do I personalize a form to call a custom package instead of standard

    We are finding that the vertex tax package is not correctly calculating the taxes for AR late changes. The late payment charge invoices are being created without an item and we know that if we had this in there the taxes would be calculated correctly. We have a solution designed by a senior architect and would like to pursue that approach unless it has been established it is impossible.
    From the Batch maintenance form ARIINR.fmb there is a generate button. It calls some pl/sql and eventually the api to create the invoice. What we want to do here is from the when button pressed trigger call a custom package (with most of the same logic intact). The problem is is that we don't want to call both the custom and standard package, only the custom one.
    My question is really is there any way to avoid calling the standard package by exiting out of the trigger after the custom package completed? I know I could easily change the standard form to accomplish this but we want to accomplish this in such a way to still maintain our support with Oracle on this form. So we are looking to do this via a personalization or custom.pll change.
    Any help would be very much appreciated. Thanks for your time.

    To my knowledge, both CUSTOM.pll and Forms Personalization execute code in addition to standard code, not instead off.

  • How to Download the Custom Package Created with all the objects

    Hi All,
    Could any body let me know how to download a custom package created in sap with all the objects including webdynpros and modulepool programs.
    Thanks.

    Hi,
    U can use open source programs available in net like Mass Download, ZAPLINK, SAPLINK.
    Mass Download --> Download the objects
    SAPLINK, ZAPLINK --> Used for downloading and also for importing the downloaded objects to other system.
    Regards,
    Arun

  • Can't find photo info option for print custom package

    Am I being very stupid as the "photo info" option in "Page" appears for any of my user templates, but not when I create a new custom package. Just ends at "cut guidlines". I'm trying to print 2 landscape and 1 portrait on the same sheet with their captions.
    Thanks for any advice
    Mike

    It is available in single image/contact sheet.
    That means single image /different images
    But indeed NOT in Custom Package
    Frans

  • OWA_SEC.CUSTOM package - Custom authentication procedures...

    Folks -
    I haven't ever used the OWA_SEC.CUSTOM package for custom authentication of a psp application - and now need to do so. The documentation doesn't have any examples of what I need to do. Although there is plenty of documentation - it all says the same stuff, without saying what developers need to do to get it to work.
    For example I have updated the following files in the following ways - and still it doesn't work:
    owapriv.sql - updated the line that says:
    auth_scheme := OWA_SEC.NO_CHECK;
    to :
    auth_scheme := OWA_SEC.CUSTOM;
    owacust.sql - updated to say:
    create or replace package body OWA_CUSTOM is
    /* Global PLSQL Agent Authorization callback function - */
    /* It is used when PLSQL Agent's authorization scheme is set to */
    /* GLOBAL or CUSTOM when there is overriding OWA_CUSTOM package.*/
    /* This is a default implementation. User should modify. */
    function authorize return boolean is
    v_username varchar2(30);
    v_pass varchar2(30);
    BEGIN
    owa_sec.set_authorization(OWA_SEC.CUSTOM);
    owa_sec.set_protection_realm('my_app');
    v_username := owa_sec.get_user_id;
    v_pass := owa_sec.get_password;
    IF v_username = 'cmanning' THEN
    return TRUE;
    ELSE
    return FALSE;
    END IF;
    end;
    end;
    show errors
    wdbsvrapp.sql looks like this:
    [DAD_mydad]
    connect_string = my_connect_string
    password = my_password
    username = my_username
    default_page = my_default_package.procedure
    ;document_table =
    ;document_path =
    ;document_proc =
    ;upload_as_long_raw =
    ;upload_as_blob =
    name_prefix =
    ;always_describe =
    ;after_proc =
    ;before_proc =
    reuse = Yes
    connmax = 20
    ;pathalias =
    ;pathaliasproc =
    enablesso = No
    ;custom_auth =
    Can anyone tell me what I am missing / doing wrong.
    For example:
    When I take out the username/password reference from the wdbsvr.app file - the browswer tries to authenticate me and the only username/password that validates is the username/password of the database user.
    I don't want to have to have database users for every application user that should be authenticated in my application. I want to put a routine in the owacust.sql file that authenticates users (via my own routine or an optional LDAP/radius/SecurID lookup). In this basic example - I am only validating with the cmanning/cmanning combination.
    From what I understand in the documentation - if I use OWA_SEC.CUSTOM - then I don't have to put a .authorize function in every package - the OWA agent simply authenticates every request via the OWA_CUSTOM.authorize function.....
    Dude - what's up?
    Can someone from the Big O help a brother out?
    cfm
    null

    Charles
    It looks to me like you want your users authenticated when they try to view your pl/sql-generated html pages, but you want to control the validation with custom code.
    You appear to be trying to use owa_custom.authorize to authorize each request, which seems like a good approach.
    This whole area is quite complex and I have never found any really comprehensive doco on it. Here are my thoughts which others might like to comment on.
    This is a simple version of owa_custom:
    PACKAGE BODY OWA_CUSTOM IS
    FUNCTION authorize return boolean is
    BEGIN
    owa_sec.set_protection_realm('aRealm');
    if owa.user_id is null then
    return false;
    else
    return my_validate_user
    (owa.user_id,owa.get_password);
    end if;
    exception
    RETURN FALSE;
    END authorize;
    begin
    owa_sec.set_authorization(OWA_SEC.GLOBAL);
    end;
    Note the begin block that applies to the package and sets authorization to GLOBAL when the package is loaded.
    The authentication mode in the DAD will need to be Global Owa (afaik) and you will need to supply an oracle username and password in the DAD. ie. you will authenticate the userid/password supplied by the user and then the user will connect to the database as the oracle user specified in the DAD.
    I cannot test this code at the moment. Nor can I give you complete instructions to set up authentication from scratch. But here's a brief description of what the code should do.
    1. It sets authorization to GLOBAL. So mod_plsql will call owa_custom.authorize for every request. That is, you don't call owa_custom.authorize, it will be done for you and the internals probably look like this:
    if owa_custom.authorize then
    user_requesed_page(user_supplied_args);
    else
    send_access_denied;
    end if;
    2. It sets up a realm, which is relevant to HTTP Basic Authentication and its challenge/response. (You don't have to use HTTP Basic Authentication. An alternative is to present a login form to the user, then you manage the userid/password.)
    3. It looks in owa.user_id which will hold the userid supplied by the browser after a HTTP Basic Authentication challenge/response.
    4. It uses your custom code to validate the userid and password once the user has been challenged to provide these. You obviously have to create the my_validate_user procedure in the schema and package of your choice.
    5. It does not time users out, it does not sustain multi-sessions per user via cookies and it does not support logout without shutting the browsers. But it is simpler for lacking these features.
    If this is a way you want to try then your first aim should be to make sure owa_custom is called globally and that it lets you into the database via the DAD-supplied userid and password. You may need some way of writing debug on the server using utl_file to confirm it is being called. Or you could make it return true unconditionally, request a page, then make it return false and request a page.
    This is just a start, but let me know if it is on topic.
    It would be great to hear suggestions and comments from others on authentication for an htp application under iAS.
    Has anyone tried DB Prism?
    null

  • Undefined method error in custom package even with proper import

    I edited the title of this thread to be a little more descriptive about the help I need.
    The background: I have a multi-file Flash application that allows users to navigate through multiple pages (similar to a website). I realized yesterday that with each mouse click, I'm loading a page into memory, but not unloading it. After navigating through several pages, my memory really starts to take a hit. So, I want to define a custom package that loads each page and unloads the previous page.
    I've gotten as far as defining the pageLoad function, but I keep getting an error that doesn't make sense to me (unless I'm importing the wrong flash packages).
    When I test the Flash, I consistently get the following error:
    dtutils.as – 1180: Call to a possibly undefined method addChild. – addChild(pageLoader);
    Everything I have found indicates that to import the addChild method, I need to import flash.display.Sprite, which I'm doing, but I am still getting the error.
    You'll have to forgive me as I'm not extremely familiar with objects or actionscript. I'm more of a hacker, but I grasp things quickly and can build on what I've already learned. This might be obvious to others, but I can't find anything that indicates that I'm doing anything wrong with my code, so any help you can give is greatly appreciated!!
    My package code:
    package com.clientname.demo
        import flash.display.Sprite;
        import flash.display.Loader;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
        public class dtutils
            //Properties
            public var pageLoader:Loader = new Loader();
            public var pagePath:URLRequest;
            //Constructor
            public function loadPage(url:String)
                pagePath = new URLRequest(url);
                pageLoader.load(pagePath);
                addChild(pageLoader);
    I've also attempted to replace the four import lines in my package with the following 3 import lines, but I still get the same error message:
    import flash.display.*;
    import flash.events.*;
    import flash.net.*;
    The code I'm using to import my package and call the function in my flash file is:
    import com.clientname.demo.dtutils;
    dtutils.loadPage("../filepath/filename.swf");
    I appreciate any help anyone can give me.

    Thanks for the feedback. Being fairly new with actionscript (and an object approach, in general), and not being a real developer, I often struggle with naming conventions. Didn't even realize there was a specific convention for what is considered a utility and what isn't. However, I appreciate your feedback and will rename my package so that it isn't confusing to any other real developers that may need to do something with this code in the future.
    Thanks!

  • How to import custom package in JSP

    Hi! everyone,
    I wrote a jsp file that imports some custom packages in a jar file. I've put that jar file in the classpath, the WEB-INF/classes directory, the orion directory etc...But I kept getting the "Package doesn't exist" compiling error in the borowser. Would you please help and tell me what I'm missing here?

    Thank you for your reply. I tried but it didn't work. Can you give me more hint on what to do?
    Placing the jar file in the /WEB-INF/lib directory
    should fix the problem.

  • Create Form in Customer Package ?

    Hi there,
    i would like to create some forms in our customer package (for example /OUR/TEST1/).
    When i define the name of the form for example /OUR/TEST1/MY_FORM - an error comes up "No special character allowed"
    Well there are some SAP standard Interface and Forms in the System:
    /RPM/IF_PFS_ITEM
    /RPM/FORM_PFS_INITIATIVE
    So it should be possible , but how ?
    Thanks

    can you just specify your Form name & Interface and then choose your namespace as your package on the next screen? will that suffice?

  • [SOLVED] Can Pacman Manage My Custom Packages

    I am going to make a custom build of MPlayer because I want it patched to take advantage of the Compiz Video plugin.  I think I might enable a couple other options that are disabled as well.  The thing I'm not sure of is how pacman will react to my package.  I know I can install it with pacman, but when a new official MPlayer package is released in the repos, will it update it and override my custom package?  If so, I thought it might help if I changed the package name, but then I thought that might mess up dependency tracking.  For instance, if I make a custom package of which other packages rely on, will those other packages be able to see mine and list the dependency as fulfilled?
    Basically I want a way for my system to see my custom package as something that can fulfill dependencies for other official packages that might rely on that particular program.  But at the same time I don't want it overridden when a new official package comes out since it likely won't contain the options I want enabled.  If it would give a message indicating a new version is available but not install it, that would really help.  Is this possible, and what would be the best way to handle this?
    Last edited by nLEyETn (2008-10-06 06:44:47)

    Thanks, that seems to be just what I was looking for
    Last edited by nLEyETn (2008-10-06 06:45:11)

  • Borders not printing accurately in Custom Package

    Hi There,
    This is a simple yet tricky problem, for me at least.
    I am setting a border of 25px (or whatever) in Custom Package and the image 'shrinks' on screen as the border is applied - which looks right. However when it prints, the border actually encroaches on the image by 25px.
    I have attached a couple of grabs which show the problem clearly.
    Thanks,
    Alex

    Surely someone else has this problem. It can't be right that the border encroaches on the image...

Maybe you are looking for

  • How to delete and edit particular line in a file and save it in same file ?

    Hi, I want to delete and edit text at particular line in a file. But edit and delete should reflect in same file. I have done googling for this but it results with using another file, that i dont want as i need to save changes in same file. How can i

  • Mobile Account - How to Map Share Point Locally on Server?

    Hello, Using mobile accounts on a mac mini server, this is a small home network. Primary reason for server was to use mobile accounts allow the various computers and laptops to be accessed by all family and guests with data linked to login. All work

  • How can I delete malicious email? using outlook on iPad2

    I have an email message with no content that freezes up my iPad every time I try to delete it.  I went into my Outlook mail on my pc, found it in my junk mail folder and deleted it without any problem, but can solve the problem on my iPad.  My real q

  • All Letter Keys Stop Working

    this has happened to me twice this week. and i don't know what is causing it. i will be in the middle of working and all of a sudden all the letter keys stop working (i.e. i can't type anything) However, the mouse still works, the arrow keys still wo

  • N95-can't remove .sis from SD

    Hi all, my beauty, N95, gives me pure and real satisfaction but also plays me hard (pretty much like all the beauties I know...) First issue: have installed to SD two .sis files (games) and after upgrating to 12, I can't REMOVE nor RUN them. Should I