Note that there are some explanatory texts on larger screens.

plurals
  1. POHTML tag textfield in java
    primarykey
    data
    text
    <p>I am currently working on implementing a chat server and client as part of an introductory course I don't have any problems on the server side , however on the client side specifically the GUI I am a bit lost , what I want to do is some sort of text field that will server two purposes :</p> <p>1)the chat history , messages sent and received and should allow some tagging for example a message appears user1 : bla bla , and the user clicks on the user name I would like that to trigger an event allowing for example to add to friends list or ignore and that sort I would also like it to be formatted as in text colors , font size and type.</p> <p>2) the area where the user enters text or commands I would like to also add some buttons to be able to format that same as above without the event part</p> <p>My first thought on the matter was using HTML tags and JEditorPane for both but I am not sure how I would be able to register an event to clicking a user name also and I am not sure if it will have to be a complete HTML document for it to be displayed on an EditorPane with the HTML kit ? will simply </p> <pre><code>Text message &lt;b&gt; this part bold &lt;/b&gt; </code></pre> <p>display without problems ? </p> <p>Also I would like to point out that I am not looking for code as I am only in the planning phase of the client application , I am looking for someone to point me in the right direction in the Swing API , that is not overly complicated to implement and can provide such features </p> <p>I will be glad to elaborate more if the question was not clear</p> <p>~Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload