How to remove dashed line

I want to ask you how I can remove this blue dashed line?
http://i.stack.imgur.com/WQpwt.png
Ref javafx 2 - How to remove dashed line - Stack Overflow

Hi,
This is my code. How do you want to modify this?
List<String> members = new ArrayList<String>();
FileInputStream fstream = new FileInputStream(cube);
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
while ((strLine = br.readLine())!=null)
if(!(members.contains(strLine)))
members.add(strLine);
in.close();
mail.send(members);
Thanks,

Similar Messages

  • How to removed dashed lines from "Page Break View"?

    Hi,
    In Excel 2010, I found that once “Page Break View” is selected, there will be dashed lines across the view even after returning to “Normal” view. These dashed lines can be distracting.
    Is there a way to remove them?
    Bob

    Yes use
    File -> Options -> Advanced
    Scroll down to Display options for this worksheet and remove the tick in Show Page breaks.
    Unfortunately it's sheet specific so you'll have to do it everytime it happens until you've done all the sheets.
    Unless you develope some VB to do it for you,
    G North MCT

  • How to remove new line character from query output?

    Hi,
    How to remove new line character from query output?
    have tried select replace(column_name, CHR(10), ' ') from table_name.
    Edited by: GreenHorn on Sep 11, 2008 12:53 AM

    Please consider, that windows uses a sequence of chr13||chr(10) Unix uses only one character chr(10).
    The new line character(s) may be OS-dependent.
    You could consider both with:
    replace(replace(column_name, CHR(13)||CHR(10), ' '),CHR(10),' ')
    Hartmut
    Edited by: hartmutm on 11.09.2008 01:32

  • How to set dash line color(two colors)?

    hello all:
    Does anyone know how to set dash line color in java?
    I only know how to set line color with a single color.
    g2.setColor(Color.black);
    g2.setStroke(dashed);
    g2.draw(new Rectangle2D.Double(50, 50, 200,100));
    what I need to implement is two colors interleave on the dash line.
    so that dash line looks like this:
    ==== ====
    red white red white
    thank you for any comments.
    -Daniel.

    create 2 strokes, space them appropriately, draw the rectangle twice.

  • How to remove blank lines in the end of list .

    hi,
    in a complex report ,when there are only 20 pages,and linecount is 65(2) ,in the last page only 27 lines are filled and data is completed.then blank lines are printing from 27th line to 63 line.then end of page is triggering.
    so plz help me how to remove the blank lines here and immediately print the endof page.

    Hi,
    will this work for you.
    SET BLANK LINES OFF.
    These statements allow you to specify whether you want to output blank lines or not. Use SET BLANK LINES ON to output blank lines or SET BLANK LINES OFF to suppress them.
    Regards
    Viswanath Babu

  • How to remove characters/lines from the beginning of an InputStream

    Hi,
    I have a program which receives several InputStreams. From each of these streams I have to remove 2 lines from the beginning. After the lines are removed, all the streams are combined to one with SequenceInputStream and read in one chunk. Is there an easy/simple way of doing this?
    One option I thought would be to read the char by char until 2 end of line chars have been detected and then read the rest of the data to a buffer. And the create a ByteArrayInputStream out of this buffer. Problem with this approach is, that the amount of data can be large, so putting all the data in to memory might cause problems.
    Another option is to use BufferredInputStream and use the readline() method twice to get rid of the lines that are not needed. After this I would write the data to some output stream, which is then converted back to input stream. Propably would work, but sound too much of work for a simple thing like this. There has to be better way.
    To make it simple, what I need is a method that looks like the following, or something similar
    *  Removes n number of lines from the beginning of a InputStream.
    *  @param is InputStream where the lines are removed
    *  @param numberOfLines int value to indicate how many lines whould be removed
    *  @return InputStream where lines have been removed.
    public InputStream removeLines(InputStream is, numberOfLines);Thanks.

    Here's the code, feel free to use it. Comments are also welcome.
    public InputStream removeLinesFromTheBeginning(InputStream is, int numberOfLines) throws IOException
              char c = 'c';
              int i = 0;
              for(int n = 0 ; n < numberOfLines ; n++)
                   do
                        c = (char)is.read();
                        System.out.print(c);
                        if(c == (char)-1)     // end of stream reached before any newline characters were found.
                             return null;
                        i++;
                   while(c != '\n');
                   System.out.println();
                   System.out.println("Characters removed:" + i);
                   System.out.println("n: " + n);
                   i = 0;
              return is;
         }Edited by: dave_spaghetti on Jun 16, 2009 5:42 AM
    Fixed a bug.

  • How to remove white line that appears on background of flash file when viewing in powerpoint?

    When importing a swf file into powerpoint with a background colour a thin white line appears on the top of the flash movie when played in powerpoint. The white line disappears when you click onto another slide and back again, but always appears when initially playing the slide. Anyone have any ideas why this is and how to remove it?
    Any help is appreciated.
    Dom

    Doesn't the Location Bar (URL's) also disappear in the Add-ons Tab? <br />
    Separator or border used to delineate the User Interface (Toolbars) from the content area.
    Contact the developer of Tree Style Tabs. If that white line doesn't appear until you click on a Tab, I would call it a Bug or glitch in that extension.

  • How to remove empty lines from xml files after removing nodes from document

    <pre>
    Hi
    <b>i have xml document, which is shown below
    after removing some nodes from the document ,i am getting empty lines in place of removed nodes,how to resolve this and get the proper xml document without any errors</b>
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE Message SYSTEM "TRD01.dtd">
    <Message>
    <Header>
    <CounterPartyType>CLIENT</CounterPartyType>
    <CreationTime>20134455</CreationTime>
    <ErrorCode>363 </ErrorCode>
    <ErrorEnterPriseId>N</ErrorEnterPriseId>
    <ErrorStatus>1</ErrorStatus>
    <ErrorSystemId>STL</ErrorSystemId>
    <ErrorTimes>31</ErrorTimes>
    <MessageType>T</MessageType>
    <RecipientEnterpriseId>N</RecipientEnterpriseId>
    <RecipentSystemId>EXM</RecipentSystemId>
    <Remarks>REMARSK</Remarks>
    <SenderEnterpriseId>N</SenderEnterpriseId>
    <SenderSystemId>TR</SenderSystemId>
    </Header>
    </Message>
    <ErrorCode>363 </ErrorCode>
    <ErrorEnterPriseId>NIHK</ErrorEnterPriseId>
    <ErrorStatus>1</ErrorStatus>
    <ErrorSystemId>STL</ErrorSystemId>
    <ErrorTimes>31</ErrorTimes>
    XPathExpression expression5 = xpath.compile(xmlpath5);
    Object result5 = expression5.evaluate(doc, XPathConstants.NODE);
    Node node5 = (Node) result5;
    node5.getParentNode().removeChild(node5);
    XPathExpression expression6 = xpath.compile(xmlpath6);
    Object result6 = expression6.evaluate(doc, XPathConstants.NODE);
    Node node6=(Node) result6;
    node6.getParentNode().removeChild(node6);
    XPathExpression expression7 = xpath.compile(xmlpath7);
    Object result7 = expression7.evaluate(doc, XPathConstants.NODE);
    Node node7=(Node) result7;
    node7.getParentNode().removeChild(node7);
    doc.normalize();
    doc.normalizeDocument();
    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer t = tf.newTransformer();
    t.setOutputProperty(OutputKeys.INDENT, "yes");
    t.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
    t.setOutputProperty(OutputKeys.METHOD,"xml");
    t.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
    the xml output i am getting is
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <Message>
    <Header>
    <CounterPartyType>CLIENT</CounterPartyType>
    <CreationTime>20134455</CreationTime>
    <MessageType>TRD01</MessageType>
    <RecipientEnterpriseId>N</RecipientEnterpriseId>
    <RecipentSystemId>STL</RecipentSystemId>
    <Remarks>REMARSK</Remarks>
    <SenderEnterpriseId>N</SenderEnterpriseId>
    <SenderSystemId>T</SenderSystemId>
    </Header>
    </Message>
    <b>could you please let me know how to avoid empty lines in the xml doucment output</b>
    this is the method i am using to get the result
    public void ValidateRecord(String xml){
    try{
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = factory.newDocumentBuilder();
    //parse file into DOM
    /*DOMParser parser = new DOMParser();
    parser.setErrorStream(System.err);
    parser.setValidationMode(DTD_validation);
    parser.showWarnings(true);*/
    System.out.println ("HI THIS xml is validation "+xml);
    Resolver res = new Resolver();
    db.setEntityResolver(res);
    Document doc = db.parse(new InputSource(new StringReader(xml)));
    XPathFactory xpf = XPathFactory.newInstance();
    XPath xpath = xpf.newXPath();
    // XPathExpression expression = xpath.compile("//A/B[C/E/text()=13]");
    String xmlpath="/Message/Header/CounterPartyType/text()";
    String xmlpath1="/Message/Header/RecipentSystemId/text()";
    String xmlpath2="/Message/Header/ErrorSystemId/text()";
    XPathExpression expression = xpath.compile(xmlpath);
    XPathExpression expression1 = xpath.compile(xmlpath2);
    Object result = expression.evaluate(doc, XPathConstants.NODE);
    Object result1 = expression1.evaluate(doc, XPathConstants.NODE);
    Node node = (Node) result;
    Node node1 = (Node) result1;
    System.out.println("the values of the string is " +node.getNodeValue());
    System.out.println("the values of the string is " +node1.getNodeValue());
    // for (int i = 0; i < nodes.getLength(); i++) {
    //System.out.println(nodes.item(i).getNodeValue());
    // CAHNGING THE RECEIPENT NODE
    XPathExpression expression2 = xpath.compile(xmlpath1);
    Object result2 = expression2.evaluate(doc, XPathConstants.NODE);
    Node node2 = (Node) result2;
    System.out.println(node2);
    node2.setNodeValue(node1.getNodeValue());
    System.out.println(node2);
    //removing the nodes from document
    String xmlpath3="/Message/Header/ErrorCode";
    String xmlpath4="/Message/Header/ErrorEnterPriseId";
    String xmlpath5="/Message/Header/ErrorStatus";
    String xmlpath6="/Message/Header/ErrorSystemId";
    String xmlpath7="/Message/Header/ErrorTimes";
    XPathExpression expression3 = xpath.compile(xmlpath3);
    Object result3 = expression3.evaluate(doc, XPathConstants.NODE);
    Node node3 = (Node) result3;
    node3.getParentNode().removeChild(node3);
    XPathExpression expression4 = xpath.compile(xmlpath4);
    Object result4 = expression4.evaluate(doc, XPathConstants.NODE);
    Node node4 = (Node) result4;
    System.out.println("node value");
    System.out.println(node4.getParentNode().getNodeName());
    node4.getParentNode().removeChild(node4);
    XPathExpression expression5 = xpath.compile(xmlpath5);
    Object result5 = expression5.evaluate(doc, XPathConstants.NODE);
    Node node5 = (Node) result5;
    node5.getParentNode().removeChild(node5);
    XPathExpression expression6 = xpath.compile(xmlpath6);
    Object result6 = expression6.evaluate(doc, XPathConstants.NODE);
    Node node6=(Node) result6;
    node6.getParentNode().removeChild(node6);
    XPathExpression expression7 = xpath.compile(xmlpath7);
    Object result7 = expression7.evaluate(doc, XPathConstants.NODE);
    Node node7=(Node) result7;
    node7.getParentNode().removeChild(node7);
    // Node b13Node = (Node) expression.evaluate(doc, XPathConstants.NODE);
    //b13Node.getParentNode().removeChild(b13Node);
    doc.normalize();
    doc.normalizeDocument();
    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer t = tf.newTransformer();
    t.setOutputProperty(OutputKeys.INDENT, "yes");
    t.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
    t.setOutputProperty(OutputKeys.METHOD,"xml");
    t.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
    t.transform(new DOMSource(doc), new StreamResult(System.out));
    catch (Exception e) {
         e.printStackTrace();
    System.out.println(e.getMessage());
    </pre>
    Edited by: user12185243 on Apr 6, 2013 6:38 AM
    Edited by: user12185243 on Apr 6, 2013 6:41 AM
    Edited by: user12185243 on Apr 6, 2013 6:43 AM
    Edited by: user12185243 on Apr 6, 2013 6:45 AM
    Edited by: user12185243 on Apr 6, 2013 9:00 AM

    either this way we can do this
    1)
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    <b> factory.setIgnoringElementContentWhitespace(true); </b>
    DocumentBuilder db = factory.newDocumentBuilder();
    or
    2)
    java.io.StringWriter sw = new java.io.StringWriter();
    StreamResult sr = new StreamResult(sw);
    t.transform(new DOMSource(doc), sr);
    String xml1 = sw.toString().trim();
    <b> xml1=xml1.replaceAll("\\s",""); </b>
    System.out.println(xml1.trim());

  • How to remove balnk line on txt file??

    Anyone can help me please?
    Tks,
    Elber.

    may be this helps??
    How to Delete a line from a file?
    http://unix.ittoolbox.com/groups/technical-functional/shellscript-l/removing-last-line-from-a-txt-file-798004

  • How to remove first line of outgoing messages: ?xml version="1.0"........

    On outgoing messages, when I look in MONI, I see properly formatted XML message.
    The first line of all my outgoing files has this line:
    <?xml version="1.0" encoding="UTF-8" ?>
    Is there a way to suppress this?
    If so, is there a way to suppress for only certain partners within one interface?
    Thanks,
    Jeff

    Hi Jeff,
    As others pointed without this line the document will not be a valid document. Can you tell your complete requirment. One of these kind of requirement is discussed in this thread, you can see whether its the same in your case or not. If not then tell your complete req. so that somebody can help you out here.
    Remove first line in the XML Document
    Regards,
    ---Satish

  • How to remove horizontal lines in ALV_LIST

    I want to remove horizontal lines from the list. But cannot please help.
    gc_true = 'X'.
      gs_layout_list-no_hline = gc_true.
      gs_layout_list-no_vline = gc_true.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = g_repid
          I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
          I_STRUCTURE_NAME         = gc_structure
          IT_FIELDCAT              = gt_fieldcat_list
          I_SAVE                   = gc_save
          IS_VARIANT               = gs_variant
          IT_EVENTS                = gt_eventtab_list
          IS_LAYOUT                = gs_layout_list
          IT_SORT                  = gt_sort
          is_print                 = gs_print
        TABLES
          T_OUTTAB                 = gt_output_value
        EXCEPTIONS
          PROGRAM_ERROR            = 1
          OTHERS                   = 2.

    Hi,
    Please go through the following code and make necessary changes in your program.
    *LAYOUT STRUCTURE
    LAYOUT TYPE LVC_S_LAYO.
    *ASSIGNING VALUES TO LAYOUT STRUCTURE
    LAYOUT-ZEBRA = 'X'.
    LAYOUT-GRID_TITLE = 'Flights' .
    LAYOUT-CWIDTH_OPT = 'X'.
    LAYOUT-SMALLTITLE = 'X'.
    LAYOUT-NO_HGRIDLN = 'X'.
    CALL METHOD alv_grid->set_table_for_first_display
      EXPORTING
       I_BUFFER_ACTIVE               =
       I_BYPASSING_BUFFER            =
       I_CONSISTENCY_CHECK           =
        I_STRUCTURE_NAME              = 'SFLIGHT'
       IS_VARIANT                    =
       I_SAVE                        =
       I_DEFAULT                     = 'X'
        IS_LAYOUT                     = LAYOUT
       IS_PRINT                      =
       IT_SPECIAL_GROUPS             =
       IT_TOOLBAR_EXCLUDING          =
       IT_HYPERLINK                  =
       IT_ALV_GRAPHICS               =
       IT_EXCEPT_QINFO               =

  • How to remove new line from string

    I have a string say following
    String line = "one\ntwo\nthree";Now i am trying to remove new line from string. For this i did following
    String txt = line.replaceAll("\\n","");But i see still new line is occuring. Is it correct way. Please advice me.

    Ok. I was just using \n instead of \r\n. And i am in windows. I will give a try with \r\n
    Ok i tried using following , but it doesnt work.
    line = line.replaceAll("\\r\n","");Am i missing anything here. Please guide me.
    Edited by: ArpanaK on Oct 8, 2007 4:44 PM

  • Acrobat x - how to remove blue lines

    Hi, I'm new to acrobat which will quickly become obvious ;-)
    I removed some text but have been left with some blue lines.
    http://i54.tinypic.com/358x9c2.png
    They are not links.
    Any help in removing them would be much appreciated.
    And I'd then like to move up the rest of the text on the page to fill the gap.
    Thanks,
    Michael

    Thanks for taking a look.
    I deleted several comments but the line stayed there.
    It was more a question of learning than about the real need to get rid of the lines.
    It just bugs me when I can't figure out how to do something when I know that it's doable.
    Michael

  • How to remove the line under JMenuBar

    Some client requires that the line under a JMenuBar looks ugly and it should be removed. can anybody give me some idea how to do it?

    Snap!
    JMenuBar menuBar = ...;
    menuBar.setBorderPainted(false);Mitch Goldstein
    Author, Hardcore JFC (Cambridge Univ Press)
    [email protected]

  • ADF:How to remove vertical line in the panel collection toolbar

    Hi Everybody,
    I have an issue in removing the vertical line that separates various options like 'detach', viewMenu' etc..in the ADF Panel Collection tool bar.I am able to remove the options in the tool bar using "featuresOff", But i could not remove the vertical line seperator in the toolbar.Any help would be appriciated.
    Thanks,
    Harish

    Hi kamaal,
    Thanks for the reply, I went through the document , but didnt get any clue to hide the vertical line in the toolbar.Can you please tell me how to use AFBarSeparator:alias class in the jspx page to hide the vertical line in the tool bar of panel collection?.Is there any other alternative to do this?
    Thanks,
    Harish

Maybe you are looking for

  • T400 adapter causes lcd screen to become really dark

    I turned on my computer like usual from hibernation and the screen went completely dark, almost black. At the time I thought the screen just blacked completely out (like it does, or so I think it does sometimes) because I saw the harddrive icon remai

  • WHY IS MY IPHOTO NOT RESPONDING?

    I've been having more and more problems while working on iPhoto with it freezing and i have to force quit. Any Idea on how to resolve my problem?

  • Oracle Financials for India - Local Chart of Account

    Hi, We have to implement Oracle Financials for India, I know that the calendar is from APR-MAR, but my question is: Is it needed to report the statutory books in a local Chart of Accounts or we can use our corporate ones based in US GAAP. Thanks and

  • How to search for FM

    GM all, Suppose I'm looking for a certain FM how can I search for it in tcode se37?

  • Desadv idoc processing issue

    Hi All,   We are facing issue, when vendor send a two desadv idoc for packing delivery. First idoc correctly pack the delivery and change the packing status to completely packed. Processing second Idoc get fails but create a dummy handling unit. It d