TextField is not taking values when applied in JWindow

sir
i have applied a textfield in a window class that text field is not taking the
values(no cursor blinks in it).
what to do now?

This code give me Problem.
i cant able to put any value into TextField
Pl help me & tell me how to resolve this problem.
import javax.swing.*;
public class frame1 {
     JWindow jw;
     JPanel panel;
     JTextField field;
     void Frame2()
          jw = new JWindow();
          panel = new JPanel();
          field = new JTextField(10);
          jw.getContentPane().add(panel);
          panel.add(field);
          jw.setSize(300,300);
          jw.setVisible(true);
     public static void main(String[] args)
          frame1 f = new frame1();
          f.Frame2();
}

Similar Messages

  • Re: TextField is not taking values when applied in JWindow

    sir i tried my best but i can't help it
    my i dont found any method like isFocusableWindow in JWindow API
    i m using jdk1.4
    i m sending the code
    plz sort out the problem
    import javax.swing.*;
    public class frame1 {
         JWindow jw;
         JPanel panel;
         JTextField field;
         void Frame2()
              jw = new JWindow();
              panel = new JPanel();
              field = new JTextField(10);
              jw.getContentPane().add(panel);
              panel.add(field);
              jw.setSize(300,300);
              jw.setVisible(true);
         public static void main(String[] args)
              frame1 f = new frame1();
              f.Frame2();
    ///thanks

    Read this thread:
    http://forum.java.sun.com/thread.jspa?threadID=493161&messageID=2322877
    lars.

  • Classic Report - Column Conditions Not taking Effect when Changing Pagination

    Apex Version:  4.2.1.00.08
    DB Version: 11g Release 11.2.0.3.0
    Hi,
    I have a classic report that has some columns that conditional hide/show depending upon the value of a page item.  When the report is first displayed with the first pagination set(Rows 1-100), the columns display as they should.
    When moving to the next pagination set(Rows 101-200), the columns no longer display as they should and it seems that the condition is not taking effect.  Partial Page Refresh is set to 'Yes' for the report.
    Any ideas on why this might be occurring?

    tvanderl
    Assuming you mean that columns are rendered while you expect them not to.
    Are the conditions based on page items.
    It could be that the session state of those items is different between when the page is first rendered and when de refresh due to the pagination is done.
    See if adding the in the condition used page items to the page items to be submitted for the region helps.
    Others wise see if you can replicate the issue on apex.oracle.com so we can see what you mean.
    Nicolette

  • Y-axis Does not show values when exported to excel

    Hi,
    We are facing trouble while showing Y-axis values when report is exported to excel. On report Y-axis is shown properly however when we export it to excel only 1 value is shown with arrow mark(=>).
    If we will right click Y axis, we can see all data exported in "Select Data". If we select Y-axis, and change axis properties to automatic, we can see Y-axis values on excel.
    Now, is there any property setting which will show all the data on Y-axis instead of showing up single value with arrow?

    Thanks for your reply. I tried it closing all sheets and exporting, however result doesn't change. There is an aggregate table we are querying to which holds almost 20k records. Right now I have observed this with 3 reports. In one of the report I am using Horizontal chart. In that report there is issue with X-axis.
    e.g.
    Band
    1000<= |
                 |
                 |________________________________
                  A                     B                  C                D

  • Swf in IE 7 not changing value when variable value in flashvar changes...

    Hi Friends,
    Below is decription of the file
    1. I have a flash file which is loading php variable through flash vars.
    2. The flash var variable contains the .txt filename in which data is kept.
    3. When I open the php page the swf loads with variable having .txt filename and value containing swf path.
    4. I have created timer in flash which check for change of value.
    5. When value changes the other flash file loads.
    6. All this works fine in all browsers except IE 7
    ONLY ISSUE WITH IE 7 is
    1. The swf not changing when value changes.
    WHAT I NOTICED
    1. When we click to load another tab in the same IE 7 browser the changed value that is another swf loads.
    WHAT I THINK
    1. Refreshing browser when value changes will solve the issue in IE7.
    Pls. let me know your suggestion and if possible solution to this issue.
    Thanks in advance.
    With Regards,
    Sagar S. Ranpise

    copy and paste your embedding html code.

  • VO substitution not taking effect when running from Jdev

    Hi,
    I made a VO substition. However, when running the page from Jdev, the substition is not in effect. When I press "about this page" I see the original view objects - not my own.
    I have verified that my .jpx file contains the substitution.
    I have tried followed the instructions in the OAF user guide and added -Djbo.project=<myprojectname> to the project runtime java options.
    However - if deploying the jpx file on the server with jpximport, the substitution is working. But why is it necessary to deploy that substition on the server when running locally. Also, that should not be necessary according to the user guide.
    Any ideas?

    When running locally u don't need to dceploy substitution on server.You only need to add substitutions in jdev and added -Djbo.project=<myprojectname>
    Note that
    the Name value is the .jpx file name without the .jpx extension (for example, ExtendLabSolutions). Be
    sure to include a space between any existing options and the new option.Also confirm u have put correct jpx file name.
    When I press "about this page" I see the original view objects - not my own.
    This is because about this page must be picking VO definations from DB, and since ur extended files are not in jdev... it will not reflect here.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • GPO Run these programs at user logon not taking effect when configured in Computer Configuration section

    [EDIT 20140207]:
    I found that the default domain policy sets "run these programs at user logon" and (other than I expected) not BOTH GPO settings become active, but the setting from the default domain policy overrides the setting from my new GPO. So I think I have
    found the answer myself.
    When on our W2k8-R2 DC I create a new GPO and configure
    "Computer Configuration/Policies/Windows Settings/Administrative Templates/System/Logon/run these programs at user logon" to "c:\windows\system32\notepad.exe" (just for testing) it won't take effect on Win 7 SP1, no matter what the Security
    Filtering options are.
    It seems other settings (in the very same GPO) become active but "run these programs at user login" from the computer policies section doesn't. I configure the very same setting in the section "user policies" instead and add "Authenticated
    Users" to Security Filtering, the program will be started. But that's not what I need.
    I can reproduce the issue, here are the exact steps:
    create a new group "group-a" for later security filtering
    create a new GPO
    in the new GPO set "Computer Configuration/Policies/Windows Settings/Administrative Templates/System/Logon/run these programs at user logon" to "c:\windows\system32\notepad.exe"
    for setting the scope remove "authenticated users" from Security Filtering and add "group-a" instead
    link the GPO to the domain root
    make "test computer" a member of "group-a"
    on "test computer" run "gpupdate /force", reboot, log in
    Issue: notepad is not being started.
    What I'm aiming for is obvious: Depending on the membership of group-a I want to configure certain programs that should be started whenever a user logs in.
    gpresult /R returns that it would be applying the GPO. (It actually is but the setting "run these programs at user login" is not being applied.)
    For debugging I started MMC / RSoP on one of the machines on which the GPO should have been applied and found that "run these programs at user login" is not set (which seems to be the reason why the GPO won't work on the machines).
    Searching the web I found similar reports
    [1] [2] but no solution was found and the user used a workaround instead.
    If I change the GPO so that I use the very same setting in "user configuration" instead of "computer configuration" it works as long as I add "authenticated users" to the Security Filtering. But then the GPO is applied to all users
    and not only to the ones using computers which are members of group-a. According to this howto [3] I should not remove "authenticated users" but alter the security setting instead. However, the howto seems to be aimed ad w2k3 and using Win2k8 I cannot
    find security settings "apply" for "authenticated users" so I cannot remove that setting, there's only "read" or "read and modify".
    So two questions:
    1. Why doesn't it work when using "computer settings"
    2. What about that Security Filtering with removing "authenticated users" and using group-a instead?
    T.
    [1] http://social.technet.microsoft.com/Forums/windows/en-US/0e280490-fba6-4ced-aba5-ae49c60e44bd/computer-gpo-run-these-programs-at-user-logon-not-working-as-intended-on-win7-clients?forum=w7itproinstall
    [2] http://social.technet.microsoft.com/Forums/windows/en-US/8cb78bf8-33ec-461e-8604-32d82d016685/run-these-programs-at-user-logon?forum=winserverGP
    [3] http://www.grouppolicy.biz/2010/05/how-to-apply-a-group-policy-object-to-individual-users-or-computer/

    Hi,
    sounds like you find the answer already.
    If you have any further question, please feel free to let me know.
    Have a nice day!
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

  • InDesign CS5.5 fonts not displaying correctly when applying styles

    Hi there,
    My problem is this - I've set up character and paragraph styles in a document. Yesterday everything in the document was working as expected. Today I open the file and some of the fonts are displaying incorrectly ie instead of a selection of type being bold (where a character style has been applyed) the whole paragraph is now bold and doesn't respond to having the character style removed.
    There are no error messages, the program loads, doesn't crash, did go slow but I resaved all the linked files and it moved along at it normal speed - it is quite a complicated document. Other files seem to behave, so I thought it might be a corrupt file. However when I tried to save to IDML  the process was interminable, so I cancelled it (tried this several times and with a simplified file - removed all the images).
    I've cleaned out the font caches.
    I  trashed the program preferences.
    Hope somebody out there has a idea.
    Thanks
    imac, OSX 6.8, 12 mgs ram, InDesign CS5.5 with the latest patch updated. Use Suitcasefusion for font management - have the latest version
    Message was edited by: ne18ell

    Most likely reasons for what you are seeing is the paragraph has the bold style assigned to the whole thing as a character style (maybe nested without a valid end trigger?), or the basic character attibutes of the paragraph style were changed to bold. Slightly less likely is that you managed to apply Bold to the whole paragraph as a local override (which owuld show up as a + sign next to the paragraph style name).

  • Menu Widget is not working correctly when applied in Master Page?

    Hi There,
    Is there a reason why menu widget doesn't work correctly when put in the master page?  When I do preview it only highlights certain menu and doesn't highlight other ones?  In order to fix this I had to take my menu widget off the master page and had to manually apply the menu widget on each page for it to work correctly?  Is there a reason why this is happening and are you guys working on fixing this?
    Best Regards,
    Nick

    Hi There,
    Just published the northcountydoulas website through business catalyst that
    wasn't working correctly...The menu widget is in the master page...
    Best Regards,
    Nick

  • Presets not taking affect when printing via adobe reader

    I have discovered that after upgrading to Mavericks, when printing multiple page documents via Adobe Reader, it will not take on my 1-sided printing preset and instead prints 2-sided as per the default setting on the printer driver.
    Has anyone come across this?

    kirstyfiona wrote:
    I dont seem to have the option for printing on both sides on the adobe print screen. In the past it would just use whatever preset you currently had set.
    I seldom use Adobe Reader except for completing forms and printing them.  Preview never seems to get those right.  I did do some testing on my Mavericks machine and can confirm that Adobe Reader is ignoring a Preset I created for my EPSON WorkForce 1100.  From the CUPS debugging log it would appear that Adobe Reader is bypassing the Apple print window.  It would not therefore be picking up a Preset.
    Wht make and model of printer are you using?  If your prnter uses a PDE to set duplexing, I can imagine that Adobe Reader is not going that deep.  It would look at the PPD and just use whatever is in there.  If you let me know the printer make and model, I may be able to confirm that.  I am not sure that will get you any closer to a sulution.  It may help answer "why".

  • F4 Help list not showing values when a BEx 7x workbook is refreshed

    Hello All,
    Hope you are doing good. I have a very peculiar behaviour with F4 functionality of a variable while refreshing a workbook and thus requesting for your help.
    The workbook contains two queries. Both of these queries contains a common variable (of common characteristic).
    Info_Provider
    Query_Name
    Characteristic_Name
    Variable_Name
    Multi_Provider_1
    Query1
    Char1
    Var1
    Multi_Provider_2
    Query2
    Char1
    Var1
    When Query1 and Query2 are refreshed individually, the variable Var1 (basically a plant variable) shows the help list values.
    But when the workbook is refreshed (that's when both the queries gets executed together with a common variable screen) and
    upon clicking the help list of the variable Var1 doesn't show any values.
    Additional Info:
    1. Both the variables are configured to show data from Master table.
    2. The same set up works fine in 3x and also for other similar variables.
    Has anybody come across of this situation? If so, what is the issue and what was the solution?
    Pls share.
    Thank you.
    Lohith

    We recently had a similar issue with a variable... turns out the RSR_VARIABLE_F4_RESTRICT_BADI BADI was activated for this variable (and the code was no longer "valid" with the current situation).
    You may want to check whether you have that BADI activated.

  • How do i set up controls to not change value when patches change?

    Just bought mainstage and want to set up the following  - piano or rhodes with mutes/volume available all the time, both with editable controls, PLUS hammond and pads available all the time too with mutes/volumes but using mainstage patches to select different hammond/pad configurations so that i can 'one' touch a new hammond sound WITHOUT changing my piano sounds, that have been tweeked live.  I had hoped that 'keep' in the patch change preferences would preserve my piano changes, but no they reset with every patch change.  All my sounds are AU's (ivory for piano, vb3 for hammond, sampletank for pads, and mr ray for rhodes (but seems to crash too much so may have to use evb88:-(. Any help would be gratefully received.

    Hi
    Which version of Mainstage are you running?
    CCT

  • Function Module does not fetch value

    Hi All,
    I am using the fm RV_PRICE_PRINT_HEAD to fetch condition records. When I run this fm in SE37 for a particular document(vbeln) number, the values are fetched correctly into the internal tables TKOMV and TKOMVD.
    The same fm does not fetch values when I run for second time for the same document(vbeln). This means :
    1) I will go to SE37, type RV_PRICE_PRINT_HEAD, supply the export parameters in COMM_HEAD_I, execute it and obtain the condition records (Till this time absolutely fine)
    2) Now, press Back (F3), Let the export parameters in "COMM_HEAD_I" will remain same. Just press Execute (F8). Then condition values are not fetched.
    Could any body help in this regard...
    Thanks
    Thimmappa Hegde

    Hi
       I have given you the other alternative bcoz there is a limitation while calling this FM: RV_PRICE_PRINT_HEAD.
    If you see the comments and code of Include: LV61AA11, you can understand the problem.
    <b>* mechanism to controll which conditions are already part of table TKOMV
    Every time a pricing result is read from database the key is put into
    TABGL. Also TABGL is updated if we've lines in TKOMV assigned to a
    special key but entry in TABGL (case 2).
    Originally TABGL was established to handle following pathological
    case: condition successfully read from DB -> entry in TABGL. Then all
    read conditions where deleted during processing (e.g. manually
    deletion etc.). If we run into this routine again no records should
    be redetermined from DB...</b>
      read table tabgl with table key knumv = komk-knumv
           transporting no fields.
    Case 1:
    conditions have been already read because there is a fitting entry in
    TABGL. Exit immediately if caller doesn't want to force DB access.
      if sy-subrc eq 0. ---><b> First time SY-SUBRC NE 0 so no problem</b>   
         if generell_lesen ne 'X'. <b>--> Later runs SY-SUBRC  eq 0 and generell_lesen value is SPACE</b>.
            exit.
        endif.
      else.
      Hope this clarifies your doubt now.
    Kind Regards
    Eswar

  • Auto Goods Issue not taking place

    Hii All
    I hv Maintained backflush indictor in work center and in MRP2 view it is maintained as Workcenter
    decides whether to backfluch .
    But the auto goods issue is not taking place when the production order is saved and confirmed.
    The stock remains the same ..
    Can anybody tell the reason for that
    Regds
    Rakesh

    Hi Rakesh,
    what is the control key u have maintained in Routing?
    if u r using Control key PP01 - Routing/Ref. op. set - internal proc., then after Production Order confirmation u have to do MB31- Goods Receipt for Order, with movement type 101.
    If u r using PP03 Routing - in-house prod. auto. goods rct, then it accepts only single operation in a Routing (or) if u r having say more than one operations in a routing, then u have to give PP03 control key for the last operation.
    I think u got it...
    revert back if u have doubts.
    Thanks & Regards,
    Santosh

  • Customizing CO class on site level is not taking effect

    Hello,
    I extended a CO class and changed the region "Controller Class" on Site level from "Inherit" to my newly created class
    But the personalization is not taking effect when i run the page; any idea why?
    thanks

    Ash,
    begin
    jdr_utils.listcustomizations('your page path like /oracle/apps/pon/award/completion/webui/ponCompleteAward2PG');
    end;
    will give the personalization availble for your page, then get the details using,
    begin
    jdr_utils.printDocument('output of the above query');
    end;
    Make sure the above script is giving your controller in place and see what level your contoller is attached.
    Thanks.
    With Regards,
    Kali.
    OSSi.

Maybe you are looking for