How I can disable miximise button??

Hi all friends,
I have one swing interface(which is basically a Frame) now I want to disable "maximise button" of this interface.Can any one tell how I can do this.
Regards
Bikash

hi........
use setResizable(false) method of that container class.

Similar Messages

  • How does one disable a button in the web UI?

    How does one disable a button in the web UI? I am trying to disable the edit button in the web UI for Accounts. What are the steps to take in order to accomplish that?

    Hi Abdul,
    Locate the Toolbar group group for that application. It should be ACC_OIC01 in your case. You can deactivate a specific button (event) under the toolbar group.
    Regards,
    J.Prabananth

  • How to Restrict/Disable back button in browser

    Hi guys,
    I am writing a enterprise web application using ADF. I am using JDeveloper 11.1.2.0.0.
    I want to restrict/ disable browser back/forward buttons in all my .jspx and .jsf pages.
    It was discussed in following thread as well.
    how to Restrict/Disable  back button in browser
    Can somebody give a way to do this please.
    Regards !
    Sameera

    Hi Sudipto,
    This is one of my .jspx pages. I wonder where should I put that javascript code. I have tried in several places and didn't work.
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document title="Registration Page" id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:pageTemplate viewId="/MyPageTemplate.jspx" id="pt1">
    <f:facet name="MainPageRegion">
    <af:group id="g1">
    <af:panelSplitter splitterPosition="454"
    inlineStyle="width:943px; height:200px;"
    id="FirstRN">
    <f:facet name="first">
    <af:panelGroupLayout layout="scroll" id="pgl1">
    <af:outputText value="Registration Details"
    inlineStyle="font-weight:bold;" id="ot1"/>
    <af:separator id="s1"/>
    <af:panelFormLayout labelAlignment="start" id="pfl1">
    <f:facet name="footer"/>
    <af:panelLabelAndMessage label="#{bindings.RegNum.hints.label}" id="plam1">
    <af:outputText value="#{bindings.RegNum.inputValue}" id="ot2"/>
    </af:panelLabelAndMessage>
    <af:selectOneChoice value="#{bindings.ProcType.inputValue}"
    label="#{bindings.ProcType.label}"
    required="#{bindings.ProcType.hints.mandatory}"
    shortDesc="#{bindings.ProcType.hints.tooltip}" id="soc1">
    <f:selectItems value="#{bindings.ProcType.items}" id="si1"/>
    </af:selectOneChoice>
    <af:selectOneChoice value="#{bindings.RegStatus.inputValue}"
    label="#{bindings.RegStatus.label}"
    required="#{bindings.RegStatus.hints.mandatory}"
    shortDesc="#{bindings.RegStatus.hints.tooltip}" id="soc2">
    <f:selectItems value="#{bindings.RegStatus.items}" id="si2"/>
    </af:selectOneChoice>
    <af:panelLabelAndMessage label="#{bindings.TotalUsdAmt.hints.label}" id="plam2">
    <af:outputText value="#{bindings.TotalUsdAmt.inputValue}" id="ot3">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.TotalUsdAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.TotalPfiAmt.hints.label}" id="plam3">
    <af:outputText value="#{bindings.TotalPfiAmt.inputValue}" id="ot4">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.TotalPfiAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="pgl2">
    <af:outputText value="Creation Details"
    inlineStyle="font-weight:bold;" id="ot5"/>
    <af:separator id="s2"/>
    <af:panelFormLayout labelAlignment="start" id="pfl2">
    <f:facet name="footer"/>
    <af:panelLabelAndMessage label="#{bindings.CreatedByName.hints.label}" id="plam4">
    <af:outputText value="#{bindings.CreatedByName.inputValue}" id="ot6"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CreationDate.hints.label}" id="plam5">
    <af:outputText value="#{bindings.CreationDate.inputValue}" id="ot7">
    <af:convertDateTime pattern="#{bindings.CreationDate.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:selectOneChoice value="#{bindings.RequestedBy.inputValue}"
    label="#{bindings.RequestedBy.label}"
    required="#{bindings.RequestedBy.hints.mandatory}"
    shortDesc="#{bindings.RequestedBy.hints.tooltip}" id="soc3">
    <f:selectItems value="#{bindings.RequestedBy.items}" id="si3"/>
    </af:selectOneChoice>
    <af:panelLabelAndMessage label="#{bindings.DepartmentName.hints.label}" id="plam6">
    <af:outputText value="#{bindings.DepartmentName.inputValue}" id="ot8"/>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    <af:panelSplitter inlineStyle="width:944px; height:132px;"
    splitterPosition="452" id="SecondRN">
    <f:facet name="first">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="pgl3">
    <af:outputText value="Notes to Buyer"
    inlineStyle="font-weight:bold;" id="ot9"/>
    <af:separator id="s3"/>
    <af:inputText value="#{bindings.NotesBuyer.inputValue}"
    simple="true"
    required="#{bindings.NotesBuyer.hints.mandatory}"
    columns="#{bindings.NotesBuyer.hints.displayWidth}"
    maximumLength="#{bindings.NotesBuyer.hints.precision}"
    shortDesc="#{bindings.NotesBuyer.hints.tooltip}"
    rows="5" id="it1">
    <f:validator binding="#{bindings.NotesBuyer.validator}"/>
    </af:inputText>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" id="pgl4">
    <af:outputText value="Party Notes"
    inlineStyle="font-weight:bold;" id="ot10"/>
    <af:separator id="s4"/>
    <af:inputText value="#{bindings.PartyNotes.inputValue}"
    simple="true"
    required="#{bindings.PartyNotes.hints.mandatory}"
    columns="#{bindings.PartyNotes.hints.displayWidth}"
    maximumLength="#{bindings.PartyNotes.hints.precision}"
    shortDesc="#{bindings.PartyNotes.hints.tooltip}"
    rows="5" id="it2">
    <f:validator binding="#{bindings.PartyNotes.validator}"/>
    </af:inputText>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    <af:spacer width="10" height="20" id="s5"/>
    <af:outputText value="Registration Lines"
    inlineStyle="font-weight:bold;" id="ot11"/>
    <af:separator id="s6"/>
    <af:commandButton text="Add Item"
    disabled="#{RegistrationBean.disableAddItemBtn}"
    action="CatalogPage" id="cb1"/>
    <af:commandButton text="Search Item"
    action="ItemLitsPage"
    disabled="#{RegistrationBean.disableSearchCataBtn}" id="cb2"/>
    <af:table value="#{bindings.RegLinesRegPageVO.collectionModel}"
    var="row" rows="#{bindings.RegLinesRegPageVO.rangeSize}"
    emptyText="#{bindings.RegLinesRegPageVO.viewable ? 'No rows yet.' : 'Access Denied.'}"
    fetchSize="#{bindings.RegLinesRegPageVO.rangeSize}"
    width="900" id="t1">
    <af:column sortProperty="ProductCode" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.ProductCode.label}" id="c1">
    <af:outputText value="#{row.ProductCode}" id="ot12"/>
    </af:column>
    <af:column sortProperty="Qty" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.Qty.label}" id="c2">
    <af:outputText value="#{row.Qty}" id="ot13">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.Qty.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="UnitPrice" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.UnitPrice.label}" id="c3">
    <af:outputText value="#{row.UnitPrice}" id="ot14">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.UnitPrice.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Currency" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.Currency.label}" id="c4">
    <af:outputText value="#{row.Currency}" id="ot15"/>
    </af:column>
    <af:column sortProperty="UsdAmount" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.UsdAmount.label}" id="c5">
    <af:outputText value="#{row.UsdAmount}" id="ot16">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.UsdAmount.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="UsdPfiAmount" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.UsdPfiAmount.label}" id="c6">
    <af:outputText value="#{row.UsdPfiAmount}" id="ot17">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.UsdPfiAmount.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="UsdTotalAmount" sortable="false"
    headerText="#{bindings.RegLinesRegPageVO.hints.UsdTotalAmount.label}" id="c7">
    <af:outputText value="#{row.UsdTotalAmount}" id="ot18">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.RegLinesRegPageVO.hints.UsdTotalAmount.format}"/>
    </af:outputText>
    </af:column>
    </af:table>
    </af:group>
    </f:facet>
    <f:facet name="ActionButtonBarRegion">
    <af:group id="g2">
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    text="Save"
    disabled="false" id="cb3">
    <af:setActionListener from="#{false}"
    to="#{RegistrationBean.disableAddItemBtn}"/>
    <af:setActionListener from="#{false}"
    to="#{RegistrationBean.disableSearchCataBtn}"/>
    <af:setActionListener from="#{bindings.RegistrationId.inputValue}"
    to="#{pageFlowScope.regToEdit}"/>
    </af:commandButton>
    <af:commandButton text="Home" action="HomePage" immediate="true" id="cb4"/>
    </af:group>
    </f:facet>
    <f:attribute name="PageTitle" value="Registration Page"/>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Regards !
    Sameera
    Edited by: samme4life on May 17, 2012 2:39 AM
    Edited by: samme4life on May 17, 2012 2:42 AM

  • In Lion 10.7.x I cannot disable the Lock documents for 2 weeks in Time Machine! Thus it prevents to change anything else like the system preferences or other settings. How I can disable it?

    Hello, In Lion 10.7.x I cannot disable the Lock documents for 2 weeks in Time Machine! Thus it prevents to change anything else like the system preferences or other settings. All is locked. How I can disable it?

    Do you mean the check box isn't enabled?
    Or you remove the check but it doesn't "stick"?
    Or you remove the box but documents are stil getting locked?
    That setting doesn't apply to other things in System Preferences, just apps that support AutoSave and Versions.  If you're having a problem with System Prefs, please clarify exactly what.

  • When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.

    When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message.  I use Exchange 2010 only local users.

    I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    CRM Advisor

  • How i can disable MONITORING temp tables

    In the Oracle 10 g database stats are gathering using
    Gtaher_stats_job
    current setting is statictics _level =Typical
    i need to disable the monotoring for temp tables
    i try this command it will not change
    ALTER TABLE "RDC"."INV_TEMP"
    NOMONITORING
    How i can disable this , i read some artikel this feature is disabled in oracle 10g
    how i can disable
    tks
    rda

    Justin Note
    I would suggest that this is probably a bad idea, though. If there are no statistics on an object,
    you're basically asking the CBO to work blind. Why not gather statistics after loading a fresh set of data
    into the table?
    I am running stats once a week , so i cannnot gather fresh set of dataNicolas
    setting stats to a given value and lock them (to be not set to 0 by any gather stat process) may help as well.
    Justin
    Nicolas.
    I cannot understand this >>to be not set to 0 by any gather stat processOk my process as follows
    through sqlldr i load a data to temp table , i have a after insert trigger
    once the data insert into temp table it check for some condition and
    fire this trigger and insert into Permanent Table,
    After the process finished the temp table truncated.
    this whole process running every day .
    I already mention stats are collected once a week , no point i keep the stats
    for this temp table and suppose if i keep , it will give wong execution plan
    and insert into this temp tabel will be slow -- am i right in this step
    This is the reason i dont want stats at all in temp table
    Thanks Justin & Nicolas
    Best rds

  • How I can disable unnecessary fonts from the font menu?

    How I can disable unnecessary fonts from the font menu?
    I'm so frustrated to always browse the kilometer-long font menu. There are Chinese, Arabic, Thai, Japan etc. fonts. I will never need these fonts!
    The platform is the iMac and Maverics. Illustrator is a version CS6. All software is the latest version of.
    I get off some of these fonts using Apple's Font Book, but still there will be unnecessary Chinese, Arabic, Thai, Japan etc. fonts.
    I also have Suitcase Fusion 4, but that doesn't help in this case because I can't disable system fonts etc. I also tried the "Monolingual" software. Monolingual is a software for removing unnecessary language resources from OS X. But still I see many foreign language fonts in font menu.

    I could do with an answer to this question too
    The fonts I don't want on my system are these (all Adobe covert additions as far as I can tell):

  • Can anyone advise me how I can disable Connection Logging in Mac mail please it seems to have been added when I changed my internet settings thanks very much

    Can anybody advise me how I can disable "Connection Logging which has set itself up in Mail, when the settings were changed for internet connection I am running OSX mavericks  10.9.3 thanks very much

    I certainaly did not turn connection logging on but the effect was disastrous.  Mail would not respond as long as there was a slow connection. I figured this out through turning off all network connections and watching Mail spring back to life and let me search my messages.
    Normally if a connection is slow to respond, mail just lets the slow connection do it's thing while everything else operates largely unhindered.With connection logging turned on, your Mail app is a slave to the slowest connection to a mail server (I have 8 total)
    I had to crash mail over and over again to do a simple search of my messages until I happen to notice that this connection logging was turned on.  I found this thread, turned it off, now Mail works as well as it ever has (very buggy but usable)
    How dare Apple do that behind my back!?  After all the problems there are Mail, they have the gall to turn on logging and reduce Mail to unusable?
    I also deleted all the logs for a good house keeping seal of approvable.  They were here:
    Some day Apple might consider hiring a test team... instead of relying on all the users.

  • How we can disable access to BOM via the Display Master Recipe (C203)?

    Hi Gurus,
    How we can disable access to BOM via the Display Master Recipe (C203)?
    Thanks!

    Hi Mae Baraquio  
    Have you tried screen variant to make it as display mode.
    please refer below document for your reference.
    Learning SHD0 with Example
    if you find any query kindly revert back.
    Thanks & Regards
    Sandeep Kumar Praharaj

  • Recently bought an Imac desktop and every time i get texts, they also appear on my iMac. I was wondering if anyone can tell me the steps on how i can disable this option.

    Recently bought an Imac desktop and every time i get texts, they also appear on my iMac. I was wondering if anyone can tell me the steps on how i can disable this option.

    Text from where?  Where are they appearing on your iMac?
    http://support.apple.com/kb/HT2477  Mac Basics: The essentials
    New to Macs/My First Mac

  • I need to know how I can disable the automatic updates of Firefox, since I work in a company that is requiring this. Ideally, by group policy or some means to disable all network computers

    I need to know how I can disable the automatic updates of Firefox, since I work in a company that is requiring this.
    Ideally, by group policy or some means to disable all network computers

    Some info here (group policy) --> http://www.unidesk.com/blog/how-disable-firefox-auto-updates<br />
    Above article refers to --> http://sourceforge.net/projects/firefoxadm/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • How to properly disable a button after click or can an event disable itself?

    Can I disable  MouseEvent.CLICK after I clicked it?
    I am relatively new to coding and it seems to me as a mistake that an event will disable itself?
    Is it ok or is it prone to some mistakes?
    mainNav_buttonsGroup_mc.Products_btn_mc.addEventListener(MouseEvent.CLICK, onClick_Products_btn);
              function onClick_Products_btn(event:MouseEvent) :void {
                        gotoAndPlay("products");
                        mainNav_buttonsGroup_mc.Products_btn_mc.removeEventListener(MouseEvent.CLICK, onClick_Products_btn);
      Products_btn_timeLine.play();
    The idea is that I want to disable a button after it is clicked.

    The approach will work.  The event is not disabling itself.  The event is the occurence of the CLICK interaction.  The event listener is designated to detect that happening.  The event handler function for that listener is disabling the event listener.

  • How do i disable mouse button 4 and 5 to open new tabs or windows?

    Okay so I got myself a new mouse, its a logitech G700s mouse but I don't think that matters anyway.
    The problem is that the extra buttons on the mouse (small buttons on the side) i have are assigned as "mouse button 4" and "mouse button 5". Now to a standart mac system these buttons are assigned to open a new window or a new tab in safari but when I customly set these buttons to something else it does both of those things. For example i sat the mouse button 5 to mission control (show all windows) but now if I am using safari it also opens something in a new page if I am holding the cursor on a link.
    I just want to know how I can remove that function. To make the mouse button 5 and 4 do nothing.
    The system I use to customise the mouse buttons are a separate program. I need to know how to disable this new page function in the mac software.
    Sincerly Thomas.

    Okay so I got myself a new mouse, its a logitech G700s mouse but I don't think that matters anyway.
    The problem is that the extra buttons on the mouse (small buttons on the side) i have are assigned as "mouse button 4" and "mouse button 5". Now to a standart mac system these buttons are assigned to open a new window or a new tab in safari but when I customly set these buttons to something else it does both of those things. For example i sat the mouse button 5 to mission control (show all windows) but now if I am using safari it also opens something in a new page if I am holding the cursor on a link.
    I just want to know how I can remove that function. To make the mouse button 5 and 4 do nothing.
    The system I use to customise the mouse buttons are a separate program. I need to know how to disable this new page function in the mac software.
    Sincerly Thomas.

  • How do I disable "Exceptions" button for "Block pop-up windows" in Content tab?. I am able to Disable other Exception buttons in this tab using about:config preference.

    Need a way to disable "Exception" button for "Block Pop-up windows" in Tools-> Options -> Content tab. I want to be able to do this for Locking Down Firefox preferences.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    That button doesn't have a pref associated with it, so you can't disable that button with a pref on the about:config page or a lockPref call.
    That only leaves the choice to remove that button with code in userChrome.css
    <pre><nowiki>#popupPolicyButton {display:none!important;}</nowiki></pre>
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • Please tell me how I can disable the Ctrl-Click shortcut

    I have a three (or more) button mouse, and have had for years.
    Many applications and website need to use the Ctrl key as a modifier for certain actions. However, on my Mac trying to do this always brings up the bloody right-click pop-up menu.
    I do not need the Ctrl-click command, but can find no way to turn it off. Does anyone know how this can be done? Or is there some shareware/freeware app I can download to turn off this annoying feature (similar to Cocktail, or other utilities)?
    I urgently need help with this. Thank you.
    Best,
    A.

    If any Mac apps are using control-clicks for something other than contextual menus, I'd be surprised. Of course, seems to me that if an app's developers want to use control-click for something else, it would either work, and you wouldn't have a problem, or it wouldn't work, and thus the app wouldn't use control-click that way.
    Which means I'm not sure I understand your problem. When you say things are using "the Ctrl key as a modifier", what exactly does that mean, and how is that colliding with a control-click? What applications and web sites are the culprits?

Maybe you are looking for

  • Display Issues with 50" Samsung Plasma

    I have a 50" Samsung Plasma, and I am trying to get the display settings right with my mac mini. I have used the screen with my 2009 macbook running snow leopard via the mini display port -> hdmi cable with no problems, however, I wanted use it with

  • HT5622 Dear Dear Customer You receive this email because of urgent case. We found an unusual activity on your iTunes account.

    My Itune was suspended because of unsual activity !!

  • Suspicious Ethernet (Internet?) activity?

    My network router/modem has an led the blinks whenever there is ethernet activity ... and it blinks a lot, even if have no open apps except the finder and the dashboard ... and even when my mac is the only local net member (other than the router itse

  • Disabled Features

    I am trying to install a new printer that I bought last year (because it matches the 3 other printeres I have). I just recently tried to download the drivers from the disk that came with the printer. I realize that the drivers needed to be updated, s

  • NIO on Solaris lost selection key

    Using non-blocking NIO on Solaris 8, when I have read from a channel and switch to writing using key.interestOps(SelectionKey.OP_WRITE) the next time I attempt a select call there are no keys returned. The exact same code running on Win XP works fine