About the main Form

hello again, i just want to ask... how can i put the main frame of my java program always on top.. what code should i use... thanks in advance :)

ah, you mean like the Windows Task Manager in Microsquish's Windows, don't you? You want your program to stay on top of all other windows regardless of which window has the focus?
If so, I don't know the answer of it can even be done in java. Have you searched the forum for this or googled it?

Similar Messages

  • Calling a form from the main form

    Hello,
    As you can see here , i want to open a form, when i click on a subitem of ELEVI menu. so i did that, but that form is shown in the back of the main form.. i wanna that form being shown as a child form of the main form, or something like that..
    also, i cannot close the second form, why?
    the code for opening that form when clicking a submenu item is:
    begin
         call_form('elevi', no_hide, no_replace, query_only);
    end;Greets,

    well, the menu for the called form does not exist, so i don't have any menu on this second form, just buttons. the code for calling the form when clicking the submenu item, is:
    begin
         call_form('elevi',no_hide, no_replace, query_only);
    end;but i still can open multiple times.. why? can u be please more explicitly on how to do this?
    edit:
    it worked like this: (didn't know if it's a good solution, but it works)
    begin
         if id_null(find_form('elevi')) then
         call_form('elevi',no_hide, no_replace, query_only);
         else go_form('elevi');
         end if;
         end;Thanks for replies :)
    Edited by: Roger22 on 15.03.2009 10:41

  • RUEI keeps loading the main form

    Hello everyone,
    I have RUEI 6.5 installed on a Oracle Linux with Oracle DB 11g. When I try to login to system, the main form hangs and don't start. The URL http://[ServerIP]/ruei/main.php?frmInit=1&frmNode= show everything and says 'loading' but nothing happens.
    What should i do?

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • I need to ensure that the data environment is restored when user is returned to the main form

    Greetings...
    VFP 9.0 SP2, Win7 workstations, Server 2008
    I have a form that contains many grids, the various tables have a relationship and everything works as it should.  
    The main form gives users the ability to run other forms and programs. When a user is returned to the main form, is there a way to ensure that the data environment is back to the way it was prior to call to
    the other form/program?  I have tried create view/set view and I believe that would do what I want but when the set view command is issued, the grids are empty.   
    As always, any advice/suggestions are greatly appreciated.
    Thank you.

    Bob has it in very short.
    If you want something to stay as it is, you don't do anything to it.
    That sounds easy, but it means all your other forms have to use private data sessions to not disturb any state in the main form.
    A forms dataenvironment is its definition of data to be opened. CREATE VIEW / SET VIEW is really just very basic and won't reconstruct everything, eg no record positions. While it reestablishes relations, this won't give you the situation you left, simply
    because record positions are not saved, cursors are not saved, so all data queried while working is lost.
    You may save more info, if you really want to reconstruct a situation after restarting the application. Then you have to save IDs (better than saving recnos) and reconstruct everything.
    What is more workable is saving query parameters to find and navigate to the the same data again.
    Bye, Olaf.
    Edit: Don't take "query parameters" too literal. This might be view parameters, but can be anything you use as search criteria to let users get to their current display of data.
    Olaf Doschke - TMN Systemberatung GmbH
    http://www.tmn-systemberatung.de

  • About the tax form

    Hi, all:
    I had pay the $99 for iphone development.
    but i do not know how can i fill the tax form, pls help me.
    btw:i from HK, my bank is HongKong bank.
    this is form:
    http://www.zypda.com/mytax.jpg

    NOTE: I am not an expert, but this is how I did it:
    Assuming you're an individual developer, and don't represent a company:
    I
    3. Leave this set to 'individual'
    4. Residential address
    5. Mailing address
    6. Fill in 9 zeroes: 000000000
    7. Fill in your own tax id number, if you have one, or leave blank.
    8. Leave blank
    II
    Check a.
    III
    I understand that it isn't necessary to complete this.
    IV
    Check.
    Submit the form. You will be emailed the completed form, which you will then have to mail by post to Apple Inc.

  • About the object form in OIM

    At first, I have added a object form of RO1,The permissions for the object form has been set.
    Then,when I login to the Administrative Console as UserA and click Request New Resources to request RO1, the step2(Provide Resource Data) is skipped, it is jump to the step3 from step1 directly, that is the object form does not display. Why? Please give me some advice. I do not konw what's wrong.
    Thanks!

    Hi
    You cant achieve the above ootb. You can either have the prepops that will work great for both the request and direct provisioning (but the data from the object form will not flow to the process form even though the dataflow mappings have been done(for a request) if prepops are attached to the process form.
    I would suggest that if you do want to achieve the requirement that you've specified, you should do the following:
    1) Have the data flow mappings done and no prepops on the process form.
    1) Make all fields in your process form optional (oim will not allow you to save a process form with blank values for mandatory fields, hence you need to do this)
    2) Have a first process task (reqd for completion) in your prov process that checks if certain attributes like userid, password, etc which are required in order to create an account etc are blank or not
    3) If they are blank it indicates that provisioning was triggered off through direct provisioning and then in such a circumstance you will get the values for the fields on the process form from the User def for that user using findUsers() and populate the process form using api's and on the success of this task then trigger off the CreateUser (conditional task)
    This will work for both request based and direct prov without pre pops.

  • Is there any information about the E2E form daily operations to TSW mov,

    HI, I need information about how PRA handles daliy operations and how does it reflect stocks that afterwards must be be availiable to  TSW nominations, Is there any graphic or complete process flow from wells movements to MMstock registration and accounting ?

    Thank you Sunil,   I would like to know how we transfer product allocation from PRA to MM(ERP).  This is the key to allow product be moved with TSW solution and MM accounting.
    Stephane Lauzonv told us in a meeting held at Buenos Aires yesterday that this can be acheived with a custom development. If you have any information regarding this development We will be very grateful.
    Grretings.
    Pablo.

  • I have a main fillable form.  From this main form the user may need additional forms.  I want to create checkboxes that link to these additional forms.  This part I believe I know how to do (Properties/Actions/Open a File).  What I want to add is a javasc

    I have a main fillable form.  From this main form the user may need additional forms.  I want to create checkboxes that link to these additional forms.  This part I believe I know how to do (Properties/Actions/Open a File).  What I want to add is a javascript to the checkbox that when the new file (or form) opens some of the data (the repetitive data like name, date, etc.) from the main form is placed into the form opened where the same form fields exist.  Is this possible?

    Yes, but then it all has to be done using a script. You can't use the built-in Open A File command.

  • How to send a TextBox value to a variable in the parent form in C#?

    I have an aboutBox control ("settings") that has a textBox in it. When the user presses the save button on this settings I want it to save the string from the textBox, pass it to a variable in the main form, close the settings box and then press
    a button in the main form.
    How would this be done?
    Thank you!

    what do u mean by "text saved in the textbox"?
    if you mean to set the value into the Textbox in the form2
    private void Form2_Loaded(object sender, EventArgs e)
    this.TextBox1.Text =valueFromForm2;
    2) When you click the save button on form2 it is already calling the delegate what do u mean by firing event?

  • How to block keypresses from reaching main form

    Hello, I have been writing an application that will capture output from a barcode scanner.  The scanner wedges itself in between the keyboard and the OS and sends the barcode as a sequence of key presses.  This works fine and I easily wrote myself
    an application to capture these key events.  However, I wanted to be able to capture the events even when my form wasn't focused, to do this I hooked the keyboard events and overrided WndProc to capture the WM_INPUT messages and then I process them, make
    sure they are coming from scanner, and then I remove the message from the queue using PeekMessage.  This works fine except I have now realized that my form will have to be hidden (invisible) and that other forms will be on top and have focus.  When
    the scanner reads in a barcode, I don't want the mainform to receive any of those key events, I want my listener to capture them all and then not send the WM_INPUT message down the list.  PeekMessage is supposed to achieve this by sending a WM_REMOVE
    flag as the last parameter, but it only removes it from the current thread and my listener runs on its own thread separate from the main form, so this doesn't solve the problem as the main form still gets the key presses.
    I was wondering if there was any way to block the WM_INPUT messages from reaching the main form or if there was an easy way to cause my listener form (remember, its invisible with this.visible = false;) to gain focus before the scan and then lose focus after,
    this would also solve my problem although a little more ad hoc.
    Thank you in advance for the answers,
    Kevin

    Hi Kevin,
    >I am not using C# events to capture the key events
    If you want to achieve your goal by using C++, I recommend you post new thread on Windows Desktop Development forum. I think your question is more suitable to that forum.
    http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?forum=windowsgeneraldevelopmentissues&filter=alltypes&sort=lastpostdesc.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to maximize the opening form in Access 2010

    We have a number of Access 2000 front end apps which use the autoexec macro to maximize the main form. When we migrate them to 2010 the options have changed and maximize is no longer one of them. This makes a cluttered user screen with windows popping
    up in various locations as the user works with the app. I would also like to hide the database window from the user but for now just getting a clean screen with only a single form or report would be nice.PGordini

    You can use the DoCmd.Maximize Method to maximize the form:
    http://msdn.microsoft.com/en-us/library/ff195449.aspx
    BR
    Mads
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Using jsp:include in showOneTab - main form not loaded on submit

    I have a JSP page with JSF and ADF components. It is a large JSP containing some main details and then an af:showOneTab component to create a set of tabs. It works fine with JDK 1.5 and Tomcat 5.0 but when changed to Oracle Application Server 9.0.4 and JDK 1.3 We get the following error:
    JspCompileException:.... code too large for try statement catch( Throwable e}....
    Finding this to be caused by large size of JSP, we divided the page as follows - a main jsp containing the main form details and 1 jsp for each tab. Whenever one of the tabs is clicked the corresponding JSP is dynamically loaded using jsp:include tag as follows:
    <af:showDetailItem text="Tab1" id="tab1" styleClass="menu">
              <f:subview id="viewTab1">
                   <jsp:include page="Tab1.jsp" />
              </f:subview>
    </af:showDetailItem>
    There is a Submit button in the main jsp, when this is clicked the main jsp is reloaded.
    But when the user navigates to any of the tabs and then clicks the Submit button in the main form, the main form is not reloaded - only the jsp for the currently selected tab is loaded.
    (I am using f:view and h:form in the main form, and no form tag in the included jsps)
    How to solve this problem?

    The af:selectOneChoice components are in the test.jsp page included in main.jsp with jsp:include tag.
    The code look like this:
                   <af:selectOneChoice label="#{msg.team}"
    id="soc1"
    value="#{myBean.selectedTeamID}"
    autoSubmit="true">
    <f:selectItems id="si1" value="#{myBean.teamList}"/>
    </af:selectOneChoice>
    <af:selectOneChoice label="#{msg.subteam}"
    id="soc2"
    value="#{myBean.selectedSubteamID}"
    partialTriggers="soc1"
    rendered="#{myBean.selectedTeamID!=null}"
    autoSubmit="true">
    <f:selectItems id="si2" value="#{myBean.subteamList}"/>
    </af:selectOneChoice>
    the code works fine in the seperate page, but when I include the page the second selectOneChoice component doesnt get rendered.
    Edited by: Migan on 2010-jul-13 08:36

  • Just installed 10g: Main form cannot find subforms or menus

    I just added 10g FOrms Builder to my PC. I was running 9i and it still exists on the machine.
    Problem: My main form, when run locally from Forms Builder cannot find any of its menus or subforms unless the FULL PATHs are defined in the properties or CALL_FORMs.
    This was not a problem when running from 9i FOrms Builder.
    I am assuming its a parameter somewhere in the FORMSWEB.CFG file which sets the default path to whatever path the main form uses.
    Can anyone steer me in the right direction?
    THANKS!

    Hi,
    Well, I assume that if 9i was installed, you also had FORMS90_PATH set in the registry.
    Perhaps what is happening is Forms is running your main form, and then when you are calling other forms, it is using the 9i versions, and then failing because they are not 10g versions.
    For example:
    d:\app\9i\form1.fmx
    d:\app\10g\form1.fmx
    When trying to call form1.fmx, Forms follows the FORMS90_PATH first and uses the form in d:\app\9i\. Change your FORMS90_PATH and see what happens.
    This is just a theory, I am new to 9i and 10g myself.
    Cheers

  • What exactly is the main thread?

    please consider this code:
    public class Foo {
        public static void main(String[] args) {
              ((Foo) Thread.currentThread()).bar(); // <--- error. see stack trace below.
        public void bar() {
            System.out.println("--bar()--");
    }stack trace: Exception in thread "main" java.lang.ClassCastException: java.lang.Thread cannot be cast to testingarea.Foo
    So what does this say about the main entry thread? is it an instance of "Foo"? or an instance of java.lang.Thread? If an instance of "Foo" why can't I invoke an instance method on the return value of "Thread.currentThread()"? If the main thread is an instance of java.lang.Thread, then where is the:
    "public void run();" method?
    While I can't think of any practical usage of this knowledge yet, but I'd still like to know. Thanks.
    Edited by: outekko on Mar 17, 2010 6:38 PM

    joshg_75 wrote:
    You should always refer to the javadoc for infomation of a method and its usage. In this case, refer to the javadoc of the Thread class.
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html
    I suggest you also read up on usage of threads.Can you please share a little of your expertise in threads?
    Remember this is the "New To Java" forum, and I am just a beginner as you discovered. Any help from experts would be embraced. Before you became a thread expert, you must have started somewhere. I don't need immediate assistance, but whenever you get the time, why not cut/paste this into your IDE and take a look.
    public class Main {
      static ObjectOutputStream oos;
      static ObjectInputStream ois;
      public static void main(String[] args) {
        try {
          PipedInputStream pin = new PipedInputStream();
          PipedOutputStream pout = new PipedOutputStream(pin);
          oos = new ObjectOutputStream(pout);
          ois = new ObjectInputStream(pin);
          new OutThread().start();
          for(;;) {
            Thread t = (Thread) ois.readObject();
            t.start();
        } catch (Exception e) { e.printStackTrace(); }
          public static class OutThread extends Thread implements Serializable {
            public void run() {
              System.out.println("OutThread::run--> id# " + this.getId());
              try { Thread.sleep(1030); } catch (InterruptedException e) {  }
              try {
                oos.writeObject(this);
                hangAround();
              } catch (Exception e) { e.printStackTrace(); }
            public void hangAround() {
              for (;;) {
                System.out.println("_____waiting around... id# " + this.getId());
                try { Thread.sleep(5030); } catch (InterruptedException e) {  }
    }Not only do I appear to serialize instances of threads, the threads are actually running . So, does a live thread have private, non-transient, "state" that needs to be persisted? If so, why does serialization work? If not, why not write in the API that java.lang.Thread implements Serializable ? Whatever understanding (if any) I had of threads has melted to nothing. I am struggling with your field of expertise; please help me get back on track. Any assistance embraced.
    ps. don't offer friendly criticism by scolding my design of serialized threads. My only goal is to see if I can do it (and learn something along the way).

  • Expected value type: end-of-string infopath configuing the main submit button on the form.

    Hi Everyone,
    so I have run into this very odd problem. When I am trying to configure my main submit for my infopath 2010 form, and it says File Name, I put in concat(field 1, field 2, field 3), and when the form submits, I get the following as a name for my form: field
    1, field 2, field 3, exactly like that. so I went back into the main submit and typed concat( and then used the function button, which brought up the list of controls to choose from, so I choose field 1, field 2, field 3 and when I hit ok, I keep getting this
    error:
    Expected value type: end-of-string
    Actual value: ,
    my:secReqMetaData/my:field 1-->,<-- my:secReqMetaData/my:field 2,my:secReqMetaData/my:field 3
    does anyone have any idea why this is happening?
    Best regards, Mike

    Thanks for sharing the answer here, it would be helpful for others with similar issue.
    Qiao Wei
    TechNet Community Support

Maybe you are looking for

  • Problem with Refreshing the data bound text fields

    Folks, First of all, this a GREAT product and I am moving my apps from Eclipse to Studio Creator. I am very impessed with it so far. I am gone through most tutorials, but can't help resolve the problem that I am having. I have a page, that lists all

  • Having trouble sizing a photo for wallpaper in iOS 7

    When I try to move and scale a photo for my home screen wallpaper on my iPad3, using iOS 7, it immediately reverts to it's original size, which is larger than the screen. Is this a bug in iOS 7 or am I doing something wrong?

  • Windows 2012 Hyper-V Virtual SAN Switch Best Practice

     I have a four node cluster running W2012 Datacenter edition on each.  All systems have Emulex HBA compatible with Hyper-V and Virtual SAN technology. The hosts are connected to a Brocade SAN Switch with NPIV Enabled. I've created a Virtual SAN on ea

  • Trouble streaming videos on Amazon

    Why am I having so much trouble streaming instant videos on Amazon when I have the updated version of Adobe Flash Player as prompted by Amazon and my computer? It keeps starting and stopping and reloading and asking me to update my flash player.

  • I can't install iTunes 11.0.3 (64bit) for my window 8

    Hello there Today i got trouble with my iTunes so I can't install new version (11.0.3) for my Window I use Window 8 Pro 64bit and when I install this version, I get this pop up >"< Please help me >"<