Can we set the window size of the applet dynamically

if we have embeded applet as <applet code="some" height=200 width=200></applet> can we dynamically increase the size of the applet dynamically ie., width and height.

yes you can with javascript

Similar Messages

  • How can I customize the window size of the PDF viewer?

    Hi
    Every time I open a PDF invoice in the built in PDF viewer - in Firefox Mac - I have to resize the the window and zoom the page to see what's on it. Is there a way to set a default window size that suits me better?

    You can vote for this bug to show your interest in getting this enhancement:
    *Bug 845946 - pdf.js does not remember zoom mode
    <i>(please do not comment in bug reports: [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html])</i>

  • Can't set a new size to the JTable  =((  HELP!!

    Hey everyone, gosh im so tired of this :( ..im still trying but i cant do what i wanted.
    Here's the issue:
    The problem of Editable is solved , just set to table.Enabled(false); done :)
    Now how can i set a Size to that JTable , cuz is not working like : table.setSize (...,...) thats not working and i dont know why =(
    Another question how do i fix the columns i mean, its possible to drag and switch the columns and i dont want that.
    public VPQueryResult(Vector data, Vector colnames) {
            this.colnames = colnames;
            this.data = data;       
        public void showTable(){
            table_model = new DefaultTableModel(this.data, this.colnames);
            table = new JTable(table_model);
            table.setRowSelectionAllowed(true);
            table.setCellSelectionEnabled(false);   // -------->   NOT WORKING!!! =(
            frame = new JFrame ("Title");
            frame.getContentPane().add(new JScrollPane(table));
            showFrame();     
        public void showFrame(){
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setLocation(300,200);
            frame.setResizable(false);
            frame.pack();
            frame.setVisible(true);
        } thks in advance!
    Edited by: Java__Estudante on 4/Dez/2008 0:22
    Edited by: Java__Estudante on 4/Dez/2008 0:27

    Im just using what u are seeing on this code:
    public VPQueryResult(Vector data, Vector colnames) {
            this.colnames = colnames;
            this.data = data;       
        public void showTable(){
            table_model = new DefaultTableModel(this.data, this.colnames);
            table = new JTable(table_model);
            table.setRowSelectionAllowed(true);
            table.setCellSelectionEnabled(false);  
            frame = new JFrame ("Title");
            pane = new JScrollPane(table);
            frame.getContentPane().add(pane);
            showFrame();     
        public void showFrame(){
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setLocation(300,200);
            frame.setResizable(false);
            frame.pack();
            frame.setVisible(true);
        }Thats why im askin' if i need to add anything else to the code, i dont work with swing for a long time, so it might be something that i forgot to do, dont know
    Any idea , change the code if u want so i change the frame size.
    what would u do? i dont have panels or layouts just a JTable and a JFrame

  • Can I set JVM memory size when running applets?

    Hi,
    I have downloaded an applet that renders panoramic images and
    I have a problem with Java memory. I remember that default maximum
    size that applet can use is 70MB, and the problem is 70MB is
    not enough when rendering big images. It is OK when I add
    "-Xmx -Xms" parameters in the Java Control but I cannot tell
    everyone who wants to see my images to go control panel, add
    parameters etc..
    So my question is...
    Is it possible add "-Xmx -Xms" parameters inside the applet file
    so that these parameters run automatically when executing applet?
    Thanks in advance for your reply!
    Hyung

    Hi,
    I have downloaded an applet that renders panoramic
    images and
    I have a problem with Java memory. I remember that
    default maximum
    size that applet can use is 70MB, and the problem is
    70MB is
    not enough when rendering big images. It is OK when I
    add
    "-Xmx -Xms" parameters in the Java Control but I
    cannot tell
    everyone who wants to see my images to go control
    panel, add
    parameters etc..
    So my question is...
    Is it possible add "-Xmx -Xms" parameters inside the
    applet file
    so that these parameters run automatically when
    executing applet?
    Thanks in advance for your reply!
    HyungA potential workaround I would try is is use ByteBuffers
    (T)

  • How to adjust the window size in overview screen of a scorecard ?

    Hi Experts,
    In <i>SEM</i> application is it possible to adjust the size of the "<b><i>Perspective</i></b>" windows in the Overview screen of a <i>Scorecard</i> ?
    If possible how ?

    hi,
    If you change the window size of the script in the original language, it should reflect in the other languages.
    Please activate the script in english once again and see the spanish form again.
    @SAP_WIZ
    As far as chaniging window size is concerned, Please edit your script in ES and then change it.Or login in ES and then edit the script.
    This is not possible, because the original script is in english.
    Regards
    HM

  • How can I save the window size so that when I restart Firefox the size of the window is appropriate for my portrait mode monitor?

    I have a 2 monitor setup with my second monitor in portrait mode. Whenever I start Firefox (on my 2nd screen where I always open it) I always have to resize the window so it goes down to show more info. I cannot figure out how to reset any type of default window size for the height and width parameters.

    Hi,
    From your post, I assume you are creating WebHelp output.
    You  need to create a window for the help in the Project Set-up pod. Then,  you need to make sure you call the output so that the window is used.  See http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm.  This article on Peter's site give you an overview over the  possibilities of calling context sensitivive webhelp and also tells you  how to specify the needed window. Also, the installation directory of  RoboHelp 8 contains a directory called CSH API. In there are example  API's your developer can use to call the help.
    Greet,
    Willam

  • How do I set the window size of a course in SumTotal (LMS)

    I recently created an AICC course using Captivate 5.5 for a client using SumTotal as their LMS. When the client loads the course, the course launchs in a window that is smaller than the course itself; the user then has to adjust the window size to view the entire course. I have read on various posts that this cannot be controlled by myself through the .htm file settings, and that this has to be set within the LMS.
    So my question is: Where and how does the client set the course window size within SumTotal? Does anyone know?!
    thanks

    No, edit the html files that come with Captivate. Either hand edit the
    html file that is produced every time you publish, or locate the files
    in the Captivate 5 directory and customise them to suite your needs.
    Steve

  • How can I change the window size of iTunes?  Used to be easy before installing Mavericks.

    How can I change the window size of iTunes on my iMac?  Used to be easy before installing Mavericks.

    If you want to make the itunes tab so you can see the dock
    you press the
    esc
    button if your in full screen mode
    if you want to get into full screen mode you press the arrows facing away from eachother in the top right corner
    there is another way to get to the normal tab if your in full screen
    make the curser go right up to the top of the screen and it will show the apple tab
    it will have two arrows facing together highlited in blue
    if u tap that it will take you to the normal tab

  • I have a early 2008 Macbook Pro, need to up grade the hard drive so that I can add a windows environment what is the largest drive that I can put in this computer? Is the storage size the constraint or the physical size of the drive? Or a combination?

    I have a early 2008 Macbook Pro, need to up grade the hard drive so that I can add a windows environment what is the largest drive that I can put in this computer? Is the storage size the constraint or the physical size of the drive? Or a combination?

    The largest capacity HDD that you can install is the HGST 1.5 TB HDD:
    http://eshop.macsales.com/item/HGST/0J28001/
    Any 2.5" 9.5mm thick SATA HDD will fit and operate in your MBP, regardless of capacity.
    Ciao.
    Message was edited by: OGELTHORPE

  • How do I set a fixed page size in Muse so that the window always stays the same size

    how do I set a fixed page size in Muse so that the window always stays the same size

    Hi Aish & thanks for responding;
    I would like the window size to stay the same for the entire site and not be
    able to scale to drag & scale it. ie 950 pixels x 500 pixels.
    Thanks,
    JB
    On 12/4/14 3:30 PM, "Aishvarya Raj Rastogi" <[email protected]>

  • After update the latest photoshop cc 2014,contact sheet font can't set what point size I want

    After update the latest photoshop cc 2014,contact sheet font can't set what point size I want.

    Yes I do,but I don't understand that :
    Wed Oct 22 2014 16:55:21 GMT+0800 -
    CSXBridge.runFromBridge()
    Wed Oct 22 2014 16:55:21 GMT+0800 - Sending to PS: [
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-1_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-2_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-3_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-4_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-5_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-6_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-7_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-8_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-9_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-10_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-11_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-12_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-13_CC.tif,
      /My_Job/LP_10-14/Michael%20Sloyer/Sloyer%2020x30-14_CC.tif]

  • Can you change the default size of the Clip Monitor window in PE 13?

    Can someone please confirm whether it is possible to change the default size of the clip monitor window in Premiere Elements 13. Searching this question brings up a reply to someone who asked the same question about PE 7; the answer then was to open the clip monitor window, adjust its size and then leave it open for the duration of the editing session. Is this still valid for PE 13, or is there some other way of adjusting the default size of the window so that the next session opens at the same size as the last one? Help appreciated.
    CD.

    Major Sparky
    Just a supplemental observations
    There are certain actions even in the project that remains open that will close the opened, sized, and positioned Project Window.
    Also
    1. If you go to dual monitor system, typically the program does not remember the dual monitor setup when the project is saved closed and reopened.
    2. If you use the project without a dual monitor system and save close project with the Preview Window open, sized, and positioned, when you re-open the project, the Preview Window is gone and would need to be reopened, sized, and positioned again.
    ATR

  • My new Firefox ver 29 always starts maximized how do i set the window size and not maximized?

    I had reinstall my Windows 7 (win 7 pro 64bit)
    so i had to reinstall firefox as well, installed ver 27 and updated it to version 29
    now when i start firefox it will start maximized and i want to set the window size when it starts,
    why the size of the window will not change and it will start maximized all the time?

    # In Firefox, type ''about:support'' into the address bar and press Enter.
    # Click the Show Folder button. A Windows Explorer window opens.
    # Right-click the Firefox taskbar icon and choose either Close All Windows or Close Window.
    # In the Windows Explorer window that opened earlier, delete the ''localstore.rdf'' file.
    # If you have Firefox pinned to the taskbar, right-click the taskbar icon, then right-click the Firefox icon in the menu that pops up and choose Properties.
    #* If you have a desktop shortcut, simply right-click it and choose Properties.
    # Click the Shortcut tab in the Properties window.
    # Make sure Run is set to "Normal window".

  • HT6030 In mavericks mail, I can no longer collapse the preview pane. I don't want to acknowledge receipt of certain spam messages so changing the size of the window isn't the answer.

    In mavericks mail, I can no longer collapse the preview pane. I don't want to acknowledge receipt of certain spam messages so changing the size of the window isn't the answer because they are no longer unread.

    Ah yes school boy error there out of frustration and discontent..
    My issue is with music/apps/films etc not downloading from iTunes / App Store.
    They initially fail and message is displayed stating unable to download / purchase at this time, yet if I retry it says I've already purchased (?) or alternatively I go to the purchased section and there they are waiting with the cloud symbol..
    However some items get frozen in the download window and cannot be retried or deleted. Message appears stating to tap to retry, but even if you stole every bath and sink in the uk you'd still not have enough taps.
    I post here as the iTunes guys are useless in there 'help' and have only advised posting here or phoning apple, at my expense, to explain a problem that could be rectified by forwarding my original email to a techie. However the tech team apparently don't have an email address as they're from ye olde Middle Ages..!
    Anyways I digress.
    So I tried sync to pc, but instead of showing the file as ready to listen/use/view, the iCloud symbol shows and I'm back to square one as the item is unable to download..
    At frustration station waiting for a train from pain...
    All my software is up to date, and had all worked fine prior to the last big iOS update that resulted in all the changes in display and dismay.
    Answers in a postcard :-)
    Much love

  • How can I resize the window size of my website?

    My site is
    http://linguistine.com/
    I put the swf in a html page but i'd like the window to be
    the dimensions of the swf not the html page. Is there an easy way
    to do this?
    Thanks
    Jamie

    Hi, not sure about your question, but, I would like to say
    that I think the design work in the site is really good. I do know
    that in Dreamweaver, this sort of issue would be handled by using a
    javascript in 'Behaviours', maybe the same exists in Flash. Can't
    check as I am on Flash 7 and would guess you are 8 or 9.
    Regards Jonathan

Maybe you are looking for

  • Looking for a solution to simply drop outliers

    I have created an application to measure a Helium concentration, using an Alcatel ASM-102 Leak Detector.  The problem is that occasionally, the device sends out a bogus value, perhaps 0.00x10^0 or perhaps 2 x 10^-2, reather than 2 x 10^-7.  I am look

  • Transferring music from old computer using ipod

    I recently transferred music from my old computer to my new computer using my ipod by following the directions in apple support (article 300173.) I already had music in itunes on my new computer when I added the music from my old computer. Now all th

  • ITEM TEXT Not Pulling in to Sale order Item Level

    Hello All, I have maintained ITEM Text in VD52 CMIR, when i try to create Sale order  and trying to check the item text at item level but it is not pulling, please suggest me where i need to correct. Thanks in advace, Suma

  • Screen Share for Brand New Mini Server

    Hello all, just unpacked the brand new Mac Mini Server and don't know what to do. We all work on laptops in my studio so have no keyboards to use with the thing. I haven't turned it on yet, but is there a way to immediately go into remote screen shar

  • Satellite Pro P300 heating to the point of burning

    My laptop is getting so hot underneath that its burning my leg. Any ideas whats the best option for this? I can still hear the fan working but I can't think of what it could be.