Data in cell does not take effect immed

Hi I have JTable with all cells editable.
Problem is when user click on a cell and enter the data. That data does not get immediately take effect in table model unless user click on some other cell.
How can i make data immediately available when for example user click on Change button and user does not have to click on any other cell.
eg...row has 4 columns.....123....456....date....date
if user changes 123 to 321...and click on CHange button i have in panel. ..it does not take effect.....user has to click on some other cell ie eg 456 cell.....then press Change button.

in preparetable where i set the model, create columns, set renderer and editors. I even tried at the end of that method..ie added this line....still did not work....please help
  public void prepairLnnTable() {
    lnnTableModel = new CellSiteLNNTableModel();
    lnnTable.setModel(lnnTableModel);
    lnnTableModel.addColumn("AAA");
    lnnTableModel.addColumn("BBB");
    lnnTableModel.addColumn("Effective From");
    lnnTableModel.addColumn("Effective To");
    ccpd6.setAllowedCharacters("0123456789");
    ccpd7.setAllowedCharacters("0123456789");
    for(int k = 0; k < lnnTableModel.getColumnCount(); k++) {
      TableColumn col = lnnTable.getColumn(lnnTableModel.getColumnName(k));
      DefaultTableCellRenderer textRenderer = new DefaultTableCellRenderer();
      JTextField textColumn = new JTextField();
      TableCellRenderer renderer = null;
//      TableCellEditor editor = null;
      if(k == CellSiteLNN.AAA) {
        renderer = textRenderer;
        DefaultCellEditor editor = new DefaultCellEditor(textColumn);
        editor.setClickCountToStart(1);
        col.setPreferredWidth(25);
        textColumn.setDocument(ccpd6);
        col.setCellEditor(editor);
      if(k == CellSiteLNN.BBB) {
        renderer = textRenderer;
        DefaultCellEditor editor = new DefaultCellEditor(textColumn);
        editor.setClickCountToStart(1);
        col.setPreferredWidth(25);
        textColumn.setDocument(ccpd7);
        col.setCellEditor(editor);
      if(k == CellSiteLNN.EFF_FROM) {
        renderer = new DateCellRenderer();
        TableCellEditor editor = new DateCellEditor();
        col.setPreferredWidth(180);
        col.setCellEditor(editor);
      if(k == CellSiteLNN.EFF_TO) {
        renderer = new DateCellRenderer();
        TableCellEditor editor = new DateCellEditor();
        col.setPreferredWidth(180);
        col.setCellEditor(editor);
      col.setCellRenderer(renderer);
//      col.setCellEditor(editor);
lnnTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
  dFormat.setTimeZone(TimeZone.getDefault());
  dFormat.setLenient(false);
  }

Similar Messages

  • Update 4.01 asks to update, I say yes it appears to update then in the last step it goes back up to the update center and cannot connect, the update does not take effect and it keeps asking

    I allow update 4.01 to update got thru all the steps and at the last step it goes back out to the update and cannot connect, the update does not take effect.

    Sign out of your account on the iPad, restart the iPad and then sign back into your account.
    Settinsg>Store>Apple ID - tap the ID and sign out.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    After restarting go to Settings>Store and sign in again.

  • Changing Position property of Binding Source does not take effect

    I have a BindingSource, let's call it myBindingSource, whose DataSource is a List(Of myClass).  There are several lines in the existing code that set the Position property of the BindingSource object and the set is effective, e.g. if
    the Position value is 0 and I do this...
      myBindingSource.Position = 1
    ...I can check the value of myBindingSource.Position and it is 1.  However other times (and it may only be when the current value is -1) when I do such a set, nothing happens.  The Position value remains at the previous value, e.g. after the above
    line, SpecimenNavSource.Position is still -1.  I have verified that at that point, the SpecimenNavSource.Count is greater than the value I'm setting, so it's not that it can't find something in that position.
    Any ideas would be greatly appreciated.
    Thanks.
    mamacasc

    Hello,
    Here is a small demonstration project which has a BindingNavigator placed on the form. Pressing Button1 at any position will move bsData to position 0. With that can you show if different from the below what you are doing?
    Public Class Form1
    Private bsData As New BindingSource
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Dim People As New List(Of Person) From
    New Person With
    {.FirstName = "Karen", .LastName = "Payne"},
    New Person With
    {.FirstName = "Jim", .LastName = "Smith"},
    New Person With
    {.FirstName = "Mary", .LastName = "Olson"}
    bsData.DataSource = People
    AddHandler bsData.PositionChanged,
    Sub(s As Object, ea As EventArgs)
    Me.Text = bsData.Position.ToString
    End Sub
    BindingNavigator1.BindingSource = bsData
    DataGridView1.AllowUserToAddRows = False
    DataGridView1.DataSource = bsData
    End Sub
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    bsData.Position = -1 ' postion is set to 0
    End Sub
    End Class
    Public Class Person
    Public Property FirstName As String
    Public Property LastName As String
    Public Sub New()
    End Sub
    End Class
    Lastly, I peeked at BindingSource.cs, source code for BindingSource and there is nothing there to allow moving below position 0.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Audio Boost does not take effect

    I Sir,
    I have Blackberry z10 New mobile. There is no option in Headphone Audio Effect. Now What is the problem.
    MOD EDIT: Subject changed to reflect a new topic
    msmani

    Yes we've been waiting a long time for an audio scrub activate/deactivate function it's a good thing they added it.
    But it would be even greater if it would work with keyboard scrubbing not only mouse scrubbing. However and it's very odd, it works frame by frame with the frame by frame buttons. But we all mostly use keyboard arrows I guess.
    What is weird is when you deactivate audio scrubbing in the preferences (not using the Shift+S shortcut), it does work on mouse scrubbing AND keyboard scrubbing. But it's a waist of time to go to the preference menu each time you want to check just a single image of sound.
    I submitted a bug request, and would love to see improvement for this in the next update.

  • User exist CCUX0008 does not take effective

    Dear Expects,
        I implement user exist CCUX0008 with very simple code NO_EXPL_EXT_PROCUREMENT = 'X' . in ZXCUCU15 include file.
        After I active it I found the external procured components still explore their children materials in T-code cu51/cu52/cskb/csk1/csk2/csk3.
         I am very puzzled what's happened? and could somebody tell me what the  CCUX0008 do indeed and what is the logic of it?
    Thanks
    Jason

    Dear,
    Delete import parameter NO_EXPL_EXT_PROCUREMENT by using Transaction SE37 for function NO_EXPL_EXT_PROCUREMENT.
    Create a new export parameter for this function module:
    Parameter name:    NO_EXPL_EXT_PROCUREMENT
    Type. spec.:       TYPE
    Reference type:    C
    Short text:        No explosion of components procured externally
    Save it and test again.
    Regards,
    R.Brahmankar

  • Installation of Firefox 3.6.17 does not take effect, I keep being asked to install it (again), At least 5 times so far, and it never shows in the (Mac) Firefox menu "about Mozilla Firefox

    I'm running on an iMac, OS 10.5.8, I've lost count on how many times I've been told there's an update for Firefox 3.6.16, I install it. the next time I restart, FF starts up, and I look at the about FF menu, and it shows I'm running 3.6.16. I've never encountered anything like this. What is going on? How do I tell.
    Thanks,
    Judy

    I'm running on an iMac, OS 10.5.8, I've lost count on how many times I've been told there's an update for Firefox 3.6.16, I install it. the next time I restart, FF starts up, and I look at the about FF menu, and it shows I'm running 3.6.16. I've never encountered anything like this. What is going on? How do I tell.
    Thanks,
    Judy

  • Conversion exit 'PDATE' does not take an effect

    Have to load the data from flat file which the document date was save in  dd/mm/yyyy so I put the conversion exit 'PDATE' in transfer structure to make it convert to "YYYYMMDD"
    However, it seems the conversion does not take an effect, what I found tracing simulation upload (Monitor Details) is
    record in the file = 1/1/2006
    record in transfer structure = 1/1/2006
    record in comm structure = 06.20.11
    Please advise why's it like that ?
    When I test in SE37--> CONVERSION_EXIT_PDATE_INPUT , it seems the conversion works properly

    Hi,
    You said:"I put the conversion exit 'PDATE' in transfer structure to make it convert to "YYYYMMDD""
    If you have a conversion routine assigned to the infoobject system will allow you to check the conversion .
    regards,
    raju

  • Data roaming setting does not show up on iPhone 4S

    My wife got a new iPhone 4S from Verizon a few weeks and and she's been using it with no probolems since then. Yesterday we crossed the board into Canada and I tried to turn "Data Roaming" off on her phone but the "Data Roaming" setting does not exist in Settings->General->Network. On my Verizon iPhoen 4S it has the optios "Voice Roaming" and  "Data Roaming" but on hers only "Voice Roaming".
    I was able to turn off all cellular data but that's actually inconvenient because we're right on the border and often go in an out of US cell converage areas, so with data roaming off it lets me use data whenever there's a US cell signal and otherwise prevents me from using data on a Canadian signal, but with all cellular data off, you have to constantly be toggling the setting when you think you go from a cell tower in the Canada to one in the US.
    Does anybody have any idea why the "Data Roaming" setting does not exist on her phone yet it does on mine? Both phones are running iOS 5.0.1.

    On your wife's phone: Dial *228. When prompted, select 2 to update her roaming capabilities. When complete, you will hear a confirmation message. In about a minute, you will also see an alert that your service update is complete. See if doing that fixes things.

  • HS.EXP does not take into account the Value member and the source

    Hello,
    The formula is put in the "Entity Curr Adjs" part of the Sub Calculate.
    The expression is the following and apply for one entity (Holding method) I filtered previously and the ICP Entity has proportionnal method with 50% rate:
    HS.Exp "A#5420.I#[ICP None].C1#REC.C2#[None].C3#[None].C4#Recla_IAS_Aut_RetS_5=
    A#5340.V#[Contribution].E#Logista_E_TBCO.I#UTE_O.C1#CLO.C2#TotC2.C3#TotC3.C4#TotC4"
    The data I would like to retrieve is the one in Contribution Value as I put on the source part of the expression.
    And yet, the data I get is the one of the Entity Currency and Proportion Value, which is different because the ICP has proportionnal method (50%) and the Contribution value is the result of Proportion - Elimination values.
    To sum up: I obtain a data of 50 instead of 25.
    I checked that the data I see in my form corresponds to the source parameters but it seems that it does not take into account the Value parameter.
    Could it be that it is not possible to use a Contribution Value source for an Entity Currency Adjs destination?
    Thanks in advance.
    Regards,
    Julien

    Hi,
    I see another problem in what you're trying to do. First, let me state what you're trying to establish: you are trying to get a value from one entity (say A) to another entity (say B), be it at [Proportion], [Elimination], [Contribution], ...
    My question is: how can you know that during the consolidation process, by the time your code runs on B, A has already been processed and [Proportion], [Elimination] are not empty (or contain values from a previous consolidation run)?
    The answer is "You don't". Theoretically, you have no control as per the order in which entities are calculated/consolidated during the process. Even more complex is the thing that if you have a multi-core machine, more than one entities may run in parallel, but still you cannot force A to run before B. I have done some tests and I've seen that in a one processor setting the order that entities enter in the process of consolidation matches the order you have placed them in the consolidation tree in metadata. Still this thing is not documented as far as I know and therefore you cannot rely on this.
    Finally, I have also seen that in a simple case (B pulls from A), if you run consolidation twice, then you definitely get correct values. By the time you make a change in A, you have to run consolidation twice again to make sure that you get the correct data. I believe that you see that what I'm describing is good for experimenting but not for releasing to a client.
    I tend to think of such a design, as a practice to avoid.
    --Kostas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Reconstruct does't take effect

    Hello,
    I am the new user on the forum. My official language is Portuguese.
    Recently i have accidentaly deleted the stored.idx file for 6 users, so when I go to the following path (/usr/iplanet/server5/bin/msg/admin/bin) and run reconstruct -m or reconstruct -n -r user/$user does not take any effect.
    How I can reconstruct the mailboxes in that case?
    If not possible to reconstruct the mailboxes, how I can delete all trace of the mailboxes and then recreate, because when delete one email account restart the server and try to create again the same email account I received error that said "Failed:
    the email address is already used "
    Best Regards,
    Host�lio Thumbo

    refer to thread http://forum.java.sun.com/thread.jspa?threadID=5208416

  • ICP -Cell Does not support Inter company transaction details

    Hi All
    I have trouble in ICP.... in the metadata i configured the ICP related account and entity are correct and plug account a....
    i have written the rules like
    Sub Transaction()
    HS.SupportsTran "S#Fullline.A#111501.C1#FLW_ST.C2#AGINGACCTREC.C3#AGINGSPECS.C4#ALL"
    HS.Supportstran "S#Fullline.A#154501.C1#FLW_LT.C2#AGINGACCTPAY.C3#AGINGSPECS.C4#ALL"
    End Sub 'Transaction
    in the ProcessICP transaction i assigned correct way but i try to save them the message was throw *" Cell Does not support Inter company transaction details"*
    .... Help me urgent
    or another way to create the ICP transaction like load the ICP Data ..if possible then how i do (format)?
    Regards
    Kimi

    Hyperion/Oracle includes examples of most of the product functionality in the sample applications. For ICT you will find examples of the metadata, data, rules, and more in the STAT application. Look under \Financial Management\Sample Apps\Statutory and you will see this syntax in the rules file:
    Sub Transactions()
    HS.SupportsTran "S#ActMon.A#RecltIC.C1#Closing"
    HS.SupportsTran "S#ActMon.A#RecltIC.C1#Increases"
    End Sub
    Also check your scenario settings to ensure the frequency for IC transactions is correct.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Virtual chars does not take part in update rules

    Hi
    Friends my question is Virtual Chars Does not take part in update rules than why to include it in data target??? directly we can include it at query designer .
    Thanks
    Asim

    Hi,
    Adding a charachteristics is to have a place holder in your data target. In virtual char you make use of this field memory pointer to populate the data for this field.
    Hope this helps for you.
    Thanks,
    Arun

  • [svn] 4746: User-submitted patch for SDK-16147 - HaloBorder does not take border widths into account when drawing background with rounded corners .

    Revision: 4746
    Author: [email protected]
    Date: 2009-01-29 15:36:59 -0800 (Thu, 29 Jan 2009)
    Log Message:
    User-submitted patch for SDK-16147 - HaloBorder does not take border widths into account when drawing background with rounded corners.
    Bugs: SDK-16147 (bug), SDK-16963 (patch)
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16147
    http://bugs.adobe.com/jira/browse/SDK-16147
    http://bugs.adobe.com/jira/browse/SDK-16963
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as

  • I am using Illustrator CS5. I am using a certain font and when I make a selection to use one of the letter options or a glyph, it does not take my selection; in other words, nothing changes.

    I am using Illustrator CS5. I am using a certain font and when I make a selection to use one of the letter options or a glyph, it does not take my selection; in other words, nothing changes.

    What font? What system? What Glyph? What language settings? Could be anything. Either way, ask in the AI forum. You'll get quicker answers there - if you provide all the required info.
    Mylenium

  • After doing a Google search - when I click on a link it does not take me to the corect website. Instead it always take me to some icity webpage. How do I fix this so that Firefox takes me to the correct website that the Google search found?

    After doing a Google search - when I click on a link it does not take me to the correct website. Instead it always take me to some icity webpage. How do I fix this so that Firefox takes me to the correct website that the Google search found?

    After doing a Google search - when I click on a link it does not take me to the correct website. Instead it always take me to some icity webpage. How do I fix this so that Firefox takes me to the correct website that the Google search found?

Maybe you are looking for