How to know the current resolution of screen?

Help me please

Actually, that's misleading. It's Toolkit.getDefaultToolkit().getScreenSize(). That gets the X x Y pixel count of the screen. Toolkit.getDefaultToolkit().getScreenResolution() gives the DPI of a screen (supposedly).

Similar Messages

  • How to know the current patch or version of 11g

    How to know the current version of the 11g with patch info?

    Check this
    http://obi9.blogspot.com/2012/11/determining-current-patch-levels.html
    If helps pls mark

  • How to know the current version of SAP

    Hi everybody,
    How can we know the current version of SAP we are working with? Is there any function module for it?
    please let me know.
    thanks in advance,
    regards,
    mounika.

    goto sap...From MENU  System-->Status...it will open a popup..Under component version..the is a click icon...click on it and it will open another popup where u will find details...example...
    SAP_BASIS     620
    SAP_ABA                     620
    SAP_APPL     470
    SAP_HR                     470
    EA-IPPE                     110
    So, basis is on 6.2 & abap gui is on 6.2 where as abap application is on 4.7

  • How to know the current Task/Job ID in which a request is waiting for

    Hi Team,
    Is there any table/view in IDM 7.2 that provides current task/job ID number a request is waiting for?
    Even though the last completed phase of the request can be seen from admin UI that only shows the description of the completed steps but not the technical details like task ID/Job ID of the current step.
    Knowing the current step/Job ID helps the admin a lot to directly go the step when the request is waiting for long/got failed etc..
    Regards,
    Venkata Bavirisetty

    Hi Matt,
    Thanks for your response.
    I read few articles in your blog couple of weeks before and they are very much informative.
    The information provided in the provisioning queue just shows the task ID and no.of requests (without request nos) waiting in that task.
    Basically the question I have mentioned in my previous post is not related to any specific task type. It is like using request no we wanted to know complete request history specially the current task (task ID) at which the request is waiting for.
    Regards,
    Venkata Bavirisetty

  • How to leave the current dialog box screen?

    Hi Experts,
    Now I met a problem when I use statement LEAVE SCREEN for closing current dialog box screen. The scenario is like this:
    There is a screen '0010' under function group A, on this screen, there are 4 tabs, i created a custom control element on tab 4. with this custom control I embeded a subscreen 0910 which is defined under function group B not A, in the PAI of subscreen 0910, i called another dialog box screen 0920 which is defined under function group B also. statement CALL SCREEN '0920' is used for this and it works fine.              
                    But now when i click on the X (cancel) button on the dialog box, it is not closed but still there. So i use statement 'LEAVE SCREEN TO 0910' for closing the dialog box, but finally, not only the dialog box screen is closed but the screens '0910', '0010' are also closed.
    I think the problem is because that screen '0010' and  '0910' , '0920' are not under same function group, but I don't know the solution for closing the dialog box only.
    Lynn Liu

    HI,
    Debug the program after you press the CANCEL button , you will get where the conrol is flowing , And instead of using
    Leave to screen '910'          use               Leave to screen 0.
    Regards,
    Madhukar Shetty

  • How to know the current jvm name executable ?

    Hi,
    I should want know what is the current jvm executable, from a java program. For exemple c:\foo\bar\bin\java.exe, or /home/foo/bar/java_1.6/jre/bin/java and other.
    With system properties, I can know java home, version, vendor etc of JVM, but how I can know "bin\java.exe" or other ?
    Thanks.

    Yes.
    I see java.runtime.name=Java(TM) SE Runtime Environment, I see the classpath, I see java.runtime.version=1.6.0_14-b08, I see java.home=/home/herve/java/jdk1.6.0_14/jre, but I don't see the name of java programme.
    For me it is something like {java.home}/bin/java. I don't see that in system properties.

  • How to know the current tab

    Hi everyone,
    Does annyone knows if there is an indicator that indicate you the current tab where you are working in?
    I want my BSP to do different action depending on wich tab the user is in.
    I'm working in the BSP CRMD_BUS2000126 for the activities.
    Thanks!

    This is probably a question better suited to the BSP forum.  I also noticed that your application name starts with CRM.  I'm not familiar with CRM and its particular take on BSP, but I can tell you how I do this in my BSP applications:
    First I use the phtmlb:containerTabStrip to create my tabstrip.  I use an application class attribute to store my selectedIndex (the current selected Tab).
    <phtmlb:containerTabStrip id                    = "TabStrip15"
                              collapsed             = "FALSE"
                              collapsible           = "FALSE"
                              firstVisibleItemIndex = "1"
                              hasContentConnector   = "TRUE"
                              maxVisibleItems       = "5"
                              onCollapse            = "myCollapse"
                              scrollableItems       = "TRUE"
                              selectedIndex         = "<%= application->SELECTED_date2       %>" >
    Now I use MVC, so in my DO_HANDLE_EVENT method of my controller class I trap the tabstrip event and query for the selected tab:
    data: event_id type string.
      event_id = event.
      if htmlb_event is not initial.
        event_id = htmlb_event->id.
      endif.
      data: model type ref to zcl_bsp_m_eqi_selection.
      data: appl type ref to zcl_eq_bsp_eqi.
    ****Get a pointer to the Model Object.
      model ?= get_model( 'MS' ).
    ****Get a Pointer to the application Object
      appl ?= application.
      if event_id cs 'tabstrip15'.
        data: event1 type ref to if_htmlb_data.
        event1 = cl_htmlb_manager=>get_event_ex( request ).
        if event1->event_type eq cl_phtmlb_containertabstrip=>co_phtmlb_event_tab_selected.
          appl->selected_date2 = event1->event_server_name.
        endif.
      endif.

  • How to get the current size of screen in developer/2000 2.1?

    sir:
    I want to design the program that can be suitable for the
    various sizes of screen ,for example 640*480,600*800,At the same
    time ,According to the size,I can change the size of form ,
    how can I do that?
    null

    maximize the MDI window by
    set_window_property(forms_mdi_window,window_state,maximize);
    then get the size of MDI window which is the size of screen.
    by get_window_property;
    gang lee (guest) wrote:
    : sir:
    : I want to design the program that can be suitable for the
    : various sizes of screen ,for example 640*480,600*800,At the
    same
    : time ,According to the size,I can change the size of form ,
    : how can I do that?
    null

  • How to know the current directory

    Could somebody write me an example to print the current directory I'm working on.
    e.g.
    java A
    d:\My Documents\source\A.java
    Thank you.

    Could somebody write me an example to print the
    current directory I'm working on.
    e.g.
    java A
    d:\My Documents\source\A.java1. This is not a directory
    2. A.class will be run, not A.java
    3. You'Ll never know where your sourcecode is
    4. Where your program thinks it is can be determined using
    new File(".")

  • How to know the current VI is aborted ?

    i hv three VI A.vi is opening B.vi and it opens C.vi,,,,,,, now at one time only 1 VI is  opening at the task bar,,, and even i can go back.
    i have made that program,,,,,, but the problem is ,,, while i m starting from A.vi and ,,, go to C.vi   via B.VI,.,,, and,, after stoping C.vi,.....  if i open A.vi from the folder it is still running(in the running stage),,,, so...........
    i want to add the fuctionality,,, in which, i want to find the event..... when my current VI is aborted i want  the A.vi to be aborted....
    HOW ITS POSSIBLE...
    Waiging for reply,,,
    Manisha
    Attachments:
    C.vi ‏20 KB
    A.vi ‏19 KB
    B.vi ‏27 KB

    Maybe you can tell us what you are trying to achieve. I simply cannot make much sense out of your code.
    At least try to put a small wait in each loop, right now they all spin millions of times doing nothing. Maybe you could use an event structure?  You should also set your buttons to latch when released. Currently, e.g. the "Go back to B" button inside c.vi is set to switch until released, meaning you'll probably run the TRUE case a few thousand times whenever you press the button. Also familiarize yourself with dataflow. You seem to think that you set the boolean flag value before the while loop starts, however LabVIEW does not guarantee that this happens in this order because there is no data dependency.
    What are you trying to do? I am sure there are better ways.
    LabVIEW Champion . Do more with less code and in less time .

  • How do you reset your password if you dont know the current password

    Does anyone know how to reset your password if you do not know the current password

    If you have forgotten your Apple ID password: If you forgot your Apple ID password
    If it's your iPhone passcode; then you need to do a restore: Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled

  • Don't know how to calcualte the current page in smartform for second layout

    Hi All ,
       Iam creating an smart form which contains two layout in a single form. I need the page number to be displayed as followes.
    1st layout : 1 of 2
                     2 of 2.
    in 2nd layout 1 of 2.
                        2 0f 2.
    I dont have any issues in printing total number of pages. i dont know how to calculate the current page for the 2nd layout. <<text removed>>
    Edited by: Matt on Jun 25, 2009 5:09 PM - Removed ALL CAPITALS from subject

    Hi,
    Create a New window of Type 'Final Window' and Position it in the layout where u want to display the page numbers.
    Now, create a text element in the window and create the text like below in the text element.
    P1 Page &SFSY-PAGE& of  &SFSY-FORMPAGES(3CZ)&
    &SFSY-PAGE&                            - Current Page No.
    &SFSY-FORMPAGES(3CZ)&         - Total No of Pages.
    Note: dont forget to create the window type as 'Final Window', otherwise it will show ssome junk...
    Hope it helps!!
    Rgds,
    Pavan

  • How do I change the password in iPhone without knowing the current PW?

    I synced my iPhone 4S and know my access password very well, yet the phone tells me it's wrong. I have no access to my data and can't make phone calls as the access is denied.
    How can I retrieve control over my phone again? Is there a way to change the pw without knowing the current one?
       ---- HELP!!!

    LOST PASSCODE
    You may be able to reset the passcode by restoring the device.
    Connect the device to the computer with which you normally sync and open iTunes.
    Note: If iTunes prompts you to enter the passcode, try another computer that you have synced with. Otherwise, go to "If you have never synced your device with iTunes", below.
    Right-click the device in the left column and select Back up.
    When the backup is complete, select Restore.
    When finished, restore from your most recent backup.
    Otherwise read this
    If that doesn’t work  you will need to perform a factory restore to remove it. Or read:
    Enter Wrong passcode
    http://support.apple.com/kb/ht1212

  • How to get to know the current selected service?

    Can anyone tell me how to get the current selected service in MHP? I tried to find one but no result. Can javax.tv.media.MediaSelectControl.getCurrentSelection() gives me the answer?

    servicecontext.getService()

  • How to get the "current date" in the BEx?

    Hi all,
    I need to get the "current date" in my Bex report in order to make a comparison. I know there is a "How to" which shows how to get the current date via a User Exit, but I didn't find it. Could you please help me?
    Thanks

    1. Create a  New Formula in Key Figures structure
    2. Give tech name and description and Select "New variable" option
    3. Next screen will launch Variable Wizard -> create a new variable with replacement path as processing type
    4. in next screene  select the date characteristic that represents the first date to use in the calculation (From Date)
    5. In the next  screen select Key in the Replace Variable with field. Leave all the other options as they are
    6. In the next Currencies and Units screen select Date as the Dimension ID.
    6. Save variable
    repeate the Above steps to create another variable (To Date)
    and now you can use these two new replacement path variables in your new formula.
    Dev

