Is it possible to temporarily disable JTable ?

I have a JTable that is used to set parameters of a midi sequence that is to be played. When I then start the sequence, the timing is very bad, and I have reason to believe that the constant updating of the JTable is partly to blame. As my data is in the table model, I guess I could destroy the JTable to play the sequence, but I would prefer to leave the JTable view visible (even if unresponsive), while the sequence plays. Is there any way to temporarily 'disable' a JTable?
Thanks, Scott

Hi Darryl- my JTable gets its data from a class which extends AbstractTableModel, and I put the System.out... code in the getValueAt() method of that class. It it seems like the calls to refresh the JTable are internal and not due to my programming (but I will definitely not rule out the possibility that my code is faulty... I might have a fireDataChanged() where it shouldn't be...).
It has been suggested to me before to include a SSCCE, but I think I'd have to include most of my program because most of the classes use each other... listeners, etc. I've probably written spaghetti code.
Do you happen to know about how often a JTable normally updates itself? Aside from this most recent experiment of mine, I have the impression (from internet searches, etc.) that the JTable's normal behavior is to continuously update itself.
I don't mean to confuse what it is I am needing help with, but this has been a specific question relating to a larger problem I'm having - which you may recognize as you have been replying to my other posts as well. I have thought that 'putting the JTable to sleep' might be a patch to get my program to work properly, but I've suspected that there really was an underlying problem, that is, that my sequencer thread priority was not high enough. With the NetBeans debugger I found the following:
Swing-Shell - 6
TimerQue -5
Java 2D Disposer -10
Attach Listener -5
Signal Dispatcher -9
Finalizer - 8
Reference Handler - 10
Java Sound Sequencer -8 // this is the thread that I'm most interested in - it plays the sequence
So I am wondering that if I change these priorities to be more favorable for the sequencer thread, that it might not even matter what the JTable does (although if I have some sort of unintended loop in my code, I need to fix that). I would prefer to have the JTable 'active', for it displays the current beat of the sequencer, and similar real-time info.
I apologize for including this 'stream of consciousness, post, I hope it is not to hard to follow. But at this point I think I'll try to get my priorities straght (ugh!!!) and hopefully I can leave the JTable as it is.
Thanks, Scott

Similar Messages

  • Is is possible to temporarily disable images, i.e. force text only?

    When my wireless connection is poor, I get broken image icons. Is it possible to proactively select this mode (test only) in order to get faster response time when images are not needed?

    Hi,
    The Adblock Plus extension ( https://addons.mozilla.org/firefox/addon/adblock-plus/ ) lets you selectively disable certain images from the context menu.
    Jack

  • Temporarily Disable / Shutting OFF WiFi

    Hi.
    I'm using two airport extremes .
    Is it possible to temporarily Disable / Shutting OFF home WiFi made by these airports ?
    ( Like at night when slipping )
    All to reduce unnecessary wifi Radiation.
    Thanks

    Is it possible to temporarily Disable / Shutting OFF home WiFi made by these airports ?
    Yes, remove the power plug from the back of the AirPort.
    Turning off the router though won't do anything to reduce the radiation that you are being constantly bombarded with by cell phones, cordless phones, public radio, television broadcasts, police and fire radios, CB radios, camera and security systems, overhead electrical wires and the list goes on and on.
    WiFi signals are the least of your problems, but turning off the AirPort might reduce radiation by a tiny fraction of a percent if that will help you.

  • Temporarily Disable Parenting

    Is it possible to temporarily disable parenting for a layer in After Effects?  I want to move a parent to a new location but don't want the children moving with it.  Once in the new position I'd then re-enable parenting so the children follow again.  This is just for utility, not animation so I don't need it to be keyable.
    I know I can manually disconnect but it's a lot of layers that in turn are parents to other children so it's not as easy as Selecting Children and choosing None because then it's un-parenting everything down the chain.
    Like in Softimage with Child Transform Compensation.
    Thanks,
    Marc

    Yeah, I finally figured that that was what I was going to do. Part of what kept me from doing that in the first place was that many of the layers already had label colors so assigning a "parented" color would override that, but in the end I knew it would be worth it.
    I had a control null that was in the wrong place - just had to move it to the right spot and pick up where I left off.
    Thank you to you both - Dave, I'llkeep y our suggestion in mind when I need to animate parenting over time. I'll have to try itand wrap my  head around how to get it to work for me but I never considered it.
    Marc

  • Getting error "1013009 Administrator Has Temporarily Disabled User Commands

    Hi All,
    I am getting the error"1013009 Administrator Has Temporarily Disabled User Commands" while executing a report script in Essbase 11.1.1.3
    Appreciate any help..
    Thanks
    Mahesh

    Mahesh wrote:
    Hi All,
    I am getting the error"1013009 Administrator Has Temporarily Disabled User Commands" while executing a report script in Essbase 11.1.1.3
    Appreciate any help..
    Thanks
    Mahesh
    Possible Cause
    When a database is being restructured or any application/database on the server is being copied, you can get this message.
    or
    When a cube is being restructured, commands are restricted because the integrity of the cube has to be stable and no one is allowed to access it.
    or
    Copying an application requires that the Essbase security file be in read/write mode and therefore other applications are not accessible until the process is completed.
    Possible Solution
    In Application Settings, verify that the Allow Commands or Allow Updates options are not selected.
    If not selected select those..and try
    Regards,
    Prabhas
    Edited by: P on Apr 7, 2011 3:36 PM
    Edited by: P on Apr 7, 2011 3:38 PM

  • Is it possible to enable/disable table row selection?

    I have a situation where a user can add rows to a "selection" table with a value that is used to perform a query to get a collection of objects associated with that value. Once those objects are available, a second "results" table will be populated with the row(s) returned. When the value is entered in the selection table, a web service call is made to perform the query and return the results. This may take a few moments and I am displaying an indeterminate progress indicator for the selection table row involved to indicate that the data is not yet available - the progress indicator is included as a column in the row; each row has its own indicator. Once the results are received the indicator is hidden to indicate the query for that row has completed. The user may enter as many rows in the selection table as they wish so there is a distinct possibility of multiple queries being executed at a given time. I have also attached a row selection listener to the selection table such that when a given row is selected, the results table will display the corresponding associated row(s).
    What I'd like to be able to do is somehow temporarily disable the selection of any row that has a query in progress, while leaving other rows whose queries have completed be selectable. Once the query completes, the row can then become selectable, thus allowing for the results to be loaded and displayed in the results table. The way it works right now, if the row is selected while the query is still in progress, nothing is displayed (obviously), but then the row has to be re-selected after the query has completed to see the results. This is a viable (though undesirable) solution/workaround if there is at least one other row in the table. However, if the row is the only row in the table and has been selected, it cannot be re-selected (there's no other row to select to allow for re-selection). To boil it down, what I'd like to do is prevent the selection of the row until the query for that row is complete.
    After perusing the JavaFX 2.2 API, I'm not seeing any obvious way to achieve this effect. If anyone has any solutions, suggestions, etc. on how this could be done I'd appreciate it greatly.

    Here's an [url https://github.com/james-d/Conditionally-selectable-table]example. As predicted, keyboard navigation fails if the keyboard presses would result in an unselectable item being selected using the default selection model. The best workaround I can see for this is to register event filters for the appropriate keyboard strokes, as in the previously referenced thread.
    Update: That code won't run in the current (ea b90) release of JavaFX 8.0, and probably a few recent releases; it will however run in the final release (and it runs in JDK 7). See [url https://javafx-jira.kenai.com/browse/RT-30593]RT-30593
    Edited by: James_D on May 22, 2013 7:51 PM

  • Temporarily disabling specific email accounts for phone shared by multiple users

    Hi all and thank-you in advance for any potential help!
    My company has a Blackberry "Style Flip" 9670 for our sales-people traveling in Northern Canada in the Yukon area.  This phone goes with whoever is going on that particular trip, however it has 5 different email accounts associated with it for the 3 users that share it.  
    I don't know if this is possible with a Blackberry or not, but we would love if there was an easy way to temporarily disable the email accounts that do not belong to the person carrying the phone at that point in time.
    The way it is now, we have User A (2 email accounts), User B (2 email accounts), and User C (1 email account) sharing this phone.  If 'User C' is presently up north and has the phone and sends an email to 'User A' and 'User B', the email is still received on the shared BB for both 'User A' & 'User B' and wastes a lot of precious bandwidth.  The main dilema is the two users with multiple accounts on that phone receive a ton of emails daily.  This means 'User C' may have 1 crucial email waiting to be received, but has to wait for all of 'User A' & 'User B's' emails to be received before getting the important email.
    Is there a way without deleting the accounts each time to turn certain email accounts on and off?  Any help is much appreciated!
    Colin

    Creating an email filter on the BlackBerry Smartphone
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Temporarily Disabling Validation

    Hi,
    I have a form which requires validation prior to it's final submission (fields must be populated, etc).
    However, in order to pre-populate some of these fields, we also need to be able to submit the form to an external CRM to retrieve the FDF data for the form to be incorporated.
    When doing this, the form is validated, and since there is no data yet, the submission fails and pre-population fails.
    Is there any way to temporarily disable the validation of the form for the pre-population-submission, and then turn it back on following that?
    The property xfa.host.validationsEnabled seems like a good candidate, but setting it to false doesn't seem to have any impact.
    Cheers,
    Martin

    Thanks for providing me with that sample of your code. I can see what's happening but I don't know for sure why those fields you're making optional are remaining mandatory. It could be a timing issue (i.e. Acrobat's Object Model hasn't been updated with the mandatory to optional changes by the time you attempt to submit the form).
    I can think of two possible solutions:
    [Easiest of the two solutions] Since mandatory fields are flagged when they're null (when you haven't entered anything into them, which is the case on the Form:Ready event where you're executing the code which pre-submits the form to get the FDF data) and the problem you're getting is that Acrobat won't let you submit the form because it thinks some fields are mandatory, I would make all the fields optional and use Validation scripts like the one on the TextField. This way, you'll be able to pre-submit the form because all field values will be null initially and validations don't fail on null values because they aren't executed. This, however, will be a problem when the user submits the form via email because the email submit button will work even if one of the field's value is null (but now you want to make sure it's filled-in). To solve this problem, you would need to place a fake email submit button on the form (which is just a regular button), hide the real email submit button and put some validation code in its Click event. This validation code would verify that all fields contain valid data and aren't null. If this fails, you can show an error message and stop there. If all field values are acceptable, then you would execute the hidden email submit button's Click event in order to cause the form to be submitted via email:
    EmailSubmitButton1.execEvent("click");
    [My least-favored solution] You could try setting all fields to optional in the Form:Ready event and move your code to pre-submit and get the FDF data into an
    invisible (not hidden or else Acrobat won't let you modify its properties at runtime) text field's Validate event. The Validate event on the invisible text field would have some guards to prevent it from executing every time a field's value changes on the form. When setting fields as optional, this would cue the execution of form validations (validation scripts on Validate events) and, if certain guards are properly set, would let your pre-submit code run. It's very complicated and difficult to explain but here's a thread to which I posted a similar solution (with a sample file) which uses this approach to import XML data into a form and display a summarized output in a table:
    Grouping and Summation. See post #5 in that thread.
    Let me know if you have any questions.
    Stefan
    Adobe Systems

  • Temporarily disabling photostream

    I have a real problem with the photo stream when I am travelling. I often travel with two phones and two iPads (one phone being Android). As a result I tend to make a lot of use of personal hotspots so I only need to get one local SIM in whatever country I am in.
    However, the big problem is that if I switch on a hotspot the IOS devices see it as wifi and sync the photo stream. This often happens to me inadvertently and I suddenly discover all my data allowance used up. worst case if I happen to use international data roaming and there were 1000 photos, at $10 a MB that would cost something like $40,000 - an expensive mistake to make !!
    It is possible to disable photo stream but that has the effect of deleting all photos in the photo stream from that device, which I don't want to do. Is there any way to temporarily stop it syncing ?

    Power down your PC and clean the screen. Cleaning an LCD screen or monitor with the power on is not the wisest thing to do in terms of personal safety.
    If you still want to do it and completely accept the risk to yourself and your PC  just follow the steps listed below.
     Select Hardware and Sound in the Control panel. 
     Click on Pen and Touch and select the Touch tab. Uncheck "Use your finger as input device"
    When you have finished cleaning the screen, just return to the control panel and enable using your finger as an input device.
    Nrjoesam wrote:
    How do i temporarily disable the touchscreen facility on my 610-1030? I want to clean the screen without powering down
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Essbase Error 1013009 - Administrator Has Temporarily Disabled User Command

    Hi guys,
    I'm trying to load an outline from one server to another server. But during the restructuring process, I encountered the error "Essbase Error 1013009 - Administrator Has Temporarily Disabled User Commands". What does this error mean?
    How can I possibly resolve this error? I'm also researching on this error right now.
    Your reply is greatly appreciated.
    By the way I'm using Essbase 6.5
    Cheers!

    So what do you see in the application log? Essbase.log?
    Are other databases locked as well?
    But during the restructuring process,^^^ I'm a little confused by this -- what restructure? If I copy a .otl file from server A to server B, Essbase has to save onto server B, but there isn't a restructure, I think, unless the act of saving forces that?
    Regards,
    Cameron Lackpour

  • Temporarily disable cross-document links in PDF

    I am working on a series of PDF files that have cross-document links to other PDF files embedded.  What I would like is to temporarily disable the links from opening the cross-document link until I am ready to activate the link and open that specific PDF.
    I am familiar with the "Open cross-document links in same window" feature in the Preferences - General tab; however, this does not temporarily disable the links (only toggles how the PDF is opened - same window or new window).
    Is there a setting in Reader to temporarily disable these links or possibly a keystroke combination (ctrl + __) ?
    Any advice would be greatly appreciated.
    Thank you,

    {Sigh)...I was hoping there was a way, but it looks like I am stuck with the links being always active.
    Thank you,

  • Can I temporarily disable a schedule?

    Hi,
    I wish to temporarily disable a backup schedule. I do not want to remove the schedule or triggers associated with the schedule. I wish to handle the situation where a host being backed up is not available and I do not want the Admin server to complain when it comes round to backing it up.
    Is this possible in OSB?
    Thanks.

    I know what you mean, but there isn't an active/inactive setting for the schedules. OSB does cue up the future jobs though, so if you do "obtool lsj" you''ll see the schedule with a state of "future work". You can then cancel that job (obtool canceljob) so it won't run that day. It will of course queue up the following day, but hopefully you've fixed client by then.
    If it is going to be down for longer, then you can just take a copy of the schedule and then delete it. Then it is easy to put back. The schedule is in /usr/local/oracle/backup/admin/config/schedule.
    Or you could just remove the dataset from the schedule, so the schedule will still fire but the dataset won't, so it won't actually do anything.

  • How to temporarily disable on delete cascade but not the constraint

    Hi all
    i would like to know if this is possible
    how to temporarily disable on delete cascade but not the constraint
    i want to delete a row from the primary key table but i dont want the data from the foreign key to be deleted even though there is an on delete cascade set.
    how do i temporarily disable on delete cascade from firing without disabling the constraint
    Rgrds

    There is an option which I've never used before but just read about which is to create your foreign key constraint as on delete SET NULL
    instead of on delete cascade.
    This will allow you to delete a parent and will set the foreign key column values in the child table to nulls
    e.g.
    SQL> create table parent (father varchar2(30) primary key,
      2                       age number);
    Table created.
    SQL>
    SQL> create table child (father varchar2(30) constraint fk references parent(father) on delete set null,
      2                      child varchar2(30),
      3                      age number);
    Table created.
    SQL>                    
    SQL> insert into parent values ('JOHN', 34);
    1 row created.
    SQL> insert into child values ('JOHN', 'SARAH', 10);
    1 row created.
    SQL> insert into child values ('JOHN', 'BILL', 12);                   
    1 row created.
    SQL>
    SQL> commit;
    Commit complete.
    SQL>
    SQL> delete from parent where father = 'JOHN';
    1 row deleted.
    SQL>
    SQL> select * from child;
    FATHER                         CHILD                                 AGE
                                   SARAH                                  10
                                   BILL                                   12
    SQL> HTH AMM

  • Temporarily disable a Skype number

    I work for a particular company freelance and I use a Skype number when I work there. I plan to take three weeks off and I don't want calls from the numerous clients that I work with while I'm away.
    I tried "canceling" my number; now it forwards calls to my personal number. Is there a solution for temporarily disabling a number? Even better if I can leave an outgoing message telling them I won't be returning their calls.
    Thanks!

     Hi, jandazza, and welcome to the Community!
    As you posted your enquiry on the Skype Manager message board, is the on-line number affiliated with a Skype Manager account?
    I am concerned that when you cancelled the number, you cancelled the on-line number subscription.  Please test to see if you still have the number!  Skype Customer Service may be able to re-claim the number for you if indeed the subscription was inadvertently cancelled; I am not sure this would be possible ... here is a link to start with: contact customer service
    There is no solution to temporarily disabling a number; as I tried to explain, above, an on-line number is actually a subscription.  You could forward the calls to a Skype account with voice mail activated to answer calls immediately (no delay) in order to record the "I am away from the office" message.
    Regards,
    Elainem77
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • I need the Adobe Flash Player version 11.1.102.64plug in on my MacAir to view Ustream videos. Adobe message says the version is for Intel-based Macs with Safari; also says that I "may have to temporarily disable antivirus software. is it safe to download?

    I need the Adobe Flash Player version 11.1.102.64plug in on my MacAir to view Ustream videos. Adobe message says the version is for Intel-based Macs with Safari; also says that I "may have to temporarily disable antivirus software. is it safe to download?

    Your MacBook Air is an Intel-based system. To download the current version (11.2.202.228),  go to http://get.adobe.com/flashplayer/ and download it from there.
    If there is still a Flash issue, you can try the Google Chrome browser, which has the current Flash built into it, to see if it works any differently with the videos. It's available from https://www.google.com/chrome

Maybe you are looking for

  • Restriction on search criteria for BP

    Hey Everyone, I am new to CRM and trying to find some things. When I search for BP's in eth system, sometimes, the search is restricted to 100 hits. Can anyone tell me how to change this criteria? Thanks, Swapna

  • Reset DB user with a script

    Hi All, I'm trying to make a script to change the password of a DB user. I have this now: cd /oracle/VIS/db/tech_st/11.1.0/ . ./VIS_linux4.env sqlplus / as sysdba alter user xxtestuser identified by xxtestuser; exitWhen I run the script the alter use

  • Yahoo does not display properly in firefox 31.0 but will show correctly in IE. How do I get this fixed?

    I have cleared cookies and cache, updated Firefox to 31.0 but it still keeps happening. I have even accessed my Yahoo email through the ATT site because I have an sbcglobal.net address. Nothing works. I can see my Yahoo email just fine through Intern

  • PAPI Client program is not working

    Hi, i'm running a sample bpm project in albpm studio 5.7 and tried to get the instance details thru PAPI client, but im getting following exception. pls help me. Code:* package papi.example; import java.io.Serializable; import java.util.Properties; i

  • Can no longer clear Local Shared Objects (Persistent Identification Element)

    The equivalent of a cookie in Flash is the "Persistent Identification Element" which is also called a "local shared object." The Adobe TechNote titled "How to manage and disable Local Shared Objects" at url http://www.adobe.com/cfusion/knowledgebase/