Opening Another Form and other Qs

I am very unfamiliar with Java, and could do with some help with the following :
How do I call another form to open from an existing form, which is from a different file?
How do I disable the 'Close', 'Maximize' and 'Minimize' buttons on the top right corner of a form?
In Visual Basic, I remember learning something like app.path to reference to the path which the file is in. Is there any similar code to do this in Java?

How do I call another form to open from an existing
form, which is from a different file?Ther are a couple of ways you can acheive what you want. If you want a whole new window you just create a new Frame
Frame newframe = new Frame("my new frame");
newframe.setvisible = true;Otherwise if you just want to cycle through forms in a frame check out the CardLayout and JTabbedPane classes.
How do I disable the 'Close', 'Maximize' and
'Minimize' buttons on the top right corner of a form?Look at the API for frame, I know there is a setSizeable (or something to that effect) I think there are options to remove other buttons.
hope that's a good start.

Similar Messages

  • Model diloge button click open another diloge and close of another diloge close all model diloges.

    When user clickes on link he gets model diloge with some fields,
    when clicked OK button all values will save and user should get another diloge, and on another diloge save form will close, and that should close all diloges.
    Or we can have like on click on OK button close save values current diloge and open another one. and Another one when clicked submite close it.
    how this can be achive.
    i tried
    string pageUrl = "/siteName/_layouts/Solutionname/form.aspx?isdlg=1&ID=" + newRequestID;
    string script = @"<script type='text/javascript'>window.frameElement.commitPopup();
    var modalDialog;
    function ShowForwardDialog() {
    var options = {
    url: '" + pageUrl + @"',
    tite: 'Time Title...',
    allowMaximize: false,
    showClose: true,
    width: 440,
    height: 120 };
    modalDialog = SP.UI.ModalDialog.showModalDialog(options);
    ExecuteOrDelayUntilScriptLoaded(ShowForwardDialog, 'sp.js');</script>";
    ClientScript.RegisterClientScriptBlock(this.GetType(), "OKScript", script);
    also tried without window.frameElement.commitPopup(); but nothing seem working.

    I used 1600Mhz Corsair Vengeance RAM. You can either get it in matched sets or in single modules.
    The default system RAM is made by Samsung and also runs at 1600Mhz.
    Thinkpad W530, i7-3720QM, 1920x1080 screen, 32GB RAM, dual SSDs (Samsung 830, Crucial M4 mSATA), Quadro K2000M, 9-cell battery, DVD burner, backlit keyboard, Bluetooth, Intel 6300 wireless card

  • How to link another forms and reports in one main forms?

    hai all,
    how to link another forms and reports in one main forms?
    i am creating Custom forms Main_menu
    in that i am puting on button and
    pl/sql code for when-button-pressed
    BEGIN
    Open_form('GROUP_MSTR_ENTRY');
    END;
    i am getting:
    ERROR:frm-40010: cannot read form GROUP_MSTR_ENTRY
    also i am un able change the text colour in form.
    how to link reports in forms?
    any help?
    before open i have to link all form i need?
    thanks in advance
    rcs
    ------

    even after changing to The forms_path variable and
    put the executable(GROUP_MSTR_ENTRY.fmx
    F:\oracle\ora90\FORMS60\server\FACCT\MAIN_MENU\GROUP_MSTR_ENTRY.FMX
    not working
    also i am un able change the text colour in form. how?
    how i can find?
    $ORACLE_HOME/forms/server/default.env
    my files are
    9i oracle database
    SQL*Plus: Release 9.0.1.0.1 - Production on Fri Dec 19 11:37:07 2008
    E:\oracle\ora90\bin\oemapp.batt
    forms6i
    F:\oracle\ora901\bin\
    since 9i is later than forms 6i i am unable to put in the same directory
    ------------

  • I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    Check your settings in Options > Applications: https://support.mozilla.com/en-US/kb/Opening%20PDF%20files%20within%20Firefox#w_check-firefox-settings
    Also see:
    *https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox
    *http://kb.mozillazine.org/File_types_and_download_actions
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]

  • I have created a form in InDesign, exported to a pdf, created an editable form and saved.  When I open the form and make changes and save, the reopen the changes are there.  If try to email this form as an attachment after editing, the attachment is alway

    I have created a form in InDesign, exported to a pdf, then created an editable form and saved.  When I open the form and make changes and save, then reopen the changes are there.  If try to email this form as an attachment after editing, the attachment is always minus the edits.   ????

    Hi chuck,
    If you ave created the form and then filling it yourself and saving the form, the filled data should be there when you reopen the same form.
    Can you please send the form to me at [email protected]  so that I can have a look.
    Regards,
    Rave

  • I opened my form and downloaded the form to post on my website... but the submit button is not working.

    What am I doing wrong? The first time I created my form I used Acrobat and the FormsCentral embedded in the program. The original form was working, but I had to make some changes to it. I can't get FormCentral to launch within Acrobat anymore. I loaded my new form (with the changes) to Forms Central through the browser interface, yet when I open the form and download the form to post the posted form does not work. Help!

    Hi,
    if it's ok for you, people can send a email at your adress, it's enough to use (translated from German-DW):
    Insert -> email link. In my DW it looks lik this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>eMail</title>
    </head>
    <body>
    <a href="mailto:[email protected]">eMail</a>
    </body>
    </html>
    The users click into the word "eMail" your eMail-program wil start.
    Naturally there are som other ways, like this for example:
    <td width="35%"><input id="send" type="submit" name="Submit" value="send" />
    I suggest first try or test the easy way.
    Hans-G.

  • Everytime I open the window it keeps on reloading it self over and over again and when it's not doing that and I open another tab and try to go back to the previous tab it reloads itself....Please Help

    Every time I open a window in firefox it constantly reload itself and when I finally get it to stop and open another tab and try to go back to the previous tab it reload itself....Please Help
    == This happened ==
    Every time Firefox opened
    == About 4 months ago

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Hi, I've checked how to use kannada keyboard in Yosemite. But, there are some 'vattu forms' and other grammar in Kannada language that I don't know how to use it. For eg, Preetiya taatanige nimma muddu mommagalu maduva namaskara? How to write this?

    Hi, I've checked how to use Kannada keyboard in Yosemite. But, there are some 'vattu forms' and other grammar in Kannada language that I don't know how to use it. I know how to change between the keyboards and can also view keyboard. However, For eg, 'Preetiya taatanige nimma muddu mommagalu maduva namaskara' How to write this? If anybody can answer this, very much appreciated.
    Thanks in advance for your reply.

    In general, you need to use the "f" (kannada qwerty keyboard) or "d" key (kannada) between letters to make special forms.  Also you may need to adjust the typography settings of the font, which is done by doing Format > Font > Show Fonts > Gear Wheel > Typography as shown below.  If you can provide screenshots or more detailed info on things you cannot make, I can perhaps help.
    It is important to note that MS Word for Mac does not support Indic scripts -- any other app should work OK.

  • Must I open FB, skype, and other IM apps to get push notification in iphone 4s?

    Must I open FB, skype, and other IM apps to get push notification in iphone 4s? Because I notice that once i close the apps, it will not send me message. I thought that is what "PUSH" means??

    ok, i saw a line saying "If the app requires entering or logging in to an account, you will need to do this before receiving notifications."
    so, that means i must "open" the app in background in order to get push notification??
    what i mean by PUSH notification is by double clicking your home button, then press on the apps and CLOSE the app and yet you can get message from your friends. I think iphone cannot do that currently?

  • How to open a form and close another one

    hi,
    I wish to open a form from another, and then close the calling form. In other words, having FORM1 and FORM2, FORM1 should do this:
    OPEN_FORM ('FORM2',ACTIVATE,SESSION);
    EXIT_FORM(NO_COMMIT,NO_VALIDATE);
    but I cant get this to work. As FORM1 is modal, it opens FORM2 but its still open. Changing the order of the two statements only cause FORM1 to be closed. Can I perform the two operations from within FORM1, avoiding to put the EXIT_FORM statement in FORM2?
    thank you

    Hello,
    Use NEW_FORM to replace the calling module.
    Francois

  • Frm-92101 happens when I open a form from another form and close it.

    Frm-92101 happens when I open a form from another form, check something, show a message to the user and exit the form to the previous form.
    Forms version: 10.1.2.0.2. Java: 1.6.0_23. Browser: IE6
    When I put before the "EXIT_FORM" two messages, everything is fine and the second form is closed and I repeat to the first form just as I wanted.
    In forms 9.0 it didn't happen.
    Does it have a connection with the fact I use JRE instead of JInitiator?
    Thank you.

    >
    There are numerous causes of the FRM-92101 error. I recommend you start your investigation by tracing your Forms session so you can see what your form is doing when the error occurs. Check out My Oracle Support document How to Use Forms Trace with Forms [ID 209372.1] for information on how to enable the trace. Also, take a look at My Oracle Support document Known Causes of FRM-92101 Error In Forms [ID 604633.1].
    Hope this helps,
    Craig
    >
    I have just found that there is a "Synchronize" command in one of the main attached libraries, and when I comment that command the application works well. But I don't want to comment it because it's a great library and I assume it has a part in the system.
    I have discovered that in the new Forms' help, the fact that the System.Current_Item mustn't be null so the command "Synchronize" will work, is mentioned. In the old Forms' help, that fact is not mentioned.
    So I tried to put it inside a condition that checks if the current item is not null, but the compiler doesn't recognize the "current_item". I don't know why. Because it's a library? So how can I check this? I can sent it as a parameter, but I don't want. Do you know something about it? Thank you.

  • Opening another account and wants all itunes and photos to go on other account but wont work.

    im trying to open another sign in account and its just started it with no information in it like no songs in itunes or photos. how can i make it so 2 accounts are the same but in 2 different names?

    Itunes floder canot be shared whit multiple users and that means that 2 user accounts means 2 itunes maps duplicates if you have 1gb of musick it wil than be 2 gb if you wand it on the two acounts.
    there are many ways on doing this if you wand it thou i would not advise this unless you have a small amount of music.
    the photo's wil be ease and the only thing you will need to do is:
    go to Pictures in you're home folder and move  "iPhoto Library" ore the photo's and move it to
    /Macintosh HD/users/Shared
    if you cant tis map and haven't renamed the hard drive go to finder cick on go in the menu an then on
    "Go to map..." and copy: /Macintosh HD/users/Shared
    p.s. if you use iphoto the first time after moving you will need to open it by duble ckikking the "iPhoto Library" you moved in the shared map

  • I had about 17 tabs open on my browser. I clicked a link to open another one and when the tab opened the other tabs disappeared. What happened here?

    I had 17 tabs open. When I clicked a link to open a new tab all the other tabs disappeared. I thought a new window had been opened instead, but this is not the case there is only one window open on my mozilla browser. If I try to close the window I get a message that says there are 26 tabs opened, I opened 9 more tabs. Can anybody tell me what is going on here or how I might figure this out?
    Also, when I close a tab and try to reopen the tab using the right click menu, the 'undo closed tab' menu is disabled. What happened here? Can anybody tell me how to re-enable it?

    I've seen some occasional glitches with windows losing the toolbar area, but not one that disturbing.
    If you click and drag down on the 18th tab enough to tear it off into a new window (and possibly the same for the other newer tabs you opened), can you get the 17 tabs to re-appear in the first window? If not, I'm not sure there is a way to mend the window. If it's NOT a private browsing session, you might have to use Firefox > Exit (or File > Exit) and restore your session to get a working window. That won't work with a private window...
    As a backstop, you might also right-click a tab in the window > Bookmark All Tabs before ending your session. (Because session cookies and other transient data are not preserved when you reload bookmarks, this isn't as effective as restoring a session. On the other hand, bookmark storage is less fragile than session data storage.)
    Regarding Undo Close Tab, are the closed tabs listed on the History menu under Recently Closed Tabs? If so, that context menu item definitely should be enabled.

  • Use hyperlink to open another page , and pass some parameters to that page

    Hi
    Thank you for reading my post.
    How i can use hyperlink to open another jsp file in a new window meanwhile pass some parameters to it.
    for example i need something like this :
    http://127.0.0.1:8080/myProj/faces/Viewmessage.jsp?messageID=10
    i can not use session bean because i must open that in a new window and use hyperlink not Action
    Thank you

    I tried the following in the equivalent of your Viewmessage (page bean):
            ExternalContext eContext = FacesContext.getCurrentInstance().getExternalContext();
            String text = "Parameters: ";
            Iterator it = eContext.getRequestParameterNames();
            Map requestParams = eContext.getRequestParameterMap();
            while (it.hasNext()) {
                String key = (String)it.next();
                String value = (String)requestParams.get(key);
                text += "; " + key + " = " + value;
            staticText1.setText(text);That works as expected when you reach that new page via a hyper link.
    The session object is also the same as in your `old' window. So be careful about synchronization!
    I hope this helps.
    -- Marco

  • Open system form and select a row number on matrix by click on button

    Hi experts,
    I have to open the purchase order form and select a specific row number from the matrix by clicking a button on sales order form.
    is it possible ?
    can anyone help me to achieve it?
    Thanks in advance.
    Best regards
    Andrea

    Andrea,
    To Do? Clicking on a Button on Sales Order -> Opens a PO form, and selects the row?
    In the eventhandler of a button click if the PO is not linked to SO by SAP B1 standard functionality
    step 1. call ActivateMenu ("2305") of Sbo_application , this opens the PO form
    step 2. Change the form to Find mode
    step 3. enter po number to the Item UID "8" which is the document number.
    step 4. Send enter key, or Clikc On button UID "1" which finds the PO
    step 5.read the value from SO form, from matrix "38" line where you selected
    step 6. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    at step 5, i think you should select a line from SO matrix which you would like to open.
    IN sales order, If you used PO chekcbox on logistics tab to create the PO, you can find a direct link between PO and SO (only in docentries are linked not positions) on sales order,  Column UID 158 field name: potrgnum.  If this connection is exists, you have an easy way:
    SO form, when a user clicks on COlumn 158 (po number), you can implement an eventhandler, which
    step 1.read the value from SO form, from matrix "38" line where you selected
    step 2. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    By processing theses steps, you can build up you solution.
    Regards
    János

Maybe you are looking for

  • Media Encoder CC will not install with PPCC on Mac OS 10.9

    After numerous tries after updating to Mavericks to install Media Encoder CC, it has failed each time. When trying to render projects in Premiere Pro CC a screen pops up that says I am using an old version of Media Encoder and need to update so I go

  • Dynamic internal table and dynamic read statements.

    Hi, My Scenario : I have two dynamic internal tables. I am looping at one internal table and trying to read another table. In the read statement how do I mention the key dyamically. Example code below :   LOOP AT <dyn_table> ASSIGNING <dyn_wa>. read

  • Text/email

    When I text or email someone they do not see  " sent from my verison wireless".  How do I set this to appear? Thanks

  • I am passing my itab data to variable declared in global declaration.

    Dear All,               I am passing my itab data to variable declared in global declaration, i am getting column one data in all eight variables declared. but column two data having 8*10=80 data i.s. for 1 entry of column there is 10 entries of colu

  • Survey name in business transaction

    Hello, I have created a survey and attached it to a business transaction. After saving the survey in the transaction, the survey name appears twice in the window above. Is there any way to prevent it? Thank you very much. Ohad.