Results 1 to 18 of 18
- 10-06-2012, 06:01 AM #1
Java<33
- Join Date
- Oct 2012
- Location
- Santo Domingo, Dominican Republic
- Posts
- 8
- Rep Power
- 0
How to insert Images/emoticons in a Chat Application
I was making a chat, its cool , works great :) , but i want it to show images in the chat window too, appending them
. Such as emoticons. I want to know what component i need to use
, i saw something about Document Context blabla once
, but it was kinda confusing
, and i feel like theres gotta be a easier way of doing it
. Thank you for reading this
. (English is not my main language, Excuse Grammatical faults
)
Last edited by DarrylBurke; 10-06-2012 at 07:30 AM. Reason: Removed annoying size 5 font
- 10-06-2012, 06:09 PM #2
Re: How to insert Images/emoticons in a Chat Application
What class are you using to display the window? Does that class have ways of displaying images at user specified locations?i want it to show images in the chat window
I think the JEditorPane class uses HTML to control what is displayed and could be useful.If you don't understand my response, don't ignore it, ask a question.
- 10-16-2012, 04:15 PM #3
Java<33
- Join Date
- Oct 2012
- Location
- Santo Domingo, Dominican Republic
- Posts
- 8
- Rep Power
- 0
Re: How to insert Images/emoticons in a Chat Application
Thanks for answer... Sorry for not replying :/ , yeah im using JEditorPane , adding the text like this - jep.setText(jep.getText() + "new string"); - but yeah im gonna try that with HTML :D
- 10-16-2012, 05:40 PM #4
Java<33
- Join Date
- Oct 2012
- Location
- Santo Domingo, Dominican Republic
- Posts
- 8
- Rep Power
- 0
Re: How to insert Images/emoticons in a Chat Application
YAYY, thanks for the suggestion , it worked :D
chat.setContentType("text/html");
chat.setText("<IMG SRC=\"pic.png>\"");
Now i can make my CHAT with emoticooons *_*
- 01-16-2013, 05:54 PM #5
Member
- Join Date
- Jan 2013
- Posts
- 8
- Rep Power
- 0
- 01-16-2013, 06:03 PM #6
Re: How to insert Images/emoticons in a Chat Application
Have you tried the class I mentioned? I think it will allow displaying images in with text.
If you don't understand my response, don't ignore it, ask a question.
- 01-19-2013, 04:31 PM #7
Member
- Join Date
- Jan 2013
- Posts
- 8
- Rep Power
- 0
Re: How to insert Images/emoticons in a Chat Application
i'm not using JEditorPane, i'm using netbeans n also my chat system has voice call...so i try to put empticons but cannot
- 01-19-2013, 05:00 PM #8
Re: How to insert Images/emoticons in a Chat Application
JEditorPane is a java class used in building a Swing GUIJEditorPane, i'm using netbeans
netbeans is an IDE for creating source filesIf you don't understand my response, don't ignore it, ask a question.
- 01-20-2013, 07:43 PM #9
Member
- Join Date
- Jan 2013
- Posts
- 8
- Rep Power
- 0
Re: How to insert Images/emoticons in a Chat Application
pls can u help me do emoticons or i should send my work(chat application) so that u can be able to help me if possible..
- 01-20-2013, 08:01 PM #10
Re: How to insert Images/emoticons in a Chat Application
Where do you want to display the icon images? In what GUI class?
If you don't understand my response, don't ignore it, ask a question.
- 01-20-2013, 08:28 PM #11
- 02-25-2013, 06:09 AM #12
Member
- Join Date
- Jan 2013
- Posts
- 8
- Rep Power
- 0
- 02-25-2013, 06:28 AM #13
Member
- Join Date
- Jan 2013
- Posts
- 8
- Rep Power
- 0
- 02-25-2013, 09:26 AM #14
- 02-27-2013, 05:02 PM #15
Member
- Join Date
- Jan 2013
- Posts
- 8
- Rep Power
- 0
Re: How to insert Images/emoticons in a Chat Application
where can i get the tutorial for jeditor pane?
- 02-27-2013, 05:19 PM #16
- 03-04-2013, 08:37 PM #17
Member
- Join Date
- Jan 2013
- Posts
- 8
- Rep Power
- 0
Re: How to insert Images/emoticons in a Chat Application
No you didn't tell me that..
- 03-04-2013, 08:40 PM #18
Member
- Join Date
- Jan 2013
- Posts
- 8
- Rep Power
- 0
Similar Threads
-
Chat application
By naveenpaul1987 in forum New To JavaReplies: 1Last Post: 03-15-2012, 01:34 PM -
Simple RMI chat application
By usmangt in forum New To JavaReplies: 3Last Post: 09-27-2010, 07:37 AM -
Chat application with RMI
By dhaval.rajput.p in forum Advanced JavaReplies: 0Last Post: 07-11-2009, 10:12 AM -
Need help - Create an application to loop through folder of images & insert to db
By kissiffer4 in forum SWT / JFaceReplies: 2Last Post: 11-21-2008, 05:59 PM -
Help in Chat application
By zocky in forum NetworkingReplies: 0Last Post: 11-08-2007, 07:19 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks