Simple tab problem

hi,
in a JTextArea, if there's a tab in a line of text, if I get the text for this line (using getText() function of JTextArea, why does the tab disappears? -- the tab didn't even become whitespaces...

Owen,
You can tell if you are in the correct mode for pasting a tab delimited dataset. If you have no visible cursor in the cell, you are ready to paste. If you see the flashing text insertion cursor, click off the cell and then carefully move the focus back to the cell, where you want the first piece of data to go, make sure you don't see the cursor, then paste.
Jerry

Similar Messages

  • JDeveloper IDE simple setting problem

    Hi,
    Recently we switched to JDeveloper from Visual Cafe .I have a simple setting problem.How can I set the options so that IDE gives, the core java classes and packages,and our application classes and packeges, prompts in imports as well as in code.Where to set the options.
    eg: when I write
    import java. it should prompt all the pakages.
    Thanks in advance.
    -Gopal
    null

    I am not sure I understand what you are requesting, but ...
    You can configure JDeveloper projects to include various libraries by default.
    This is done by selecting menu Tools | Default Project Properties.../ Libraries tab.
    You should define a library for your classes.
    You can import any of the packages / classes from all the libraries which your project includes.
    It would be incorrect for a tool to automatically add a bunch of import lines at the top of every file because each file should import what it needs and just as importantly, not import what it does not need depending on the component type (e.g. a servlet should not include javax.swing.* ).
    An easy way to import elements into JDeveloper is to type in something like:
    import java.
    // and then type in Ctrl Space
    and this launches the package browser, you can select packages or classes to import.
    You can also do this at the variable declaratiton point such as typing in:
    foo() {
    Frame x
    // Press Control Alt Space
    and this will correctly change the type (Frame) to the type you select in the package browser and add the import statement.
    -John
    null

  • Simple OOP Problem. Help!

    This is just a simple OOP problem that i cant decide on a best
    implementation for.
    im passing an object to an instance of, 'TabbedFrame', which is just
    a frame with a Tabbed Pane in it that is holding custom panels.
    however, these custom panels need access to the object being
    passed to 'TabbedFrame' and to some methods in it.
    i cant make them static however so how do i gain access to them?
    is my only option to pass the 'TabbedFrame' to each panel?
    like - jtabbedpane.add( "Panel 1", new mypanel1(this));
    here is code:
    new TabbedFrame( DataObject );
    public class TabbedFrame{
    public TabbedFrame(DataObject do){
    this.do = do;
    jtabbedpane.add( "Panel 1", new mypanel1() );
    DataObject do;
    public class mypanel1{
    public mypanel1(){
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    }i would just pass the DataObject to evey panel (there are 12) but
    i also need to be able to call methods in the 'TabbedFrame'.
    Any help would be appreciated!

    Modify mypanel1's constructor:
    public class mypanel1{
    TabbedFrame tf;
    public mypanel1(TabbedFrame tf){
    this.tf = tf;
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    DataObject theDo = tf.getDataObject();
    tf.someMethod(); // Call method on the TabbedFrame
    }In TabbedFrame:
    public TabbedFrame(DataObject do){
    this.do = do;
    // Modify call to constructor to pass "this" TabbedFrame.
    jtabbedpane.add( "Panel 1", new mypanel1(this) );
    }

  • Simple Tab Update ERROR

    Hey guys,
    I have an X220 Tablet and today I was prompted that thre is a Simple Tab update available. After downloading it I got the following error message:
    Any suggestions on what the problem might be, assuming I have a genuine Lenovo product
    Solved!
    Go to Solution.

    I don't know what the problem could be.  You can install the latest SimpleTap manually from the following link:
    http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS003260

  • Real simple xslt problem/question

    Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name. i want to use xslt to reproduce exactly the same xml document except with an attribute called "id" added to those elements with a "result" tag name. i'm sure that theres a simple solution to it but i just cant figure it out. any helps greatly appreciated, thanks

    Start with the XSLT identity transform (I don't have it handy and it's fairly long, but you should be able to google it up). Add this:<xsl:template match="result">
      <result id="">
        <xsl:apply-templates>
      </result>
    </xsl:template>

  • Very Urgent Tab Problem

    Hi to All...
    I Designed the PDF forms using Adobe Acrobat Live Cycle Designer 7.0.
    but i am facing tab problem.
    for example: if i entered in the some text boxes then if i want to go back to previous text boxex means curser will go to the some other text boxes.
    and also if open in internet Explorer tab issue is more.
    is there any property we need to set?
    please guide me its very urgent.
    thanks in Advance...
    chalmal Seetaram

    To set the Tab order choose: 'Tab Order' under 'View' menu and read through the Tips.... it is easy.
    Good Luck,
    SekharN

  • Alignment with Tabs Problem

    Hi friends,
    i have an CRM application where the item alignment and the tabs is creating a problem for me.
    Instead of me to elaborate, i can show you in my page in apex.oracle.com, so that you can understand my problem clearly in the page itself. These are the login credentials
    http://apex.oracle.com/pls/apex
    Workspace: mini_ws
    username: [email protected]
    password: mini4i
    Over there in the application 45387(application name: Customer Relationship Mgmt)
    Under Page 2(page name: Accounts). U can see that the i couldn't able to align the following three items to the right side position of the region along with other items.
    <li> sic code
    <li> shipping country
    <li> upsell opportunity
    i dont know why it is not arranging like the other items(as the other items are arranged properly).
    Another Problem is the tab problem in that page. I have following two tabs
    <li>Accounts(will navigate to the page 2)
    <li>Contacts(will navigate to the page1)
    There is no any problem with the tab "Accounts" as it is correctly navigating to the page 2. But the problem persist with the "Contacts" tab.
    As the "Contacts" tab is navigating to the page 1, but the"Accounts" tab is not visible in the page 1 and it is entirely getting disappearing. i dont know why it is happening.
    Generally for the tabs, if we navigate to the corresponding page by pressing the corresponding tabs means, the other tab has to be visible inorder to navigate to the other page.
    But in my case, if i pressed the "Contacts" tab means the "Accounts" tab is getting disappearing. I think that you can able to get my problem clearly in the example.
    What is the tab issue over here and also about the alignment issue.
    Thanks for your support friends.
    Regards,
    Mini

    Mini wrote:
    Hi friends,
    i have an CRM application where the item alignment and the tabs is creating a problem for me.
    Instead of me to elaborate, i can show you in my page in apex.oracle.com, so that you can understand my problem clearly in the page itself. These are the login credentials
    http://apex.oracle.com/pls/apex
    Workspace: mini_ws
    username: [email protected]
    password: mini4i
    Over there in the application 45387(application name: Customer Relationship Mgmt)Thank you for doing so. It makes troubleshooting so much easier.
    Under Page 2(page name: Accounts). U can see that the i couldn't able to align the following three items to the right side position of the region along with other items.
    <li> sic code
    <li> shipping country
    <li> upsell opportunity
    i dont know why it is not arranging like the other items(as the other items are arranged properly).The first item on the other rows has <tt>colspan="4"</tt> set.
    Another Problem is the tab problem in that page. I have following two tabs
    <li>Accounts(will navigate to the page 2)
    <li>Contacts(will navigate to the page1)
    There is no any problem with the tab "Accounts" as it is correctly navigating to the page 2. But the problem persist with the "Contacts" tab.
    As the "Contacts" tab is navigating to the page 1, but the"Accounts" tab is not visible in the page 1 and it is entirely getting disappearing. i dont know why it is happening.
    Generally for the tabs, if we navigate to the corresponding page by pressing the corresponding tabs means, the other tab has to be visible inorder to navigate to the other page.
    But in my case, if i pressed the "Contacts" tab means the "Accounts" tab is getting disappearing. I think that you can able to get my problem clearly in the example.
    What is the tab issue over here and also about the alignment issue.No idea. Tabs are awful so I never use them.

  • Item level security, workflow and tab problems

    was wondering if someone could help us out with some problems we are having. We need to up and running over the next two days so anyone who could get back to us pretty quickly would be greatly appreciated.
    We are actually having a couple of issues which all revolve around three
    groups we have created (for simplicity we have only attached one user to each group). Here are the steps we took:
    Problems adding content:
    a) Added the three groups to the page group and gave them view access.
    b) Turned on approvals and set group3 as the approver.
    c) Added the three groups to the page and gave them view access.
    d) In the page properties, I enabled item level security.
    e) Added an item content area to the page.
    f) Added three pieces of simple content
    g) For content item1 I granted granted full access to group1(Own, manage, view), for content item 2 I granted full access to group2, etc.
    h) WHen I log on as a user in group1 I only see content item1. HOwever, when I edit the page I find I cannot add any items as user1.
    i) I went back to the page properties and changed the access of all three groups to "manage items with approval" but let the item level security as it was.
    j) When I logged on as user1 I found I could see all items now when I should only have seen content item1. What the hell? Can anyone tell me what I did wrong?
    Problems with item level security on tabs:
    a) Repeat steps a) through d) above.
    b) Create a content region and add three tabs: Home, Work, Life.
    c) On the Work tab changed portlet region to item region.
    d) Added three items with security exactly as I did above.
    e) When I signed on as user1 I saw all three items when I only should have seen item1. What the hell?
    f) I monkeyed around with the secutiry at the tab level but it didn't seem to make much difference. ANyone have any ideas what is going on here?
    Thanks in advance.

    Does the library have versions enabled? Also are these logins occuring within word/excel etc?
    If there's multiple login prompts which occur even if entering valid credentials what does hitting escape (after the first prompt) achieve, does the document open anyway?
    There's a situation where Office will prompt for credentials if you open a document when you've only got read access but there's a version history (to which you don't have access). This is to allow you to enter more highly privelidged credentials if you
    want to.

  • Creating a form with a field that contains a simple math problem.

    I am creating a form in Acrobat 9 Standard that contains a field that requires a simple math function (divide).
    if (QuantityRow1 > 0)
    ExtensionRow1 / QuantityRow1
    Take the value input in ExtensionRow1 and divide it by the value in QuantityRow1. I have included an IF statement to prevent an error that occur if QuantityRow1 were equal to zero.
    After inputting the data into the two fields I tab past the field where I expect to see my result and the field remains blank. I don't receive any error messages.
    Any ideas? Thanks - jb

    This is a duplicate of your question on Acrobatusers.com (
    http://answers.acrobatusers.com/Need-simple-math-operation-function-Acrobat-9-Standard-cre ating-form-q142800.aspx
    Did the information provided there not help you with your problem?
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    PDF Software Development, Training and More...
    [email protected]
    http://www.khkonsulting.com

  • Simple button problem

    I am having a real problem creating a simple button - I have
    created a Flash file using Action script 2, and when I create a
    simple button - text with a rectangle as a background, (see
    http://www.elkhavenestate.com),
    and the over state is behaving in a bizarre fashion. This is my
    first time using CS3, so is there a new control that I'm
    missing?

    I take it that it's the Home button. It appears to have a
    selectable text field or something in it, which is causing the
    problem. Either change that to a static text field or set its
    selectable property to false. The other two buttons appear to be
    fine, so maybe you can just duplicate one of them and turn it into
    the Home button.
    If I picked the wrong button, let me know.

  • TOC (table of contents) Formatting/Leader Tab Problems

    BACKGROUND
    I have found it impossible to format TOCs with leader tabs as I've seen the procedure outlined in numerous forum posts, books, and elswehere. I am an intermediate FrameMaker user running FM 9 on Windows XP Pro. I run the same setup on a home and office machine with the same problem.
    I am in the process of migrating very large volumes of our company's documentation from LaTek to FM and this issue is proving to be insurmountable.I need to have complete control over this process, instead of "making do" with the default TOC.
    I have spent three days studying every nuance of the issue, which usually leads me to some insight or pattern that lets me solve the problem, or at least share some clue on the forums. However, in this case, FM either doesn't work as its supposed to or it implements my changes in a seemingly arbitrary manner. So I'm not sure if this is a bug or a user error. I've also experienced the occasional crash of FM during all this work, oftentimes this is preceded by the Paragraph Designer window freezing up and refusing to change views within the window (i.e. basic, default font, etc.).
    THE PROBLEM
    More specifically, I've learned to manage general formatting with the building blocks on the "reference page", but the leader tabs I use for the page numbers almost never propogate, unless I use the sample TOC included with FM.
    I am certain they are properly formatted, I've even copied examples directly from files that I know work (FM sample files).
    When I implement the process manually, I insert the tab between the building blocks (no spaces), set a right flush tab, double click and choose tab leader option. Then I go to "body page" view, save the document, and regenerate the TOC. Usually nothing happens. Ocassionally, after regenerating several times or creating a fresh TOC, some of the changes magically propogate.
    I have even tried importing the format of another TOC, which only seems to work randomly. Mostly not.
    Any help is appreciated.
    Thanks,
    Douglas

    Thanks for your quick responses, as well as your other suggestions for my project.
    I am running FM 9.0p230. I tried upgrading to 9.0.3 when I began encountering this problem, but received an error message telling me I was running the wrong version of FM. If any one is familiar with this error message and can mention the fix before I delive into that problem, it is also appreciated.
    I have attached the TOC. I'm not sure how/if this can be used to help me troubleshoot, so please let me know. I am new to the forums and the development side of FM.
    I did "update all" on the paragraphs tags in question. If you look in the body view of this page with text symbols turned on, you can see the symbols for the second tab stops I have placed between the text and page number. That informatoin also appears in the Paragraph Designer. Both of those things add to my confusion on this matter, because that would seem to indicate I have globally applied the paragraph tags correctly, right?
    If you go to the reference page, you will see my treatment of the building blocks.
    Thanks again in advance for help,
    Douglas

  • Partial payment tab problem when clearing two open items in vendor account

    Dear All,
    I have the problem with partial payment procedure.
    As SAP is presenting the process, partial payment should work as follows (i.e. with vendor):
    1. Incoming invoice is posted -> Credit -100
    2. Credit note is posted  -> Debit +20
    3. Payment (without clearing) is posted to vendor account -> Debit +50
    I'll run transaction F-44 and go to tab "Partial payment".
    I see 3 items (as above).
    I mark Item -100 and +20
    I double click in filed next to -100 and it changes to -20
    An now it should make no posting but only assignemet of one item to another.
    But in my case, if I click "save" icon, it makes postings Debit 20 and Credit -20 on vendor account.
    Is there any possibility that such clearing will not generate any posting but just make assignement of one item to another. Or maybe there is something wrongly configured in the system. At the moment the partial payment makes some kind of residual items.
    Thanks in advance for replay.
    Best regards
    Greg

    Hello,
    Yes, it's right, whenever we clear vendor or custmoer account, the system creates document, but as I remeber from other instalations, the document had header but there was no postings.
    It case described, the system creates posting:
    40       Vendor      20 EUR
    50       Vendor      20 EUR
    This is strange for me. As ther should be clearing document but with no postings.
    Have you got any idea how to configure the system, so partial payment tab in clearing transactions creates clearing document but with no phisical postings.
    Best regards
    Greg

  • Multiple tab problem in Fire Fox, URL pane is not changing

    Open multiple tabs
    the url shown in url pane does'nt change but stays which has entered latest one.
    the url pane text wont change even when you swap to another tab.

    A couple of possible causes:
    First check to see if an add-on is causing this, add-ons can cause problems with the location bar not updating. For details of how to check this see https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    The second possible cause is a problem with the file that stores details of bookmarks and browsing history. I don't think this will be the cause in your case, as if there is a problem with that file you will normally get multiple problems. For details on this see http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • Combobox in jtable two tab problem

    Hi all,
    If i am using combobox for one of the columns of jtable with custom editor and renderer, it needs two tab for navigation between the cells.
    How can i make it as 'one tab navigation'. Even i tried with 'isManagingfocus() return true' but...no effect.
    thanx in advance.
    S.A.Radha.

    here I'm giving a simple sample code. Refer this..
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import java.awt.*;
    public class Class1 extends JFrame {
    JScrollPane jScrollPane1 = new JScrollPane();
    JTable editableTable1 = new JTable(3, 3);     
    public Class1() {
    try {          
    JComboBox c = new JComboBox();
    c.setEditable(true);
    c.addItem("a");
    c.addItem("b");
    DefaultCellEditor cellEditor = new DefaultCellEditor(c);
    TableColumn tc = editableTable1.getColumnModel().getColumn(0);
    tc.setCellEditor(cellEditor);
    this.getContentPane().setLayout(null);
    jScrollPane1.setBounds(new Rectangle(25, 19, 330, 180));
    this.getContentPane().add(jScrollPane1, null);
    jScrollPane1.getViewport().add(editableTable1, null);
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent we) {
    System.exit(0);
    } catch(Exception e) {
    System.out.println("Exception in Class1:"+e);
    public static void main(String[] args) {
    Class1 class1 = new Class1();
    class1.setSize(400, 400);
    class1.setVisible(true);

  • Logo/picture to menubar? simple css problem?

    Hi, I'm having a problem getting a logo to appear correctly in a horizontal menu bar. It appears to be fine in IE 8, Safari 5, Chrome, and Firefox. However in IE 7 and lower it does not seem to display correctly. The only conditional notes I have for IE 7 and lower deals with the slideshow on the page which shouldn't be affecting the menubar as it is in a different div.
    Here is the url: www.elementcentral.com
    Any advice? I could really use some help- I've tried quite a few things but to no avail...
    Thanks for any help you can offer and I'm more than happy to clarify or anything else!
    Sincerely,
    Matt

    Anyone? I'm thinking its just something simple but I can't figure it out for the life of me heh.

Maybe you are looking for

  • Windows Vista 64 Lightroom v1  Catalog Problem

    I have a new computer running Vista 64 and an older version of Lightroom. The software seemed to install ok, but after I copied over the catalog files to the new computer, the catalog appeared to be empty (I selected that file). The catalog is fine o

  • Opening Raw Files in Elements 9

    Just loaded my copy of Elements 9 which I upgraded to so that would open Raw files from my Nikon D7000.  However, when I try to open my files in Editor, no Raw Converter opens and I get a program error as reason.  What do I do

  • ORA-06550: Please-00103, ORA-06550: Please-00103 DECODE function

    Hi to all. I have client oracle 8i and i'm using pl sql developer. I have the following plsql procedure: set serveroutput on size 1000000; DECLARE type t_cur is ref cursor; type type_rec is record (codicepool char(12), codicefisico char(12), givennam

  • [solved] Beryl messes up my screen - I don't know why!

    I tried to configure beryl on my new Thinkpad X60 (which has an Intel GMA950). I use the very same settings that worked on my old notebook, too (it had an i810 graphics device, so I use the same driver), AIGLX, to be more precise. I can start Beryl w

  • Outlook calendar

    Hi I have an Iphone 4s I also have a google account and an outlook account. I get contacts, calendar and email from google on iphone but only outlook email. I have Outllok 2007 on a Windows 7 PC 64Bit I have looked at settings and I see email, contac