Infinite tab spamming problem

Ok i have a problem with firefox, i had it quite some time but it starts to get annoying.
The main problem is that sometime for some reason a file is being downloaded(usually with the name of a site i use or index-xx.php) and it doesnt stop opening more tabs, if i close firefox it will open a new one and keep spamming the tabs. I have to manage to close the download window fast because if i move slowly it puts in front of it the firefox window to open another tab or i can try to kill it with ctrl alt del
I am not sure how this is happening, sometimes i think i save the file by mistake when i press alt and choose a bookmark. And many times it happens when i try to enter gamereplays.org(not very stable site) and after some time of failing to connect it downloads an index-XX.php on (file:///C:/DOCUME~1/user/LOCALS~1/Temp/index-21.php) and doesnt stop spamming it, i just went to the temp folder and i found like 21 of thouse files...
Any idea what exactly causes it? or something i can disable to stop it

Nope they just use notepad automatically, but i think i fixed it.
In the options place i went to php and the action was to save the file, now i replaced with Ask, hopefully i wont have any problems

Similar Messages

  • How do I resize pinned tabs/deal with tab group problems in Firefox 22?

    With the automatic update to Firefox 22, my pinned tabs have ballooned in size; not only does this look horrible, but it reduces the real estate available for other tabs. While NoSquint has sorted the issue with websites randomly resizing themselves, everything else (add-on menu, toolbar icons) has also increased in size, which affects what can be displayed.
    Another problem with 22 is that my tab groups are no longer behaving normally: I click on one group and another group moves around the screen, typically jumping behind the original group I clicked on. Any suggestions for how to improve these problems are much appreciated.

    hello, firefox 22 is now respecting the pixel density you've set on a system level in the windows control panel > appearance > display. more information about that is availbale at http://windows.microsoft.com/en-us/windows7/make-the-text-on-your-screen-larger-or-smaller
    if you want to set the text size/pixel density in firefox different from that of your system's settings like it was handled in prior versions, enter '''about:config''' into the firefox address bar (confirm the info message in case it shows up) & search for the preference named '''layout.css.devPixelsPerPx'''. double-click it and change its value to '''1.0''' (or any other zoom factor that fits your purpose; 0.8 equals 80%, 1.15 is 115% and so on..., -1.0 is the default value and will adhere to the system settings).

  • Opening .pdf files in Firefox 3.6.13 spawns "infinite" tabs -- amazing!

    If I click a link to a .pdf file, Firefox will open up tab after tab after tab -- they go shooting across the top of the tab bar (it's incredible). I can use Task Manager to force FF to quit (and then manually end the Firefox.exe process since it doesn't seem to fully stop in a timely fashion). I have to tell FF not to "save and quit" otherwise on relaunch, it will just repeat the problem. If I just quit and manually relaunch FF, it is OK -- until the next time I open a .pdf link!
    I am using XP, so I used Add/Remove programs to uninstall Acrobat, and then I downloaded the new version and installed it. I re-checked the Acrobat plugin from within FF (Tools ->Add-ons->Plugins->Find Updates) and the current version is up-to-date.
    Help is appreciated!

    There are other things that need attention:
    Your above posted system details show multiple Java Console extensions.<br />
    You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
    See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    Disable the Java Quick Starter extension: Tools -> Add-ons -> Extensions
    Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
    See http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0

  • Spamassassin, auto whitelist, backscatter and spam problems.

    My Mail is handled by an XServe with Mac OS X Server 10.5.5.
    I have many email problems. One of them is an email backscatter problem. Sometimes, but not always, when email is identified as spam, an email gets sent back to the "From" address saying it is spam. This email seems to come directly from my servers, which is bad as spammers usually spoof the From addresses. I have modified amavisd.conf as per below. I changed all the D_BOUNCE instances to D_REJECT, yet still emails seeming to come from my server gets sent back to the From address. This is the relevant bit out of amavisd.conf:
    $finalvirusdestiny = D_REJECT;
    $finalbanneddestiny = D_REJECT;
    $finalspamdestiny = D_REJECT;
    $finalbad_headerdestiny = D_PASS;
    I tried testing this by sending lots of emails that with keywords in them that rules are set up for to add enough points so that such emails get blocked, however, these emails seem to come through. At first I thought this was the AWL's doing, but by examining the headers of the email, there is no X-SPAM header as I'd expect, which makes me believe Spamassassin has not checked the email?? What can cause emails to bypass spamassassin and how do I get spamassassin to check every email? This seems to be a cause of my other problem of a lot of SPAM passing through the spam filter.
    I am also having a lot of trouble understanding the SA AWL.
    Is there any way I can change the scores in the AWL database?
    I have tried:
    spamassassin --remove-addr-from-whitelist=[email protected]
    This outputs a message saying it removed an address from the whitelist, but in reality does absolutely nothing. Way I can tell is by using this script which still shows the same entries for the relevant email address:
    http://spamassassin.apache.org/full/3.0.x/dist/tools/check_whitelist
    I'm stumped. Any answers/thoughts/suggestions would be much appreciated. Please help!

    postfix receives the mail, then passes it to amavisd.
    amavisd decides what scanners to use (clamav/spamassassin and possibly others) and performs the scan
    amavisd might not scan the messages if certain criteria are met (size too large, white list, etc), this is all configurable in amavisd.conf. For example, the size threshold by default may be too small, so messages with large graphics may not be scanned.
    after amavis processes the message, depending on the config of amavis, certain actions are performed (add headers, discard, reject, bounce, etc).
    then amavisd passes the mail back to postfix
    postfix delivers any deliverable mail to cyrus/dovecot and/or processes and bounce/rejection.
    a rejection doesn't work in the above scenario because it's already been accepted by postfix.
    best to discard.
    if you would like to learn more about the flow and logic, look at the amavisd config file
    /etc/amavisd.conf
    and check out the docs
    http://www.ijs.si/software/amavisd/
    Jeff

  • Accordion/tab combination problem in IE

    I am attempting to use spry tabs inside spry accordion in
    Dreamweaver. In any mozilla - based browser it works great, IE
    won't hide the tabs when you select another accordion panel.
    check out the link to see the problem:
    http://www.kellywalsh.org/Untitled-1.html
    works great in any browser except IE - any ideas?

    Hi cyganski,
    I've tested this scenario (almost all of it) by inserting an accordion on a blank page and by default works. Then I added a basic slideshow (actually two of them, see Ipsum 7 and Ipsum 8) and it seems to be working fine. You can see it here.
    Let me know if this method provides the result you need to achieve. Investigating the code and errors on IE8 and I couldn't find any reason why the pannels won't expand...
    Regards,
    Cristian

  • Tabs in navigation page (Tabs persistance problem)

    Hello all,
    I'm looking for a workaround of tab persistence (the problem in post URGENT! TAB + Folder navigation Problem )
    ; is it possible, somehow, to make a navigation page with tabs, and in those tabs some kind of auto-redirection to the actual pages ? Or any other way using tabs? I just want to avoid image-map style navigation. This tab persistance feature is sooo anoying...
    Please help

    Hello
    I gave it up using tabs for navigation issue. There are too many problems with that. Now I'm using URL-items within navigation pages and that works fine...
    Cheers,
    Chrigel

  • Onload and Tabbing focus problem

    I was asked by some of my users to set focus to the username
    field on the login page when it loads. I began by adding to the
    body tag and cfform tags OnLoad function. This allowed the page to
    load and set up the user to just start typing without clicking in
    the field. The problem is with trying to tab to the next field. The
    only way I can even start tabbing to other fields is to click in
    one and then depress the tab key. However, this only tabs over to
    the other two fields while leaving out one of the fields.
    I would like the page to load so that the user can start
    typing and then by pressing tab he can move on to the next field. I
    don't know why this code doesn't work. It is kind of frustrating.
    Does anybody know of a fix to this problem?
    Thank you for your time!

    Use a tabindex attribute in your form fields:
    http://www.htmlgoodies.com/tutorials/forms/article.php/3479201
    Tom Muck
    co-author Dreamweaver MX 2004: The Complete Reference
    http://www.tom-muck.com/
    Cartweaver Development Team
    http://www.cartweaver.com
    Extending Knowledge Daily
    http://www.communitymx.com/
    "jedale" <[email protected]> wrote in
    message
    news:[email protected]...
    I was asked by some of my users to set focus to the username
    field on the
    login
    page when it loads. I began by adding to the body tag and
    cfform tags
    OnLoad
    function. This allowed the page to load and set up the user
    to just start
    typing without clicking in the field. The problem is with
    trying to tab to
    the
    next field. The only way I can even start tabbing to other
    fields is to
    click
    in one and then depress the tab key. However, this only tabs
    over to the
    other
    two fields while leaving out one of the fields.
    I would like the page to load so that the user can start
    typing and then by
    pressing tab he can move on to the next field. I don't know
    why this code
    doesn't work. It is kind of frustrating. Does anybody know of
    a fix to this
    problem?
    Thank you for your time!
    <body onLoad="self.focus();document.login.focus()"
    bgcolor="#F2F9FF">
    <center>
    <cfform format="flash" name="login" action="login.cfm"
    method="post"
    width="100%" height="100%" preservedata="true"
    preloader="yes"
    timeout="3600"
    wmode="transparent" style="font-size:12px; font-weight:bold;
    background-color:##F2F9FF; themeColor:##003366"
    onload="name.setFocus();">
    <cfformitem type="script">
    function Tabit(){
    if(Key.getCode() == Key.TAB){
    password.setFocus()
    </cfformitem>
    <cfformgroup type="vbox"
    style="horizontalAlign:'center';" id="mainbox">
    <cfformgroup type="panel" id="loginPanel"
    style="headerHeight:0;panelBorderStyle:'roundCorners';
    shadowDistance:1;
    background-color:##80A8D5; marginTop:0;" width="320"
    height="80">
    <cfformitem type="spacer" height="2" />
    <cfinput width="200" maxlength="30" type="text"
    name="name" label="Name"
    style="font:Arial, Helvetica, sans-serif; font-size:12px;
    font-weight:normal"
    onKeyDown="Tabit();">
    <cfinput width="200" maxlength="30" type="password"
    name="password"
    label="Password" style="font:Arial, Helvetica, sans-serif;
    font-size:12px;font-weight:normal" >
    </cfformgroup>
    <cfformgroup type="vbox">
    <cfformgroup type="horizontal"
    style="horizontalAlign:'center';">
    <cfinput type="button" name="logInButton" value="Log In"
    onClick="alert('Submitted form');">
    </cfformgroup>
    </cfformgroup>
    </cfformgroup>
    </cfform>
    </center>
    </body>

  • Tab font problem (not a web-site problem)

    In the main design page, all the tabs with text on
    them (such as Common, Layout, Text, Tables, etc) are so small, they
    are only represented by a few pixels. You literally cannot read
    them at all. I am a true Noob with Dreamweaver, so I really need to
    be able to read these tabs. Even the text at the bottom left
    portion of the screen is too small (the workspace tabs and the
    <xxxx> items)... I can't make them out at all.
    Help please?
    p.s. this is not about a web design... this is referring to
    the actual program itself.

    Is this a new install and it's been like that since starting?
    Or an old
    install and it used to be okay?
    Are the main menus okay? Only the words in the Insert Bar are
    off?
    If you change to a different User on that machine, same
    problem?
    Uninstall and reinstall. May want to get and run the CS3 or
    CS4 Cleaner app
    from the adobe site to fully uninstall.
    http://www.adobe.com/support/contact/cs3clean.html
    http://www.adobe.com/support/contact/cs4clean.html
    [back up site definitions first]
    And it wouldn't hurt to run through the steps in the technote
    about corrupt
    fonts.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Csv tab delimited problem

    HI Experts,
    I have a problem.
    I have uploaded the file in csv format using Open dataset.
    But they want in csv tab delimited format. I really dont understand how to do in this format.
    I know only csv (the file will be separated by ',') and if tab delimited means ( file separated by '#').
    How to achieve the csv tab delimited format.
    Also, in file, if the field contains - no value, it comes as space. But that space while concatenating, it is not added. How to acheive a space while concatenating the fields.
    Awaiting for your replies.
    Thans in Advance,
    Regards,
    Sakthi Sri.

    hi,
    DATA : FILENAME(128) DEFAULT '/usr/......../file.csv'. "" Your path in app server
    DATA : lv_str type string.
    data: l_seperator       TYPE c.       
      CLASS cl_abap_char_utilities DEFINITION LOAD.
      l_seperator = cl_abap_char_utilities=>horizontal_tab.
    OPEN DATASET FILENAME FOR OUTPUT IN TEXT MODE.
    CHECK sy-subrc EQ 0.
    loop at i_item.
        CONCATENATE
                    i_item-FIELD_1
                    i_item-FIELD_2
                    i_item-FIELD_3
                    i_item-FIELD_4
                    i_item-FIELD_5
                    into lv_str
                    SEPARATED BY  l_separator.
    transfer lv_str to filename.
    endloop.
    * Close File
    CLOSE DATASET FILENAME.
    regards,
    Siva Prasad

  • Spry Tabbed Panel Problem

    Thanks in advance to anyone who can help. I'm having a problem with my spry tabbed panel. It works but the actual CSS isn't working on the spry. The panel goes down onto the content.
    Here is a screen cap: http://img32.imageshack.us/img32/2598/53451133.jpg
    Coding:
    @charset "UTF-8";
    /* SpryTabbedPanels.css - version 0.4 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* Horizontal Tabbed Panels
    * The default style for a TabbedPanels widget places all tab buttons
    * (left aligned) above the content panel.
    /* This is the selector for the main TabbedPanels container. For our
    * default style, this container does not contribute anything visually,
    * but it is floated left to make sure that any floating or clearing done
    * with any of its child elements are contained completely within the
    * TabbedPanels container, to minimize any impact or undesireable
    * interaction with other floated elements on the page that may be used
    * for layout.
    * If you want to constrain the width of the TabbedPanels widget, set a
    * width on the TabbedPanels container. By default, the TabbedPanels widget
    * expands horizontally to fill up available space.
    * The name of the class ("TabbedPanels") used in this selector is not
    * necessary to make the widget function. You can use any class name you
    * want to style the TabbedPanels container.
    .TabbedPanels {
        margin: 0px;
        padding: 0px;
        float: left;
        clear: none;
        width: 100%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
    /* This is the selector for the TabGroup. The TabGroup container houses
    * all of the tab buttons for each tabbed panel in the widget. This container
    * does not contribute anything visually to the look of the widget for our
    * default style.
    * The name of the class ("TabbedPanelsTabGroup") used in this selector is not
    * necessary to make the widget function. You can use any class name you
    * want to style the TabGroup container.
    .TabbedPanelsTabGroup {
        margin: 0px;
        padding: 0px;
    /* This is the selector for the TabbedPanelsTab. This container houses
    * the title for the panel. This is also the tab "button" that the user clicks
    * on to activate the corresponding content panel so that it appears on top
    * of the other tabbed panels contained in the widget.
    * For our default style, each tab is positioned relatively 1 pixel down from
    * where it wold normally render. This allows each tab to overlap the content
    * panel that renders below it. Each tab is rendered with a 1 pixel bottom
    * border that has a color that matches the top border of the current content
    * panel. This gives the appearance that the tab is being drawn behind the
    * content panel.
    * The name of the class ("TabbedPanelsTab") used in this selector is not
    * necessary to make the widget function. You can use any class name you want
    * to style this tab container.
    .TabbedPanelsTab {
        position: relative;
        top: 1px;
        float: left;
        padding: 4px 10px;
        margin: 0px 1px 0px 0px;
        font: bold 0.7em sans-serif;
        background-color: #DDD;
        list-style: none;
        border-left: solid 1px #CCC;
        border-bottom: solid 1px #999;
        border-top: solid 1px #999;
        border-right: solid 1px #999;
        -moz-user-select: none;
        -khtml-user-select: none;
        cursor: pointer;
    /* This selector is an example of how to change the appearnce of a tab button
    * container as the mouse enters it. The class "TabbedPanelsTabHover" is
    * programatically added and removed from the tab element as the mouse enters
    * and exits the container.
    .TabbedPanelsTabHover {
        background-color: #CCC;
    /* This selector is an example of how to change the appearance of a tab button
    * container after the user has clicked on it to activate a content panel.
    * The class "TabbedPanelsTabSelected" is programatically added and removed
    * from the tab element as the user clicks on the tab button containers in
    * the widget.
    * As mentioned above, for our default style, tab buttons are positioned
    * 1 pixel down from where it would normally render. When the tab button is
    * selected, we change its bottom border to match the background color of the
    * content panel so that it looks like the tab is part of the content panel.
    .TabbedPanelsTabSelected {
        background-color: #EEE;
        border-bottom: 1px solid #EEE;
    /* This selector is an example of how to make a link inside of a tab button
    * look like normal text. Users may want to use links inside of a tab button
    * so that when it gets focus, the text *inside* the tab button gets a focus
    * ring around it, instead of the focus ring around the entire tab.
    .TabbedPanelsTab a {
        color: black;
        text-decoration: none;
    /* This is the selector for the ContentGroup. The ContentGroup container houses
    * all of the content panels for each tabbed panel in the widget. For our
    * default style, this container provides the background color and borders that
    * surround the content.
    * The name of the class ("TabbedPanelsContentGroup") used in this selector is
    * not necessary to make the widget function. You can use any class name you
    * want to style the ContentGroup container.
    .TabbedPanelsContentGroup {
        clear: both;
        border-left: solid 1px #CCC;
        border-bottom: solid 1px #CCC;
        border-top: solid 1px #999;
        border-right: solid 1px #999;
        background-color: #EEE;
    /* This is the selector for the Content panel. The Content panel holds the
    * content for a single tabbed panel. For our default style, this container
    * provides some padding, so that the content is not pushed up against the
    * widget borders.
    * The name of the class ("TabbedPanelsContent") used in this selector is
    * not necessary to make the widget function. You can use any class name you
    * want to style the Content container.
    .TabbedPanelsContent {
        padding: 4px;
    /* This selector is an example of how to change the appearnce of the currently
    * active container panel. The class "TabbedPanelsContentVisible" is
    * programatically added and removed from the content element as the panel
    * is activated/deactivated.
    .TabbedPanelsContentVisible {
    /* Vertical Tabbed Panels
    * The following rules override some of the default rules above so that the
    * TabbedPanels widget renders with its tab buttons along the left side of
    * the currently active content panel.
    * With the rules defined below, the only change that will have to be made
    * to switch a horizontal tabbed panels widget to a vertical tabbed panels
    * widget, is to use the "VTabbedPanels" class on the top-level widget
    * container element, instead of "TabbedPanels".
    /* This selector floats the TabGroup so that the tab buttons it contains
    * render to the left of the active content panel. A border is drawn around
    * the group container to make it look like a list container.
    .VTabbedPanels .TabbedPanelsTabGroup {
        float: left;
        width: 10em;
        height: 20em;
        background-color: #EEE;
        position: absolute;
        border-top: solid 1px #999;
        border-right: solid 1px #999;
        border-left: solid 1px #CCC;
        border-bottom: solid 1px #CCC;
    /* This selector disables the float property that is placed on each tab button
    * by the default TabbedPanelsTab selector rule above. It also draws a bottom
    * border for the tab. The tab button will get its left and right border from
    * the TabGroup, and its top border from the TabGroup or tab button above it.
    .VTabbedPanels .TabbedPanelsTab {
        float: none;
        margin: 0px;
        border-top: none;
        border-left: none;
        border-right: none;
    /* This selector disables the float property that is placed on each tab button
    * by the default TabbedPanelsTab selector rule above. It also draws a bottom
    * border for the tab. The tab button will get its left and right border from
    * the TabGroup, and its top border from the TabGroup or tab button above it.
    .VTabbedPanels .TabbedPanelsTabSelected {
        background-color: #EEE;
        border-bottom: solid 1px #999;
    /* This selector floats the content panels for the widget so that they
    * render to the right of the tabbed buttons.
    .VTabbedPanels .TabbedPanelsContentGroup {
        clear: none;
        float: left;
        padding: 0px;
        width: 30em;
        height: 20em;

    Hi Ben,
    I creat a new page ( a simple page...):
    http://dev.achab.it/test/test.htm
    Our web-graphics are insert into
    <script type="text/javascript" src="../common/js_func/parameters.js"></script>
    the SpryTabbedPanels.js scripts.
    On the new simple, you can click to 4 Tabs on the left.
    If you want to see the 5 or 6 content tab you can click the label into the 3 or 5 content tab.
    When you click on the label "here" on the 3° Tab (for example), you can see the content change and the "Tab 3" is not selected.
    I'd like to change the content and leave the "Tab 3" selected.
    I hope in your help :-)
    thank in advance
    regards
    Stefano

  • Open link in new tab/window problem

    I have the following problem: I have a menu with h:commandLinks and I use faces.config configurations for my navigation. When I choose to open a menu entry in a new window or a new page the old page is displayed and I have to click again on the menu entry in order to navigate to the new page.
    Does anyone know what is causing this? How could I make it work so that the user gets the content of the desired page in the new tab/window?
    Thanks

    Hi,
    sorry for the late response. I have h:messages on the page and I don't get any errors. I try to open the link so: right click on the link and then I choose "Open Link in New Tab" or "Open Link in New Window".
    If I simply click on the link everything works fine and the new page is displayed but when I use the right click menu the same page is displayed and I have to click again to obtain the desired page.
    thanks

  • Cross Tab display problem in viewer.

    Post Author: SamCCO
    CA Forum: .NET
    I am having a problem with the CrystalReportViewer in Visual Studio 2005.  I have a report which contains a cross tab object that has the upper column labels rotated 90 degrees so that the column widths remain small.  When I view the report in the web viewer in VS 2005, the column labels are all horizontal and unreadable because they run into each other across the top of the cross tab.  Why won't the labels render in a 90 degree fashion?
    When you print the document from the viewer it shows the labels at 90 degrees.  Is this a bug in the report viewer?

    Update
    Hi Guys the report is working fine with cross tab . Its giving the above error when ever I click the Drill to link which takes to the another detail report.
    thanks in advance

  • Cross Tab Formatting Problem when exported to excel

    Hi There,
    I got a problem with cross tab when exported to excel, Call_id field is occupying 4 cells. Below is the structure
    AssignedGroup-Call_Id-Total
    A--1001-
    A--1011-
    Total-----2-
    B--1021-
    B--1031-
    Total-----2-
    C--1041-
    Total-----1-
    can anyone help? How to restrict call_id to fit in single cell?
    Thanks,
    Jyothi
    Edited by: Jyothi Yepuri on Sep 16, 2009 7:50 AM

    Yeah.. crystal has giving  some issues while exporting reports without SPs, especialy previous versions.
    So  Better to install latest SP or patches for CR 10.0. I think SP 6 is the updated one for CR10.0.
    For More info Go through this link,
    http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CR10
    Regards,
    Salah

  • Tab char problem in reports6i

    hi
    I have a long column, and text data in it.
    I show it in reports. I use flush justify in the reports(left and right justify). In some lines there is tab character(chr(9)). I use fix length fonts.
    Fisrt; in the reports I see the tab char only one space length. Can I manullay change it?
    Second; altough I use flush justify, right side is ok, but in the lines of which has tab character at the begining does not start in the same vertical order. (Two different lines with one(or same number of) tab at the begining has different left margins.)
    Do you have any suggections for this urgent problem?
    Thanks...

    have u find any solution to ur problem. i am also facing the same problem.
    zafar
    [email protected]

  • Tab Traversal problem in JTable

    Hi all,
    I am having a requirement in my current project to traverse across the cells of a JTable. Some of the cells were set CustomCelleditor(mainly textfield).
    I have gone through the threads in this forum and tried a code snippet which is now highlighting the text on tab traversal. But there are 2 problems with which I am facing with :-
    1. I need to press tab twice to move to the next cell(one is stopping cell editing and the other is to traverse to the next cell).
    2. When I moved from cell 1 to cell2 using tab and then click on cell1, the text is not getting highlighted.
    Please help me in resolving these issues ?
    The code I tried includes :-
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.table.*;
    import javax.swing.text.*;
    public class TableSelectAll extends JFrame{
         JTable table;
         public TableSelectAll() {     
              Object[][] data = { {"1", "A"}, {"2", "B"}, {"3", "C"}, {"4", "D"} };
              String[] columnNames = {"Number","Letter"};
              DefaultTableModel model = new DefaultTableModel(data, columnNames);
              table = new JTable(model) {   
              public void changeSelection(int row, int column, boolean toggle,
    boolean extend) {
              super.changeSelection(row, column, toggle, extend);
                   SwingUtilities.invokeLater( new Runnable(){                 
                   public void run() {    
                        table.dispatchEvent(new KeyEvent( table,                               KeyEvent.KEY_PRESSED,
                             0,
                             0,
                             KeyEvent.VK_F2,
                             KeyEvent.CHAR_UNDEFINED) );
                   JScrollPane scrollPane = new JScrollPane( table );
                   getContentPane().add( scrollPane );
                   MyCellEditor dce = new MyCellEditor( new SelectAllEditor() );
                   dce.setClickCountToStart( 1 );
                   table.setDefaultEditor(Object.class, dce );
         class SelectAllEditor extends JTextField implements FocusListener { 
              public SelectAllEditor() {           
              setBorder( new LineBorder(Color.black) );
              addFocusListener( this );
    public void setText(String text) {
         super.setText(text);
         System.out.println("text");
         selectAll();
    public void focusGained(FocusEvent e) { 
         System.out.println("gained");
         if (getSelectionStart() == getSelectionEnd())
         selectAll();
         public void focusLost(FocusEvent e) {}
    class MyCellEditor extends DefaultCellEditor {
    public MyCellEditor(JTextField t) {
    super(t);
    public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int
    row, int column) {
    final Component c = super.getTableCellEditorComponent(table, value, isSelected, row, column);
    if (c != null && c instanceof JTextField) {
    try {
    c.requestFocus();
    } catch (Exception e) {
    //handleException(e);
    return c;
    public static void main(String[] args) {   
         TableSelectAll frame = new TableSelectAll();
         frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    frame.pack(); frame.setVisible(true);
    Regards
    Nagalakshmi

    Additional info:[http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=017300]

Maybe you are looking for

  • New wiki page: KDevelop 4 with plugins

    I was recently looking for information about trying KDevelop 4 for PHP development, but there has been precious lack of information about doing this since full PHP support requires a separate plugin. There are, in fact, several interesting plugins th

  • Phone won't update to 14.4.A.0.133

    Hi there, Background: I live in Australia and Telstra is my service provider. I received a notification for a new system update a few weeks ago but despite trying multiple times, I can't install the update. I can fully download the update, but when i

  • Skipping Corrupt Block

    Hi Gurus, My alert log was showing a block corrupt and i repaired it with dbms utility. After this oracle starts generating a trace file in udump folder every minute which shows follwing error. table scan: segment: file# 19 block# 67 skipping corrupt

  • Joining four tables

    hi i have four tables, given the sample data for the relevant field of the tables here under table company: company_id     comp_parent_org_id 241     238 457     279 225     200 478     200 10     279 table representative: rep_id     rep_parent_org_i

  • ICal alerts to mail

    I changed the battery on my G5. When I restarted the computer the date was reset to 2001. My calendar started sending all the reminders for the last 10 years to my mail box. How do I get rid of al those old reminders/alerts so that it doesn't happen