Insert a JComboBox in a JTextPane

Hello !
I am working on a applet that will allow to the user to see a form.
But in this form (which is insert in a JTextPane) the user have to make choice for many varaibles.
So is it possible to add a JComboBox (where the user will make his choice) in a JTextPane
This will be something like : number.CHOICEoftheUSER.DATE
please anybody have a idea?
Thanks a lot

Not sure I understand why you want a combo box in a text pane, but you can use the insertCompnent(...) method of JTextPane.

Similar Messages

  • Insert into JComboBox....

    I am trying to insert another option into a JComboBox, however, I do not wish to append it. I need to insert it in between two other options. I cannot seem to find a method to do this. I know this is possible with JLists as you can specify an int and the object where the int is the position to insert. Despite searching I cannot seem to find a method that will take both and int and a object to place in the JComboBox. Any ideas would be helpful

    Hi, the JComboBox class has a method called insertItemAt(). Have you tried using that yet?
    (taken from the API)
    ====================================================================
    public void insertItemAt(Object anObject, int index)
    Inserts an item into the item list at a given index. This method works only if the JComboBox uses the default data model. JComboBox uses the default data model when created with the empty constructor and no other model has been set.
    Parameters:
    anObject - the Object to add to the list
    index - an integer specifying the position at which to add the item
    ====================================================================

  • Why wont my buffered reader insert text files into my JTextPane?

    Hello,
    First off, I want to say that I am a java newbie. This is the first time I have ever worked with java, and only for about a month now. When I try running this, nothing gets inserted into my JTextPane, and I get a java.lang.NullPointerException error. Any idea of how to fix this?
    Thanks,
    Dave
    //Set up Browse Procedure Action
            else if (e.getActionCommand().equals("Browse Procedures")){ //On a pull down menu
                      fc = new JFileChooser();
                   int result=fc.showOpenDialog(this);
                   File file = null;
                        if(result==JFileChooser.APPROVE_OPTION){
                             file=fc.getSelectedFile();
                             statArea.append("Opening: " + file.getName() + "." + newline);
                        //statArea is a JTextArea
                        String record = null;
                        int recCount = 0;
                        try {
                             FileReader fr = new FileReader(file.getPath());
                             BufferedReader br = new BufferedReader(fr);
                             record = new String();
                   while ((record = br.readLine()) != null) {
                        recCount++;
                        textArea.replaceSelection(recCount + ": " + record);
                        textArea.replaceSelection(newline);
                   } //textArea is a JTextPane.  I know replaceSelection is not the right method, but
                   //I tried it anyways
                        } catch (IOException evt) {
                             System.out.println ("IOException error!");
                             evt.printStackTrace();
                        else {
                        statArea.append("Browse command cancelled by user." + newline);
                        statArea.setCaretPosition(statArea.getDocument().getLength());
                   }     

    Nevermind, problem solved

  • Insert a JComboBox in a cell of JTable

    Hi,
    I have 3 comboboxes having different items, I want to add them in different rows of a JTable. I can add a JComboBox into a column using DefaultCellEditor but it will show either all items or the Items in the last ComboBox (if I call removeAll). What can I do? Can any one help me?
    Regards,
    Akhil

    I think
    you have to look for the XXXRenderer class or XXXCellEditor classes

  • How to insert formatted text in a JTextPane component?

    Hello,
    This is my first post in a java forum so i hope to get help :)
    Anyway, i am facing some problems in developping my project , the project consists of a tool to provide text editing allowing text formatting like MS Word , it allows different font style , size , color , text alignment...etc
    My program generates .html files i.e. the text formatting is obtained using html tags ...
    My problem is when the user opens the file again , any text formatting is unsaved, meaning, he MOSt continue typing using the same font size , style...etc any change in the format is unsensed and surely not saved in the html file .
    till now i can't doubt where exactly is my problem .. but i'll be here for any attempts to help me :)
    Thnx a lot

    unfortunately it doesn't work this way(or I am doing it wrong as I don't know anything about css)
    If I set white-space: nowrap the text is displayed in one single line ( so probably I implemented it the right way)
    but with white-space:pre he still ignores all the whitespaces!
    reading the same text (from a microsoft sql server table)with a textarea component all whitespaces and line breaks are shown! there has to be a way to make the static text or label component act this way(I don't want to use the textarea component because it's ugly and doesn't serve for my purpose).
    can anybody help me?
    edit: observation:
    if I use "nowrap" for the textarea component he still keeps all whitespaces WITHIN the string but displays the whole string in one line
    but somehow he deletes white spaces in the beginning of the string
    the static text/label components delete all whitespaces before AND within the string
    Edited by: Arthur... on Feb 15, 2008 9:34 AM

  • Inserting text into JTextPane

    I have a requirement where I need to insert some text into a JTextPane within its DocumentListener. I read somewhere that this is not a good practice. What would be the right way of doing this?
    Basically, I'm listening to what user is typing and helping him by inserting some text automatically based on user choice.
    Please provide code samples.

    Hmmm - not knowing anything about the document listener - maybe they were talking about some kind of loop, where you insert text and then it triggers the listener to insert text which triggers the listener to insert text.... etc.
    Maybe there are some other user input listeners, such as the keyListeners which might be better?
    I haven't even had a look at the JTextPane API at the moment, so I don't know what I'm talking about.
    Cheers,
    Rene

  • Inserting text from one JTextpane to another

    How do i insert text from one jTextpane to another with the attributes i used in the first. Please help.

    i'm using a defaultstyleddocument. Also.....if u know
    how i can transfer this data through a
    DataOutputStream to another computer.Hi again,
    DefaultstyledDocument uses a tree-structure with classes in it, that implements the Element-Interface to hold the styles. It is very easy to get the plain text, but what you need to transfer a part of text from one JTextPane with DefaultStyledDocument in it to another with the same document-style in it, is a sequence of (string, AttributSet) - pairs, so you are able to insert them in the destination document by the insertString(...)-method.
    It is easy to get the Element by postion from the document and retrieve the Attributset from it that it uses in that position. I guess, an approach would be, to do the following:
    get the Attributset at the start of the text = AttributSet of the pair
    scan the document until the set changes
    extract the string from start to the position right before the set changes = string of the pair
    store the (String,AttributSet)-pair in a Vector
    do this in the same way, but this time the "start" will be the position of the start of the new Attributset that causes the end of the scan above.
    When this is done for the hole text, that is to be transferred, you have a Vector with the String-AttributSet-pairs that you can use to insert them in the other JTextPane by calling the
    insertString(...)-method with this values.
    Tell me, what you are thinking about that - I don't know another method for this and had to create a solution on the fly for you, so that is perhaps not the best way to do it.
    greetings Marsian

  • Make an inserted component in JTextPane not deletable ?

    Hi all,
    I insert some buttons in my JTextPane and of course I have to make them not eraseable, it is said that when they are inserted, they cannot be deleted by pressing the delete key. How can I do this ? Can I set some portion in a JTextPane not editable and another portion editable ?
    Thanks

    You have to extend document and override remove(int offset, int length) method. In the method just check whether specified (by offset and length) part of the document contains component. If not call super.remove() in other cases just return.
    regards
    Stas

  • Getting Components inserted into JTextPane?

    Hello,
    OK, I can insert Components into a JTextPane. But how do I get them back out when I need to manipulate them? In other words: how are inserted Components stored by the JTextPane? And how do I get access to them?
    Thanks for any help,
    -Michael

    try this out
    Component[] containers=textPane.getComponents();
    cheers.

  • Inserting components to JTextPane

    Hi,
    I need to insert components to JTextPane. I know JTextPane provides a method insertComponent() for this purpose.
    But this does not work when you set the content type to "text/html".
    For example if I do the following:
    JTextPane textPane = new JTextPane();
    textPane.setContentType("text/html");and then try to insert a component it does not work.
    My question is, can I insert a JLabel/JButton to JTextPane once I set the content type to "text/html"?

    My question is, can I insert a JLabel/JButton to JTextPane once I set
    the content type to "text/html"? You don't really know what you did, do you?
    No, you can not add other widgets into a JTextPane since it's not a container. That is completely irrelevant from the fact that you can specify a MIME type for what's written inside the text pane.

  • Hyperlink in JTextPane - It's not a hyperlink, what's wrong?

    Hi,
    I tried to insert a hyperlink into a JTextPane, but it looks like normal text and it has to much space to the rest of the inserted text, when refencing the JTextPane-Object "txtPane" to a HyperlinkListenerImpl()-Objekt and insert the strings with the method addHyperlinkA(url, sTxtSplit). Do you have any idea what the problem is? Here is the complete sourcecode.
    Best regards,
    Thomas
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Container;
    import java.awt.Cursor;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import java.awt.Insets;
    import java.awt.Point;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextField;
    import javax.swing.JTextPane;
    import javax.swing.event.HyperlinkEvent;
    import javax.swing.event.HyperlinkListener;
    import javax.swing.text.AttributeSet;
    import javax.swing.text.BadLocationException;
    import javax.swing.text.Document;
    import javax.swing.text.Element;
    import javax.swing.text.MutableAttributeSet;
    import javax.swing.text.SimpleAttributeSet;
    import javax.swing.text.StyleConstants;
    import javax.swing.text.html.HTML;
    import javax.swing.text.html.HTMLDocument;
    import javax.swing.text.html.HTMLEditorKit;
    public class HyperPane extends JFrame {
    private JTextField txtField;
    private JTextPane txtPane;
    private Cursor handCursor = new Cursor(Cursor.HAND_CURSOR);
    private Cursor defaultCursor = new Cursor(Cursor.DEFAULT_CURSOR);
    private HTMLDocument document;
    private MutableAttributeSet attributes = new SimpleAttributeSet();
    private int linkID = 0;
    public HyperPane() {
    this.setSize(500, 500);
    this.setTitle("HyperPane");
    initGUI();
    Dimension fsize = this.getSize(),
    ssize = Toolkit.getDefaultToolkit().getScreenSize();
    int fX = (ssize.width - fsize.width)/2,
    fY = (ssize.height - fsize.height)/2;
    this.setLocation(fX, fY);
    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    this.setVisible(true);
    public static void main(String args[]) {
    JFrame.setDefaultLookAndFeelDecorated(true);
    new HyperPane();
    private void initGUI() {
    Container contentPane = this.getContentPane();
    contentPane.setLayout(new BorderLayout());
    txtPane = new JTextPane();
    //document = (HTMLDocument)txtPane.getStyledDocument();
    document = new HTMLDocument();
    //attributes = new SimpleAttributeSet();
    txtPane.setEditorKit(new HTMLEditorKit());
    txtPane.setDocument(document);
    txtPane.setEditable(false);
    txtPane.setMargin(new Insets(5, 5, 5, 5));
    //LinkControllerB lc = new LinkControllerB();
    //txtPane.addMouseListener(lc);
    //txtPane.addMouseMotionListener(lc);
    // txtPane.addHyperlinkListener(new HyperlinkListener() {
    // public void hyperlinkUpdate(HyperlinkEvent he) {
    // System.out.println("link");
    txtPane.addHyperlinkListener(new HyperlinkListenerImpl());
    contentPane.add(new JScrollPane(txtPane), BorderLayout.CENTER);
    contentPane.add(createInputPanel(), BorderLayout.SOUTH);
    private JPanel createInputPanel() {
    JPanel panel = new JPanel();
    txtField = new JTextField(30);
    txtField.setText("text before link -> http://www.denic.de <- text after link");
    JButton butAdd = new JButton("Hinzuf�gen");
    butAdd.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    parseMsg(txtField.getText());
    panel.setLayout(new FlowLayout());
    panel.add(txtField);
    panel.add(butAdd);
    return panel;
    private void parseMsg(String sTxt) {
    SimpleAttributeSet hrefAttr = new SimpleAttributeSet();
    String[] sTxtSplit = sTxt.split(" ");
    for (int i = 0; i < sTxtSplit.length; i++) {
    int iHttpPos = sTxtSplit[i].indexOf("http:");
    System.out.println(sTxtSplit[i]);
    if (sTxtSplit[i].indexOf("http:") > -1) {
    try {
    URL url = new URL(sTxtSplit[i]);
    addHyperlinkA(url, sTxtSplit[i]);
    } catch (MalformedURLException male) {
    } else {
    try {
    document.insertString(document.getLength(), sTxtSplit[i] + " ", attributes);
    } catch (Exception e) {
    e.printStackTrace();
    try {
    document.insertString(document.getLength(), "\n\n", attributes);
    } catch (Exception e) {
    e.printStackTrace();
    public void addHyperlink(URL url, String text) {
    try {
    SimpleAttributeSet attrs = new SimpleAttributeSet();
    StyleConstants.setUnderline(attrs, true);
    StyleConstants.setForeground(attrs, Color.BLUE);
    //attrs.addAttribute(ID, new Integer(++linkID));
    attrs.addAttribute(HTML.Attribute.HREF, url.toString());
    document.insertString(document.getLength(), text, attrs);
    catch (BadLocationException e) {
    e.printStackTrace(System.err);
    private void addHyperlinkA(URL url, String text) {
    try {
    MutableAttributeSet hrefAttr = new SimpleAttributeSet();
    hrefAttr.addAttribute(HTML.Attribute.HREF, url.toString());
    SimpleAttributeSet attrs = new SimpleAttributeSet();
    attrs.addAttribute(HTML.Tag.A, hrefAttr);
    document.insertString(document.getLength(), text + " ", attrs);
    } catch (BadLocationException e) {
    e.printStackTrace(System.err);
    public void addHyperlinkB(URL url, String text) {
    // First, setup the href attribute for <A> tag.
    SimpleAttributeSet hrefAttr = new SimpleAttributeSet();
    hrefAttr.addAttribute(HTML.Attribute.HREF, url.toString());
    // Second, setup the <A> tag
    SimpleAttributeSet attrs = new SimpleAttributeSet();
    attrs.addAttribute(HTML.Tag.A, hrefAttr);
    // Apply the hyperlink onto the selected content.
    // textPane is a reference to the JTextPane instance.
    int p0 = txtPane.getSelectionStart();
    int p1 = txtPane.getSelectionEnd();
    if (p0 != p1) {
    //StyledDocument doc = txtPane.getStyledDocument();
    document.setCharacterAttributes(p0, p1 - p0, attrs, false);
    class HyperlinkListenerImpl implements HyperlinkListener {
    public void hyperlinkUpdate(HyperlinkEvent event) {
    JTextPane pane = (JTextPane)event.getSource();
    HyperlinkEvent.EventType type = event.getEventType();
    System.out.println("hyperlinkUpdate");
    if (type == HyperlinkEvent.EventType.ENTERED) {
    pane.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
    System.out.println("type == HyperlinkEvent.EventType.ENTERED");
    } else if (type == HyperlinkEvent.EventType.EXITED) {
    pane.setCursor(Cursor.getDefaultCursor());
    System.out.println("type == HyperlinkEvent.EventType.EXITED");
    } else if (type == HyperlinkEvent.EventType.ACTIVATED){
    pane.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
    System.out.println("type == HyperlinkEvent.EventType.ACTIVATED");
    // if (event instanceof HTMLFrameHyperlinkEvent) {
    // HTMLDocument doc = (HTMLDocument)pane.getDocument();
    // doc.processHTMLFrameHyperlinkEvent((HTMLFrameHyperlinkEvent)event);
    // System.out.println("event instanceof HTMLFrameHyperlinkEvent");
    // } else{
    // try {
    // pane.setPage(event.getURL());
    // } catch(IOException ex){
    // ex.printStackTrace();
    class LinkControllerB extends HTMLEditorKit.LinkController {
    public void mouseMoved(MouseEvent ev) {
    System.out.println("mouseMoved");
    public void mouseClicked(MouseEvent e) {
    JTextPane editor = (JTextPane) e.getSource();
    if (!editor.isEditable()) {
    Point pt = new Point(e.getX(), e.getY());
    int pos = editor.viewToModel(pt);
    if (pos >= 0) {
    System.out.println("mouseclicked at pos: " + pos);
    class LinkController extends MouseAdapter
    implements MouseMotionListener {
    public void mouseMoved(MouseEvent ev) {
    JTextPane txtPane = (JTextPane) ev.getSource();
    System.out.println("mousemoved");
    if (!txtPane.isEditable()) {
    Point pt = new Point(ev.getX(), ev.getY());
    int pos = txtPane.viewToModel(pt);
    if (pos >= 0) {                   
    Document doc = txtPane.getDocument();
    if (doc instanceof HTMLDocument) {
    HTMLDocument hdoc = (HTMLDocument) doc;
    Element e = hdoc.getCharacterElement(pos);
    AttributeSet a = e.getAttributes();
    String href = (String) a.getAttribute(HTML.Attribute.HREF);
    if (href != null) {
    System.out.println("href != null");
    // if (isShowToolTip()){
    // txtPane.setToolTipText(href);
    // if (isShowCursorFeedback()) {   
    // if (txtPane.getCursor() != handCursor) {
    // txtPane.setCursor(handCursor);
    else {
    System.out.println("href == null");
    // if (isShowToolTip()){
    // txtPane.setToolTipText(null);
    // if (isShowCursorFeedback()) {   
    // if (txtPane.getCursor() != defaultCursor) {
    // txtPane.setCursor(defaultCursor);
    } else {
    //setToolTipText(null);
    public void mouseDragged(MouseEvent e) {
    public void mouseClicked(MouseEvent e) {
    JTextPane editor = (JTextPane) e.getSource();
    if (! editor.isEditable()) {
    Point pt = new Point(e.getX(), e.getY());
    int pos = editor.viewToModel(pt);
    if (pos >= 0) {
    System.out.println("mouseclicked at pos: " + pos);

    Hi thechrimsonrabbit,
    Is your home page ''about:home'' or is it ''http://www.google.com''. The ''about:home'' is the default Firefox home page with a google search built in. The second link is the actual google page. You might want to save that as your home page if you want all the extra tabs.
    Hopefully this helps!

  • Tables in JTextPane

    Hello dear Java Developers,
    i have one question about how to visualize an editable Table on a JTextPane. I Know i can input HTML-Code in a JTextPane and it can display all HTMl Components like Images and Tables, but i need generate a table without HTML. My JTextPane has a DefaultStyledDocument in it and i basically know how to actually draw a Table inside the JTextPane.
    To insert an Element, which represents the table, into the Document my Code looks like this:
    MyTable table = new MyTable(rows, cols); //MyTable is just the logical representation of a table (rowCount, columnCount, etc ...)
    try
    Style st = target.addStyle("table", null);
    ((MutableAttributeSet)st).addAttribute(AbstractDocument.ElementNameAttribute, TableElementName); //TableElementName is a static constant
    ((MutableAttributeSet)st).addAttribute(StyleConstants.NameAttribute, table);
    target.insertString(position, " ignored string ", st); //target is an instance of StyledDocument
    After i do that my ViewFactory produces the view for this table:
    public View create(Element elem)
    String kind = elem.getName();
    if (kind.equals(TableElementName)) //if its my previously created TableElement
    MyTableView tbv = new MyTableView(elem, View.Y_AXIS); //create MyTableView
    return tbv;
    return super.create(elem);
    My TableView is a BoxView and it contains other BoxViews, which represent Rows and Cells. Each CellView draws a border on its boundaries to visualize the table border. The result inside the JTextPane looks like this: http://img571.imageshack.us/i/tablei.png/
    Now i can only type text before or after that table, but i want to be able to type inside each cell, and obviously i cant do it if i have one View for all cells. The Document of the JTextPane contains all the text elements and the tableview is just one element, something like a char or so, and i can only place the caret either before or after the table.
    My idea now is to realize one simply cell: i want to be able to draw borders around a specific editable textpart and maybe change the background color, just the usual table stuff. But i don't know how to realize that. Are here any experienced developers who can give me a hint or a simple example for my problem?
    I know that the HTMLEditorKit has the function
    insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
    i tried to use this function and to debug it to see how they realize a tableview but it is based on HTML and also it's way to complicated and it blew up my head.
    thanks in advance

    Honestly i dont really know if its possible to display tables by inserting HTML-Code inside the JTextPane, but i know that it is possible to display editable tables inside the JTextPane.
    The open source projekt http://shef.sourceforge.net/ gives an implementation of a Wysiwyg HTML Editor. Tables with borders work very good there, but it makes use of the HTMLEditorKit (see the function insert( ... ) above). This application uses a JEditorPane, i use a JTextPane (subclass of JEditorPane) so i should be able realize tables.
    My application is not related to HTML in any kind and i use my own EditorKit and ViewFactory. All i want to do is display is a simple cell with border and being able to type text inside that cell. Fact is my StyledDocument (DefaultStyledDocument to be correct) has a Tree of Elements, the LeafElements will be displayed. Right now my TableView is a LeafElement and i can't place the carret inside a LeafElement. Somehow i have to tell the Document that the Cell is a branch element abd to draw a border around it, but i don't know how to do that because it is so poorly documented and i don't know where to find example code.

  • JLabel in JTextPane - how to make the JLabel be highlightable

    Hi,
    This follows on from this post :
    http://forum.java.sun.com/thread.jspa?threadID=741036&tstart=0
    I'm inserting a JLabel into a JTextPane, and want it to look like the other text there. However when you select the text, the JLabels don't have the highlight painted on them. Does anyone know how to make the highlight be painted over the label?
    I've tried looking at the Highlighter, HighlightPainter classes but as yet no joy.
    thanks a lot,
    Tom

    If I understand what you're after you may find the following will achieve it:
    ((DefaultHighlighter)textPane.getHighlighter()).setDrawsLayeredHighlights(false);Don't ask me why, though!!
    Hope this helps.

  • Not allowing to delete in certain text in JTextPane

    I want to create a program that Inserts some text AUTOMATICALLY into JTextPane and the user is not allowed to Delete that Code.

    This posting shows how to prevents lines of code from being removed.
    http://www.jroller.com/page/santhosh/Weblog/document_guard?catname=
    You might be able to customize it for your requirements.

  • Tables in JTextPane (colored borders)

    I am working on an html Editor.
    I try to insert a table, i use the class Action, like you can see just down.
    i succeed in inserting rows and cells but i failed in having a border in my table.
    I share my editor iin two parts : edition and source where i can see the relevant html source. When i see the relevant html source and change it to insert colored borders, there are not consequences in the editing part (on the HTML Document). Why??
    HashMap _editActionMap= new HashMap();
    Action[] action = kit.getActions();
    int ind = 0;
    for ( int iIndex = 0; iIndex < action.length; iIndex ++ ) {              
    _editActionMap.put( action[iIndex].getValue( Action.NAME ), action[iIndex] );
    ind++;
    JButton table = new JButton("InsertTable");
    table = toolbarEdition.add( (Action)_editActionMap.get("InsertTable"));
    toolbarEdition.add(table);
    JButton tableRow = new JButton("insert row");
    tableRow = toolbarEdition.add( (Action)_editActionMap.get("InsertTableRow"));
    toolbarEdition.add(tableRow);
    JButton tableCell = new JButton("insert data");
    tableCell = toolbarEdition.add( (Action)_editActionMap.get("InsertTableDataCell"));
    toolbarEdition.add(tableCell);

    Honestly i dont really know if its possible to display tables by inserting HTML-Code inside the JTextPane, but i know that it is possible to display editable tables inside the JTextPane.
    The open source projekt http://shef.sourceforge.net/ gives an implementation of a Wysiwyg HTML Editor. Tables with borders work very good there, but it makes use of the HTMLEditorKit (see the function insert( ... ) above). This application uses a JEditorPane, i use a JTextPane (subclass of JEditorPane) so i should be able realize tables.
    My application is not related to HTML in any kind and i use my own EditorKit and ViewFactory. All i want to do is display is a simple cell with border and being able to type text inside that cell. Fact is my StyledDocument (DefaultStyledDocument to be correct) has a Tree of Elements, the LeafElements will be displayed. Right now my TableView is a LeafElement and i can't place the carret inside a LeafElement. Somehow i have to tell the Document that the Cell is a branch element abd to draw a border around it, but i don't know how to do that because it is so poorly documented and i don't know where to find example code.

Maybe you are looking for

  • Unable to change Security Questions

    So today I decided to make a purchase on a game I've been enjoying for a while now, however to do so I need my security questions I sorted over two years ago, so I have no clue what they could be. I've added a rescue e-mail onto my account as in http

  • Sent e-mails do not deliver in th same format

    Using windows 7 with aol, I recently have been sending e-mails that do not arrive in the same format that I sent. Spacing is out of line, columns are out of order and the page is almost unreadable.

  • Questions on Client Failver and Fast Failover

    've few questions regarding Client Failover and Fast Faiolver of Oracle Database HA. Before I ask those questions I would like to explain my environment. Below are the details. - We have two physical locations called 'ABC' and 'PQR' - ABC is the prim

  • Sorting "My Songs" by date actually sorts by album name

    When browsing "My Songs" in Spotify desktop fof Mac, clicking on the calendar icon in the column headings causes the playlist to be sorted by Album, not by date. See the attached screenshots -- notice that the dates are not sorted but that the album

  • Getting this error, need help: No Name Available via DNS

    Hello, i was wondering if someone can help me out. i m being getting this error message xserver servermgrd: servermgr_dns: no name available via DNS for 192.168.0.XXX . The server is set up stand alone server, only being use to host Filemaker Pro Dat