How to get the actual screen size

Hi,
I have to get the actual screen size of the cliend in an applet, if i use method
Dimension dmx = Toolkit.getDefaultToolkit().getScreenSize();
it does not gives the actual screen size, like the screen size will be different if the application bar ( where we have start button on windows ) is Auto hide, and will be different it is not Auto Hide, or some users ike to keep the application bar on right or left of screen or on top..
So how do we get the actual display size of screen

Hi,
I got how to do if using applet
in screen object of java script we have methods to get the available width and availabe size
screen.availWidth
screen.availHeight
here is the link for more info
http://developer.netscape.com/docs/manuals/js/client/jsref/screen.htm
http://forum.java.sun.com/thread.jsp?thread=275329&forum=57&message=1063410

Similar Messages

  • How to get  the actual data in ALV report

    I am doing some upgradation work   in that i am using Submit  & And return and  also i am using some function modules like LIST FROM MEMORY , LIST TO TXT wnd WRITE LIST , it gives output in normal list format , But i need to print in ALV report .
    With the use of set table for 1st display i got the  ALV report   but not with actual data, (some junk value is showing) , So can any 1 suggest me how to get  the  actual data in ALV report, With the use of  Any Function Module or with Coding,
    with regards,

    Hi Saravana
    I am sure you must be getting the values in tables of table parameters from every FM.
    consolidate the values from tables of all FMs in one table and built ALV for that table only.
    I hope this way you can show the actual data in ALV.
    thanks
    Lalit

  • How to Get the Debugger Screen in WEB Front end of SRM

    Hi Gurus,
    I have couple of questions for SRM.
    1. How to Get the Debugger Screen in WEB Front end of SRM so i can debug the application which is running in EBP system??
    2. How to set the flag for external debugging (HTTP)??
    3. Using SICF how to set the ITS services ( Like BBPSC01 )for internal ITS so as soon as i place the order it should stop at the break point which i have set in the application.
    Thanks.
    Regards,
    Manoj Tiwari

    Setting up Debugging for Integrated ITS
    Tcode SICF.
    Select service (e.g. default_hostàbcàguiàsapàitsàbbpsc01).
    Change service settings and insert parameter ~GENERATEDYNDPRO=1.
    Find program to debug. E.g. SE93. Enter bbpsc01 à Display and get Program field (SAPLBBP_SC_UI_ITS)
    Execute SE38 and enter program name.
    Turn HTTP Debugging ON. UtilitiesàSettingsàDebugging. Click Actv and username.
    Add HTTP Breakpoint. Display source code and select Utilitiesàbreakpointsàset.
    On “External Debugging” select ‘HTTP Breakpoint’.
    Remember to remove breakpoints, deactivate debugging and remove parameter GENERATEDYNPRO.
    Can run program RSBREAKPOINTS to find which programs you have breakpoints set in.
    Have fun with EBP
    If you have any more questions i would be happy to help you. Send me mail on [email protected]

  • How to get the actual font name from a font file?

    Hi
    I have only the font Path I have to get the font name from that path. Any idea how to get the actual font name?
    Thanks,

    I would ask you these questions:
    Why do you need to do this?  What are you ultimately trying to accomplish?
    Are you really asking about the InDesign SDK?
    Do you really need to get the "name" of a font from an arbitrary file?  Or do you want information about a font installed on the system?  If so, what OS?
    Do you need to be able to handle any font format?
    Which font "name" do you mean?
    What language do you want the name in?
    (1) It's not clear what you're trying to accomplish.  A bit more information about your ultimate goal would be helpful.
    (2) This question is not at all specific to the InDesign SDK.  Are you really trying to do something in the context of an InDesign plug-in?  If so, you probably want to look at IID_IFONTFAMILY and the IFontFamily::GetFamilyName function.
    (3) If you are asking more generally, Windows and Mac both have system API calls to get this information, although those tend to deal with installed system fonts, not with arbitrary font files per se.
    Also, you can parse the name table from a True Type or Open Type font without using any system APIs; as True Type and Open Type are well-documented standards.  I would start by reading these:
    The Naming Table
    Font Names Table
    (4) Although there are other standards, such as Type 1 (PostScript) fonts, and True Type Collection files and other formats, especially on Mac.
    (5) Also, when you start down this road, you will quickly realize that your seemingly simple question is actually ambiguous, and that the answer is kind of complicated, because a font can have many names (a family name, a full font name, a style name, a PostScript name, etc.).
    (6) And not only does a font have multiple names, it can have each of those names in multiple languages and encodings.
    Any clarification would make this a better question.

  • How to get the actual value rather than pixel value in vision assistant

    how to get the actual value rather than pixel value by vision assistant in my program.As shown in the figure            this is my programme   this is the result       But i want to get this result

    Check the documentation for the "ADF Dialog Framework"
    It may help
    Atilio

  • My iPhone getting stolen,how I get the actual location my iPhone way using the apps find my iPhone?

    My iPhone getting stolen,how I get the actual location the full address to find my iPhone way using the apps find my iPhone?

    If you set up the Find My iPhone service prior to your iPhone going missing - the app is for tracking a device from another iOS device - then there is a chance that can be tracked, though it depends on a number of factors (the iPhone is turned on, connected to either the 3G or a WiFi network, or has not had the Find My iPhone service disabled or the iPhone been completely restored). Log into icloud.com and go to the Find My iPhone section. If you did not set up Find My iPhone, check with your cell carrier. Some carriers offer their own tracking service, though you usually have to pay for it. 
    If your carrier does not offer such a service and you did not set up Find My iPhone, then there is no way to track the unit. Contact the police and change any passwords for any online accounts you may have used from your iPhone (the iTunes Store, for instance). 
    Regards.

  • How to get the current Mailbox size

    Hi,
    Does anyone know how to get the current size of Mailbox and Archive by using GW api?

    Originally Posted by NanLau
    Hi,
    Does anyone know how to get the current size of Mailbox and Archive by using GW api?
    Can anyone answer this? Thanks.

  • How to get the actual height of JEditorPane?

    I have a basic question on the JEditorPane. Do I have to show the JEditorPane on a temporary Frame in order to get the actual height? My work around is to show the JEditorPane on a frame, get the JEditorPane height, then dispose the frame. It would be nice if I can get the actual height of JEditorPane without showing the frame.
    This is test my code.
    import java.awt.*;
    import java.lang.*;
    import java.net.*;
    import javax.swing.*;
    public class Test {
    public static void main (String [] args) {
    double w = 0;
    double h = 0;
    JEditorPane editorPane = null;
    try {
    URL url = new URL("file:test.html");
    editorPane = new JEditorPane(url);
    } catch (Exception e) {}
    editorPane.setPreferredSize(new Dimension(400, 700));
    w = editorPane.getWidth();
    h = editorPane.getHeight();
    // output "width: 0 height: 0"
    System.out.println("width: " + w + " height: " + h);
    // This my work around the get the actual height
    JScrollPane scrollPane = new JScrollPane(editorPane);
    JFrame frame = new JFrame("TESTING");
    frame.getContentPane().add(scrollPane);
    frame.pack();
    frame.show();
    // wait for loading data
    try {
    Thread.sleep(20000);
    } catch (Exception e) {}
    w = editorPane.getWidth();
    // actual height based on the width and the size of test.html
    h = editorPane.getHeight();
    // output "width: 597 height: 24320"
    // 24320 is the actual height that i want
    System.out.println("width: " + w + " height: " + h);
    frame.dispose();

    This thread uses a PropertyChangeListener to notify you when the page is finished loading.
    http://forum.java.sun.com/thread.jsp?forum=57&thread=333171

  • How to get the personal folder size

    Hi,
    I'm trying to develop a method for define the maximum size of personal documents folder. I'm changing the Upload Command, and I want to know if its possible to get the current size of the personal documents folder for the user that is trying to upload the document.
    For this moment, I've got the current UserID, and I have created an RID with the path "userhome/UserID/Personal Documents", but now I don't know how to get the size of this folder!!!!
    Thanks to all.
    Arnau Rovira

    Originally Posted by NanLau
    Hi,
    Does anyone know how to get the current size of Mailbox and Archive by using GW api?
    Can anyone answer this? Thanks.

  • How to get the Actual Query of View Object

    Hi all,
    I have a standard. I need to modify the query of the VO attached to a picklist based on responsibility. I am able to achieve my requirement but it is getting reflected for all the responsibilities even though i extended the controller for a particular responsibility. I used setQuery() to change the query of my VO. When checking "About this page". The code i added also shown in the page. Now i want to get the actual query to the VO before the controller is extended so that i can set the modified query or actual query based on my responsibility. Kindly share your knowledge.
    Regards,
    Pradeep

    Hi,
    I guess following query will not work ,Why use 2 where clauses.
    SELECT * FROM (select NVL(VENUE_NAME,' ') "Venue",
    NVL(VENUE_CITY,' ') "City",
    NVL(COUNTRY_DESC,' ') "Country",
    EVENT_NUMBER
    From NS_EVENT_VENUE_DETAILS,NS_COUNTRY_MASTER WHERE COUNTRY_CODE = VENUE_COUNTRY) QRSLT WHERE (QRSLT.EVENT_NUMBER = 1539
    you can as following using bind variable.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcquerying.htm#CEGDGIJH

  • How to get the actual key pressed in a UITextField

    Hi all , now i develop a program on iphone SDK 3.0 GM.
    I have an UITextField (created programmatically) and I have implemented the delegate as well as the UITextFieldTextDidChangeNotification so that I can react to changes in the text values.
    However, I specifically want to know when the user presses the backspace key in the UITextField when there is currently no text in the field. I can't find where I can get a specific notification of the actual key pressed, as opposed to the resulting state of the text. I'm sure there is a way to do this...help?

    I can imagine why you want to do it. I had the same problem myself and managed to circumvent it in a slightly painful way. What I did was to subclass UITextField to create a text field that always had text in it, even when it "seemed" empty. In fact the first character of the text is a space character, and then what follows is the actual text. In this way, your delegate will always get called about a backspace (when it's an attempt to delete the leading space character, obviously you should return NO in the textField: shouldChangeCharactersInRange: replacementString: method). I won't get into the details of exactly how to set everything up, like I said it is kind of elaborate and I wouldn't really recommend it unless you are desperate to have that kind of functionality.

  • How to get the latest screen value (of input field in VA01)

    Hi Experts,
    I have a problem that when I am in VA01 (create sales orders) I see the (old) default value of the Req.Deliv.Date
    (in Item Overview tab). I don't see the latest entered value.
    This is screen field RV45A-KETDAT.
    Eg When I enter VA01, I first enter the order type.
    In the next screen you will see that the Req.Deliv.Date has already an intial value (current date).
    Now when I change this field to Nov 14 2011, I will still see the delault current date (in PAI).
    Only much later, the program will adopt the new value (but this is too late for me).
    (I actually need the value in FM SD_PARTNER_ABLAD_SELECTION)
    How come and how can I retrieve the latest value?
    (I already tried FM DYNP_VALUES_READ but this didn't help)
    Please advice.
    Thanks very much!
    Guido

    Did you try DYNP_VALUES_READ like this
          PERFORM DYNP_VALUES_READ USING 'SAPMV45A'
                                   '4001'
                                    'RV45A-KETDAT'
                           CHANGING RV45A-KETDAT
                                    SY-SUBRC.
    try writing this where you need your values. This oerform already exists in VA01 code and is used in teh PAi for another field. So just try callign this with these values and see if it helps.

  • How to get the HTML page size displayed in JEditorPane

    Hi All,
    I'm using a JEditorPane object in order to view/display an HTML page. The nature fo my program is that it does not know the size of the page in advance, but only on runtime. I'd like to get the size of the HTML page in order to determine the frame size according to the size of the HTML page.
    Is there a way to get the size of the HTML page from the JEditorPane?
    Thanks.

    after displaying the page in your editor pane you can get the diamension for the page by calling
    JComponent class method getSize();
    actually your question is not so clear
    use the JScroll pane then you don't need to worry about the size of the page.

  • $FLEX$. references - how to get the actual record id as a reference

    Hello,
    I'm using the DFF with title 'Customer Information' from Receivables, which is on a customer account (hz_cust_accounts table). How do I retrieve the actual row's PK/cust_accounts_id or the account_number being edited on the page?
    I tried $FLEX$.ACCOUNT_NUMBER
    (since ACCOUNT_NUMBER was defined as a column in the DFF registration),
    but this didn't seem to work.
    ==
    Thanks. Gina.

    Gina,
    Can give us the details of what you are trying to achieve?
    It is unclear whether you are using the accout number as a segment in the DFF registered against customer accounts (Why would do that?). Are you trying to capture more information against one customer account number in a DFF?
    If you are in the customer account block and usually you get any value in that block with this notation:
    :BLOCK.ACCOUNT_NUMBER where block refers the current block you are in.
    Is this what you are looking for?
    Thanks
    Nagamohan

  • How to get the actual path of a file present in the Web content folder

    I have a jasper file which is present inside the Web-Content folder of my project.
    I need to pass this file as an argument to the FileInputStream object. How can i give the actual path of the jasper file, since this project can be deployed anywhere else also.

    You may be able to use the getRealPath or getResource methods in ServletContext

Maybe you are looking for

  • Error installing cc on mac running parallels win 7 pro

    new mac arrived today installed parallels installed windows 7 pro paid for lightroom and photoshop on a monthly basis tried to install creative cloud failed and failed and failed and failed...... error 1001. spoke to adobe support in timbuktu, absolu

  • System command in Process chain

    Hello, I have a system command in the process chain which points to a command file that is supposed to run. My problem is that when I transport the PC, the path on the system command remains same. I want it to change the path from /md.... in dev to /

  • Sattelite Pro A10-S703 Memory Upgrade

    I cannot find any specification for the memory upgrade for the SA10-S703 Model. Which memory should I buy? Please help, as this is kind of urgent

  • Mountain Lion calendar and notes sync problems with exchange server via WLAN

    After upgrading to Mountain Lion calendar and notes do not sync anymore with my exchange server via WLAN. There are no syncing problems via ethernet if WLAN is deactivated. Mail works fine with both connection types. Similar problems known? Solutions

  • Help required with Select statment..... ASAP pls

    HI All, Let me desc my table first . 01                             NOT NULL VARCHAR2(5)