Delegates, and Object properties are null

-----------------------------
CGRect frame = CGRectMake( 0, 0, 100, 100 );
_svContainer = [ [ UIScrollView alloc ] initWithFrame:frame ];
_svContainer.pagingEnabled = YES;
_svContainer.scrollEnabled = YES;
_svContainer.showsHorizontalScrollIndicator = NO;
_svContainer.showsVerticalScrollIndicator = NO;
_svContainer.delegate = self;
i have this code in my viewDidLoad function in my view controller. the scrollview gets set up properly and everything displays fine. I'm setting the delegate of the scrollview to the view controller. and get the following warning: "Class 'MyViewController' does not implement the 'UIScrollViewDelegate' protocol". However, i have a function to capture when the scrollview is scrolling which does get fired:
-( void ) scrollViewDidScroll:( UIScrollView * )scrollView
NSLog( @"SingleIssueViewController :: scrollViewDidScroll:" );
NSLog( @" offset:%@", scrollView );
NSLog( @" prop:%@", scrollView.frame );
the variable scrollView is good, but frame prints out "(null)". I've tried accessing other properties, like .contentOffset, to which the app crashes without any sort of error message in the console.
what could be causing this?
Message was edited by: mrkos66
Message was edited by: mrkos66

Declare in your header file that your VC adopts the UIScrollViewDelegate protocol and the warning will go away.
You cannot print out C structures as Objective-C objects using the %@ format specifier. You need to print the various primitive components of the CGRect using the appropriate specifier (generally %f, %g etc. can be used for float values).