Maybe you are looking for

  • I would really like to TALK WITH A PERSON - how do I do that please?

    Hi, I need to know where to go to download previously purchased software apps (not cloud apps) to load on a new windows 7 machine and I need to purchase new software for use on windows 7 equipment - not interested in the cloud apps. Can anyone please

  • When we define itabs or global definitions

    at form interface of a smartform creating screen, are we required to use Line type, is not is possible to use a database table we have created? For example ZST table has been created as a db table and has data in it. If I want to print this data via

  • Review:  Is 3GS Really Accessible to the Visually Impaired with VoiceOver?

    Hello Everyone, The following is my review of the Apple iPhone 3GS Smartphone with regard to user accessibility for the blind and low vision using the new iPhone 3GS VoiceOver feature. Go to: http://tinyurl.com/candle30 for the article or to: http://

  • JComboBox Problem !!!!!!!!!!!!!!!! PLzzzzzzzzzz Help me out frnds...

    Hiiiiiii frmdsss...........im n deep trouble and need ur help immediately......im havin this prob with JComboBox....heres d code..... public void actionPerformed(ActionEvent ae)           JButton source=(JButton)ae.getSource();           //JComboBox

  • Help me in using RUN_PRODUCT to call a report from form

    Hi GURUs I am trying to call a report from a form. I enter hiredate as input parameter in the form and click the 'run report' button. The hiredate value will be sent to report via pl_id, TEXT_PARAMETER,:CTL.TXT_DT as shown below in when button presse