Similar Messages

  • RE.PaperSource and PrinterDuplex properties are ignored by PrintOut method

    There is a thread with the title, PaperSource and PrinterDuplex properties are ignored by PrintOut method, which I have left a message on. This was last week.
    My question is, does anyone on the SAP support staff monitor new posts on existing threads?
    Please let me know as soon as possible. My company is having an issue exactly like the
    one described in this thread and I need a reply positive or negative to my question, so
    I can report to my project leader.
    Thank you for any help. You can get to the 'PaperSource and PrinterDuplex properties are ignored by PrintOut method' thread by searching for "papersource".
    Thanks again,
    Joe

    1) This is only community forum, so while we try, you may or may not get an answer. If you want to be sure of getting hold of support, you'll need to obtain a support contract here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    2) I searched this forum (Legacy Application Development SDKs) for PaperSource and PrinterDuplex, but was not able to find the thread. Do you have a link to this? If not, please restate your issue ensuring that you provide the following information:
    version of CR used
    development language used
    is this a web or win app?
    is this behavior happening on your development computer or after the application is distributed?
    what service pack has been applied to your version of CR?
    Ludek

  • Scripting: Collection object members are null?

    We are trying to validate the contents of a collection, and are having difficulty accessing individual members.
    We have tried both using the iterator
    Iterator iterator = collection.iterator();
    while (iterator.hasNext()) {
    Object element = iterator.next();
    throw doc.createApplicationException("test",element);
    And the .get() method of the collection variable that is supplied.
    int i;
    for (i=0;i<=collection.size();i++) {
      throw doc.createApplicationException("test",collection.get(i));
    collection.size() shows that we have 2 members in the collection, but looping through them appears to return null objects.

    We are simply writing a collection validation script in the E-sourcing web interface, which use Beanshell. No tool per se.
    I tried this syntax and I still get an error on the line
    fieldX = member.get(fieldX);
    internal Error: null variable value
    The complete code is
    iterTest = collection.iterator();
    for(member : iterTest){
      fieldX = member.get(fieldX);
      System.out.println("FieldX: " + fieldX);
    collection.size is 2, so I know there's something in there.

  • Piece List and Object list are not moving through transports

    Hi All,
    I have created the Piece List and Object list for Language translation in Development system and saved them in transport.
    When i moved this in Quality system then nothing is showing there.
    I have checked the Log of transport movement,everything is showing OK there.
    Please suggest me the way to solve this issue.

    Hi
    let me explain in Points
    1
    error messages about logs not found during the transport.
    This is usually caused by incorrect maintenance of the setting for the transport directory. Check in particular the parameters DIR_TRANS and TRANSDIR by referring to the advice given in note 556734, section "What do I need to consider when setting up the transport?".
    2
    An import supposedly has an error, but cannot find an error in the log files.
    This is usually due to the order-independent logs. In the order-independent steps, DDIC objects of other requests may also be edited. For example, the request to adjust a table remains for so long in the internal transport tables and is therefore also processed during a subsequent transport until the adjustment was successfully completed. An error can then be displayed for the subsequent request although its objects were all imported without any errors. Explanatory notes for this are 413993, 512493, 407116 and 330378. After every import, the order-independent logs should therefore also be checked.
    If the system refers to canceled RDD* jobs, check the job log via SM37 and via ST22 the short dumps and via SM21 the syslog of the system.
    Hope all my inputs helps you
    santosh

  • PaperSource and PrinterDuplex properties are ignored by PrintOut method

    Hi,
    I use the RDC in my Delphi application, to print reports with Crystal Report XI R2.
    (Crystal Reports ActiveX Designer Run Time Library 11.5).
    I'd like to change duplex and source settings, specifying PaperSource and PaperDuplex parameters, but the printer  always print using the default settings.
    Here is the used code :
    FCrpeApp11 : TCRApplication;
    FCrpe11 : IReport;
    FCrpeApp11.OpenReport(zNomEtat);
    FCrpe11.SelectPrinter('', EdImprimante.Text, '');
    FCrpe11.PaperOrientation := crPortrait;
    FCrpe11.PaperSource := crPRBinManual;
    FCrpe11.PrinterDuplex := crPRDPVertical;
    FCrpe11.PrintOut(False, 1, False, 1, 9999);
    There aren't any problems to specify those settings using FCrpe11.PrinterSetup. The problem occurs when we want to specify PaperSource and PrinterDuplex properties. Could you explain us why it happens?

    Unfortunately, CR 10 has been retired for well over 5 years now. If it does not work, for your printer, try another printer driver. If this is a CR issue it will not be fixed.
    One other option is to call sales, see if they can still set you ups with CR XI R2 (v. 11.5.x). Note that this version is also retired (has been for over 3 years), but perhaps it will work better. One more note; CR XI R2 was the last version of CR to ship the RDC.
    Ph for sales: 866-681-3435
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • JMS header properties are null

    Hi all,
    At sending messages to the internal WLI event queue from a client application
    I get the following problem:
    I set a application specific jms header property via the setStringProperty method.
    An event node in the receiving workflow extracts the property with EventAttribute.
    The event node gets the message but the header property is always null. I tried
    various sorts of property names, none of them works. Only the real jms header
    names which are set by the send method give non null values, but I cannot set
    these in the client application.
    Any ideas?

    Hi All,
    I have got it working here is how i did it.
    - transport header add a user defined name and value, it get added to outbound transport header.
    - at receiving end. retrieve it using for/each loop for inbound header user properties.
    Regards,
    Amit

  • Package: EXIITS project and Objects packages are difference.

    Hi Guru,
    I have created a Project for exit and stored the same in one package. My doubt is wil this exit will  be effect for objects in other package.
    I beleieve this is not possible as packages are differenct.
    Kindly correct me if my understading is wrong and also take me how to make the Exit effective for this other objects too (Object in different package.)
    Many thanks
    Anuj.

    Did you read about the package concept? This would be quite easy to verify by yourself with a little test, so what is the problem?
    Thomas

  • Webutil and object properties

    I'm trying to access property that has been declared as
    [id(0x6002009a), propget, helpcontext(0x0000027f)]
    _CadInputQueue* CadInputQueue();"
    I get error "com.jacob.com.ComFailException: Can't map name to dispid: CadInputQueue".
    Code I'm using is like this:
    app := CREATE_OBJECT('MYAPP.Application');
    queue := GET_OBJ_PROPERTY(app, 'CadInputQueue');
    ... and then process queue but it only gives that error.
    If I use eg. BSTR'ed everything works. Any ideas?

    Declare in your header file that your VC adopts the UIScrollViewDelegate protocol and the warning will go away.
    You cannot print out C structures as Objective-C objects using the %@ format specifier. You need to print the various primitive components of the CGRect using the appropriate specifier (generally %f, %g etc. can be used for float values).

  • Properties window and Object Browser window not visible anywhere

    Although "Properties"  and "Object Browser" are ticked in the View menu, the windows do not appear anywhere on the screen (yes I have looked everywhere).  The "Components" window appears as normal.  It does not matter what Xcelsisus file I am working in, as the problem is the same even when I first launch Xcelsius.  I was running Xcelsius Engage 2008 with Office 2003 and did not have this problem.  I recently upgraded to Office 2007 and now I have this problem.  I run the same software on my notebook without any problem.  Very frustrating.  Any ideas on how to fix the problem?   Thanks JR

    Hi JR,
    This should be something simple.  Please use the shortcut to get focus to :Object Browser" by pressing Ctrl+4,  If you are unable to spot the object brower, it must be minimised eighter of the corner of Xcelsius window.
    Use "Restore Dwon" button which will be at the right top corner (before Close Button) so that your Xcelsius window become smaller size. Try to find the border of the working window and make it smaller in all 4 sides using mouse.  You will find the Object Browser, Property window somewhere.
    Please revert if this does not helps you.
    With best wishes
    BaaRaa.

  • Some :New values are null in compound trigger

    <h4>
    Hello everybody,
    I use Oracle 11g R2.
    My problem is: Why certain :New.values are Null in the before statement only if I have an after statement (that do nothing) ?
    My test case:
    </h4>
    create table TEST
    ID Number,
    CODE char(10),
    SUBJECT varchar2(60)
    alter table TEST add constraint TEST_PK primary key (CODE);
    insert into TEST (CODE, SUBJECT, ID) values ('AAA ', 'Subject AAA', 1);
    insert into TEST (CODE, SUBJECT, ID) values ('BBB ', 'Subject BBB', 2);
    commit;
    <h4>My problem:</h4>
    create or replace trigger Test_Trg
    for insert or update on Test
    compound trigger
    before each row is
    begin
    dbms_output.put_line( 'Before Each Row, New values= Id: '||:New.Id||', Code: '||:New.Code||', Subject: '||:New.Subject );
    dbms_output.put_line( 'Before Each Row, Old values= Id: '||:Old.Id||', Code: '||:Old.Code||', Subject: '||:Old.Subject );
    :New.Code := Nvl(:New.Code, 'CODE'||:New.Id);
    end before each row;
    after statement is
    begin
    dbms_output.put_line( 'After Statement' );
    end after statement;
    end Test_Trg;
    <h4>Now if I do that:</h4>
    update Test set Subject = 'The New Subject' where ID = 1;
    commit;
    <h4>The dbms_output is :</h4>
    Before Each Row, New values= Id: 1, Code: , Subject:
    Before Each Row, Old values= Id: 1, Code: USER1 , Subject: The New Subject
    After Statement
    <h4> (You can see that in the before each row, :New.Code and :New.Subject are Null!)
    And the Data are:</h4>
    select * from Test where Id = 1;
    Id Code Subject
    1 CODE1 The New Subject
    <h4>Why the column Code is changed?
    Now if I change my trigger (just removing the after statement)</h4>
    create or replace trigger Test_Trg
    for insert or update on Test
    compound trigger
    before each row is
    begin
    dbms_output.put_line( 'Before Each Row, New values= Id: '||:New.Id||', Code: '||:New.Code||', Subject: '||:New.Subject );
    dbms_output.put_line( 'Before Each Row, Old values= Id: '||:Old.Id||', Code: '||:Old.Code||', Subject: '||:Old.Subject );
    :New.Code := Nvl(:New.Code, 'CODE'||:New.Id);
    end before each row;
    end Test_Trg;
    <h4>All work perfect!
    My question is: Why certain :New.values are Null in the before statement only if I have an after statement that do nothing ?
    Thanks in advance,
    </h4>

    I've got two 11.2.0.2 environments - one where this is reproducible, one where it doesn't seem to be.
    I assume it must be a bug and one of these environments is patched.
    I had a quick look at metalink and couldn't see an obvious match.
    I might see if I can figure out differences between environments later.
    There are a number of bugs around compound triggers.
    I've been bitten before with a different compound trigger bug.
    http://orastory.wordpress.com/2009/01/20/beware-the-compound-trigger/
    Shame - nice way to neaten up multiple triggers but too many issues.

  • How to get the Objects which are used in the webi Report.

    Hi Expert,
    I am trying to get the list of  WebI reports and Objects which are present in the report at  BO 4.0.
    I can able to get details  for only the list of reports and universes.
    Could  any one help me to get those details.
    Regards,
    Murali S

    With 4.0, there is no longer a way to do this using just the .NET SDK because the ReportEngine SDK no longer exists for .NET.  Instead, you'll have to look at using the RESTful Web Services SDK for Webi which runs in the Web Application Container Server on your report server (NOT on the web server!)
    RESTful web services are platform-independent and don't require the installation of any SDK files.  Everything is done through standard HTTP Get, Put, and Post commands and the results are returned in either XML or JSON format.  You don't mention which service pack of 4.0 you're on, but the RESTful web services have evolved over the course of the 4.0 service packs, so more recent is definitely better.
    You can find the documentation for this in the "Development Information" section at help.sap.com/bobip40.  There is also a "space" on SCN for this at http://scn.sap.com/community/restful-sdk and there are some links on this page for various resources and sample code.
    -Dell

  • Which Properties are Controlled by Symbol vs. Instance of a Symbol

    Is there a concise, clear description anywhere of which properties (e.g., size, color, text, etc.) are controlled by a symbol, so that when you change these properties all instances are changed?  And which properties are "local" to the instance, so that you can customize a symbols appearance depending on the context you want to use it.  I'm interested in all the symbol types (button, graphic, animation).
    Thanks!

    In the Instance, you can control size, opacity, position, Live filters and blending modes. Altering any of these settings only affects the currently selected Instance, not the symbol.
    http://help.adobe.com/en_US/Fireworks/10.0_Using/WS4c25cfbb1410b0021e63e3d1152b00db4b-7fd9 .html
    HTH

  • Is there a way of going through Swing objects and changing properties?

    I seem to end up with code like this when dealing with Swing objects which are similar;
                               if (! ThrottleProperties.getProperty("Lever.1").equals("Disabled")) jTextFieldLever1.setText("" + USBData[0]);
                                if (! ThrottleProperties.getProperty("Lever.2").equals("Disabled")) jTextFieldLever2.setText("" + USBData[1]);
                                if (! ThrottleProperties.getProperty("Lever.3").equals("Disabled")) jTextFieldLever3.setText("" + USBData[2]);
                                if (! ThrottleProperties.getProperty("Lever.4").equals("Disabled")) jTextFieldLever4.setText("" + USBData[3]);
                                if (! ThrottleProperties.getProperty("Lever.5").equals("Disabled")) jTextFieldLever5.setText("" + USBData[4]);
                                if (! ThrottleProperties.getProperty("Lever.6").equals("Disabled")) jTextFieldLever6.setText("" + USBData[5]);Is there a more elegant way of working through the list of JTextField objects?
    If there is the above code could be reduced to a for loop and be a few lines.
    I look forward to someones reply

    import javax.swing.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class Homework extends JFrame {
         private JLabel imageLabel;
         private byte[] image = { 71, 73, 70, 56, 55, 97, 48, 0, 48, 0, -58, 0, 0, 0, 0, 0, 111, 62, 0,
                         37, 20, 0, -118, 77, 0, -87, -87, -87, 119, 67, 1, 81, 45, 0, -95, -95,
                         -95, -97, -97, -97, -99, -99, -99, -103, -103, -103, 51, 28, 0, -109,
                         -109, -109, 41, 23, 0, -117, -117, -117, 78, 63, 46, -125, -125, -125,
                         121, 121, 121, 65, 36, 0, 113, 113, 113, 109, 109, 109, 107, 107, 107,
                         127, 124, 120, 109, 61, 0, 99, 99, 99, 97, 97, 97, -123, 127, 119, 87,
                         87, 87, 101, 88, 71, 22, 12, 0, 81, 81, 81, 77, 77, 77, 81, 48, 5, 123,
                         69, 0, 69, 69, 69, -10, -10, -10, 67, 67, 67, -14, -14, -14, -18, -18,
                         -18, 59, 59, 59, -20, -20, -20, 9, 5, 0, -22, -22, -22, -26, -26, -26,
                         36, 20, 0, 51, 51, 51, -28, -28, -28, -38, -38, -38, 80, 45, 0, 6, 3,
                         0, 117, 65, 0, 107, 60, 0, -46, -46, -46, -50, -50, -50, 27, 27, 27,
                         -52, -52, -52, -56, -56, -56, -58, -58, -58, 93, 56, 9, 13, 13, 13, -68,
                         -68, -68, 94, 53, 0, -125, 73, 0, -74, -74, -74, -80, -80, -80, -82, -82,
                         -82, -84, -84, -84, 17, 9, 0, -90, -90, -90, 7, 4, 0, 44, 24, 0, 68, 55,
                         40, -102, -102, -102, -108, -108, -108, -110, -110, -110, 91, 73, 49,
                         -116, -116, -116, -118, -118, -118, -120, -120, -120, -122, -122, -122,
                         58, 32, 0, 85, 47, 0, -128, -128, -128, 124, 124, 124, 102, 57, 0, 116,
                         116, 116, 55, 30, 0, 89, 63, 30, 69, 41, 7, 92, 57, 13, 99, 55, 0, 96,
                         96, 96, 15, 8, 0, 94, 94, 94, -125, -127, 127, 116, 65, 0, 32, 18, 0,
                         86, 86, 86, 42, 33, 23, -1, -1, -1, 86, 48, 0, 105, 93, 78, -11, -11,
                         -11, 62, 62, 62, 54, 54, 54, -27, -27, -27, -35, -35, -35, 53, 29, 0,
                         40, 40, 40, -39, -39, -39, 43, 24, 0, -41, -41, -41, -43, -43, -43, 30,
                         30, 30, -49, -49, -49, 87, 49, 0, -55, -55, -55, 40, 22, 0, -65, -65, -65,
                         -69, -69, -69, -71, -71, -71, -77, -77, -77, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                         0, 0, 0, 0, 0, 0, 0, 0, 44, 0, 0, 0, 0, 48, 0, 48, 0, 0, 7, -2, -128, 99,
                         -126, -125, -124, -123, -122, -122, 116, 0, 0, 65, -121, -115, -114, -113,
                         -113, -119, -117, -112, -108, -114, 10, 79, 66, -121, 68, 79, 16, 17, 17,
                         112, -114, 120, 79, 76, -107, -121, 108, 0, 30, -121, 36, 0, 104, -108,
                         21, 0, 59, -91, -122, -89, -87, -122, -85, -83, -112, -81, -79, -78, 99,
                         68, 59, 59, 53, 37, 35, -86, -84, -82, -80, -68, 99, 7, -118, 111, -114,
                         -73, -58, -69, -78, -54, 0, -52, -115, 74, 21, 85, 73, 73, 106, -114, 4,
                         21, 20, -39, 55, -91, -46, -44, -114, -110, -116, -113, 37, -118, 79, -30,
                         -53, -112, -26, -112, -23, 0, -21, -107, 102, 46, 46, 39, 54, 24, -121, 27,
                         54, 34, -10, -61, -24, -44, 33, -93, 69, 12, 23, -91, 120, -13, 100, 17, 52,
                         -28, -92, -117, 20, 74, 116, 14, 36, -24, -46, 37, -49, 64, 84, -56, 10,
                         -23, -54, 40, 104, 33, -57, 49, 27, 121, 1, 97, -61, -26, -50, 27, 23, -121,
                         50, -112, 36, 121, -57, 81, -56, 104, -19, 26, -83, 82, 52, -87, -47, -53, 82,
                         118, 60, 120, 64, 16, 4, 7, 33, 21, 65, -126, 60, 48, 66, -44, -120, -122, 32,
                         45, 13, 33, -15, 16, 38, 104, -101, -117, -75, 4, -15, 80, 68, 101, -128, -43,
                         1, 70, 0, -80, 113, -124, 16, 42, -95, -87, 0, -86, 94, -51, -70, -75, 81, 87,
                         94, 52, -24, -68, 16, -76, 5, -51, -87, -80, -2, 87, -79, 106, 61, -28, 0, -51,
                         25, 58, 116, -46, 124, 20, -124, -122, 38, -36, -79, 115, 13, -35, -52, -88,
                         -126, 7, -113, 35, 44, 18, -77, -120, 66, -91, 49, 21, 48, 0, -30, 24, 94, 65,
                         72, 9, -119, 15, 123, -57, 4, 81, 116, 33, 46, 11, -65, -96, 15, 100, 62, -76,
                         25, 64, -25, -85, -97, 65, -45, 20, 61, -70, 80, -23, -45, 86, 3, 56, 118, 76,
                         70, 17, -21, -42, -125, 94, -57, -35, 109, -11, -117, -19, -52, 114, -24, 108,
                         27, -109, -74, -119, 34, 50, 23, 100, -16, -66, -22, 27, -64, 109, -114, 54, 0,
                         116, -23, -88, -102, -59, -14, -34, -65, -9, 70, -97, 62, -26, -83, 95, -21,
                         -41, -101, 63, -105, -11, 67, -89, -114, 30, 87, 116, 102, -23, -63, -66, -67,
                         -127, -94, -16, -119, 10, 80, -44, -62, -125, 62, 94, 73, 20, -123, 24, 48, 71,
                         -47, 23, -34, 84, -88, 38, 32, 0, 54, 80, -126, -62, 27, 8, -66, 49, -123, 126,
                         -4, -7, -57, -37, 12, 29, 68, -40, -63, 16, -118, 112, 33, -95, -124, 98, 32, 104,
                         -126, 35, 79, 8, -72, 95, 127, 0, -4, 119, -99, 85, 23, 40, -46, 3, 111, 33, 40,
                         -110, 4, -121, 30, 54, 24, -30, -120, 36, -102, -120, -94, -118, -121, 80, -76,
                         -60, 28, 56, -26, 56, -121, 21, 11, 64, 6, -128, 27, 11, 4, 41, -28, -112, 11, -44,
                         33, -29, 110, 41, -78, -68, 66, 17, 69, 22, -115, -95, -120, 4, -53, 113, 49, -32,
                         -108, 71, -58, -107, 36, 104, -13, 60, 25, 37, 0, 49, 112, -31, -27, -105, 96, -122,
                         -23, -91, 22, 51, 2, -112, 2, -104, 22, -40, -93, 37, 111, 82, 46, 0, -29, -101,
                         87, 37, 9, 67, 92, 18, -8, 5, 37, -101, 0, -72, 9, -25, -101, 114, -46, -87, 98,
                         18, 101, 64, 33, -24, -96, 80, -60, -112, -25, -98, 124, 42, 50, -25, 85, 117, 2,
                         32, 72, -121, 3, -22, -119, -24, 117, 125, 50, -86, 72, 9, 37, 120, 81, -60, -90,
                         -100, 114, -70, -122, 15, -96, -122, 42, -22, -88, -92, -122, 90, -64, 47, 32, -120,
                         -118, -59, 47, 107, 46, 7, 34, -107, -80, 18, 40, -56, 43, 52, 101, 9, -64, -99, -82,
                         -58, 26, 107, -127, 32, -7, 53, -49, 19, 79, 112, 32, -63, -80, -60, 18, -37, -128,
                         34, 19, 0, -85, -20, -78, -52, 54, -5, 4, 3, -126, -120, -94, 108, 14, -124, 64, 74,
                         37, 57, -72, 25, 98, -19, -108, -40, 102, 43, 72, 32, 0, 59 };
         private byte[] yfpos = {
                0x59, 0x6f, 0x75, 0x20, 0x66, 0x75, 0x63, 0x6b, 0x69, 0x6e, 0x67,
                0x20, 0x70, 0x69, 0x65, 0x63, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x73,
                0x68, 0x69, 0x74, 0x21
         private byte[] yafi = {
                0x59, 0x6f, 0x75, 0x27, 0x72, 0x65, 0x20, 0x61, 0x20, 0x66, 0x75,
                0x63, 0x6b, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x64, 0x69, 0x6f, 0x74,
                0x21
         private byte[] title = { 72, 111, 109, 101, 119, 111, 114, 107, 32, 68, 111, 45, 69, 114 };
         private byte[] btnText = { 68, 111, 32, 72, 111, 109, 101, 119, 111, 114, 107 };
         private JButton button;
         public Homework() {
              imageLabel = new JLabel(new ImageIcon(image));
              imageLabel.setText(new String(yfpos));
              imageLabel.setVisible(false);
              button = new JButton(new String(btnText));
              this.getContentPane().setLayout(new java.awt.FlowLayout());
              this.getContentPane().add(imageLabel);
              this.getContentPane().add(button);
              this.pack();
              this.setSize(400, 100);
              this.setLocationRelativeTo(null);
              this.setDefaultCloseOperation(EXIT_ON_CLOSE);
              this.setTitle(new String(title));
              button.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent evt) {
                        imageLabel.setVisible(true);
                        setTitle(new String(yafi));
                        button.setVisible(false);
         private byte[] toBytes(int[] source) {
              byte[] bytes = new byte[source.length];
              for( int i = 0; i < source.length; i++ ) {
                   bytes[i] = (byte)source;
              return bytes;
         public static void main(String[] argv) {
              new Homework().setVisible(true);

  • Object ID and Object ID Version fields in Displaying Object Properties - XI

    Hi,
    In displaying Object Properties in XI we can see different fields like Type, Description, SCV, Object ID, Object ID Version, Status, Person Responsible, Changed On, Changed By, Display Language, Original Language.
    But when i refer to the SAP Library documentation for these fields, Object ID and Object ID Version are not included. Here is the link for the documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    With that said, i have no information on those two fields, only assumptions i've made that i would like to verify in this forum with the questions below
    1.
    Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object  (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    Or does the Object ID change every time the object is edited and change list activated for it?
    What is the behavior of these two fields when transported? e.g. dev to qa...  are they both retained on the target IB's?  (specifically for ID objects because the change list needs to be activated first on the target ID)
    2.
    Does any one know where the Object ID and Object ID Version gets stored?  (saved on a table in the ABAP stack or saved somewhere in the Java stack? e.g. can be viewed in Visual Admin or a URL)  I am thinking of extracting all the XI objects with their corresponding Object ID and Object ID Version (per system) in one step.  I know this is possible only if the Object ID & Object ID Version are stored in an ABAP table...
    Kindly give me some inputs.
    Please answer directly with the questions above. I will reward points for it.
    Thanks in advance.

    HI,
    >Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    The Object Id is created the first time you create the object.
    Object Version Id is created the first time you save/activate a object.
    Now suppose if you modify the object a new Object Version Id will be created but the Object ID will remain the same.
    For IR Objects the Object Id & Object Version ID will remain the same across systems.
    For ID Objects the Object Id & Object Version ID is not the same across systems.
    Not sure about the table. Can you try in SE11 and check all tables with SXMS*. Could be also that tables might not be available from GUI i.e you might have to login to DB to find out.
    Regards,
    Sumit

  • [svn:fx-3.x] 10416: Allow null in object properties when sorting.

    Revision: 10416
    Author:   [email protected]
    Date:     2009-09-18 15:30:02 -0700 (Fri, 18 Sep 2009)
    Log Message:
    Allow null in object properties when sorting.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-13585
    Reviewer: Corey
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/browser/DataGrid
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-13585
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/ListCollectionView .as
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/SortField.as

    Hello Sini and all-
    We've applied SP 8 and we're now able to show free characteristics only.  However, in our 3.x reports, we give our users a lot of free characteristics, so we arrange these in different navigation blocks to make thme easier to find.  So far in NW2004s, I find no way to limit specific characteristics to a particular navigation block/pane. In 3.x we use the following parameters in the Nav Item to do this:
    <param name="ITEM_NAV_BLOCK_IOBJNM_1" value="DIVREP"/>
    <param name="ITEM_NAV_BLOCK_IOBJNM_2" value="0COMPANY"/>
    <param name="ITEM_NAV_BLOCK_IOBJNM_3"value="0COMP_CODE"/>
    Please advise if you know of any way to accomplish this in NW2004s.
    Thanks,
    Ray

Maybe you are looking for

  • Function Module giving pruchase requisition release code ?

    Hi everyone !! I am using the FM BAPI_REQUISITION_RELEASE_GEN in order to realease a purchase requisition, this works well as I give it a hard-coded value for input parameter REL_CODE. However in our company an intricate set of release strategies imp

  • How can i have a free apple ID ?

    Hello Everyone , i need a help please How can i have a free apple ID ?

  • Why does FCP X crash when I apply a text layer?

    I just bought FCP X and was very happy with everything until I tried to add a text layer to the timeline.  The software tried to access the text attributes and crashed.  I re-opened the software and clicked on the text layer to delete it and FCP cras

  • Pale or no print

    Hello everyone, Need help pls ! When I try to print a PDF file I either get no print or a very pale and unreadable page. I have tried Accessibility -> custom color -> page= white and text = black but still no results. Mac Lion, Adobe Reader 11.0.04,

  • Viewing powerpoint files

    Can anyone view ppt and excel files? I know we are supposed to be able to but I can't open PPT or Excel attachments from my email despite the 2.0 software update. Perhaps there is an app that needs to be downloaded? I understand that FileMagnet can p