Bolding a text in JTextArea

Hi,
I have a JTextArea and I need to make the text appear bold? Is it possible ? I tried using html tags as shown below, but this is not working ?
jTextArea.setText("<html><b>Hello</b></html>");
Thanks

then you need to use JEditorPane.
http://javaalmanac.com/egs/javax.swing.text/style_HiliteWords2.html?l=rel

Similar Messages

  • Bullets (numbers) in bold type, text in regular...impossible?

    I've searched high and low and could not find a solution to my problem:
    How can I format a bullet (in my case, numbers) WITHOUT formatting the text next to it. I mean, bullet in bold and text in regular type.
    Am I missing something or is this not possible in Keynote?
    Any help is most welcome.
    Dan

    Option-click will select just the bullet
    Shane

  • How to print diffrent color and diffrent size of text in JTextArea ?

    Hello All,
    i want to make JFrame which have JTextArea and i append text in
    JTextArea in diffrent size and diffrent color and also with diffrent
    fonts.
    any body give me any example or help me ?
    i m thanksfull.
    Arif.

    You can't have multiple text attributes in a JTextArea.
    JTextArea manages a "text/plain" content type document that can't hold information about attributes ( color, font, size, etc.) for different portions of text.
    You need a component that can manage styled documents. The most basic component that can do this is JEditorPane. It can manage the following content types :
    "text/rtf" ==> via StyledDocument
    "text/html" ==> via HTMLDocument
    I've written for you an example of how a "Hello World" string could be colorized in a JEditorPane with "Hello" in red and "World" in blue.
    import javax.swing.JEditorPane;
    import javax.swing.text.StyleConstants;
    import javax.swing.text.StyledEditorKit;
    import javax.swing.text.StyledDocument;
    import javax.swing.text.MutableAttributeSet;
    import javax.swing.text.SimpleAttributeSet;
    import java.awt.Color;
    public class ColorizeTextTest{
         public static void main(String args[]){
              //build gui
              JFrame frame = new JFrame();
              JEditorPane editorPane = new JEditorPane();
              frame.getContentPane().add(editorPane);
              frame.pack();
              frame.setVisible(true);
              //create StyledEditorKit
              StyledEditorKit editorKit = new StyledEditorKit();
              //set this editorKit as the editor manager [JTextComponent] <-> [EditorKit] <-> [Document]
              editorPane.setEditorKit(editorKit);
              StyledDocument doc = (StyledDocument) editorPane.getDocument();
              //insert string "Hello World"
              //this text is going to be added to the StyledDocument with positions 0 to 10
              editorPane.setText("Hello World");
              //create and attribute set
              MutableAttributeSet atr = new SimpleAttributeSet();
              //set foreground color attribute to RED
              StyleConstants.setForeground(atr,Color.RED);
              //apply attribute to the word "Hello"
              int offset = 0; //we want to start applying this attribute at position 0
              int length = 5; //"Hello" string has a length of 5
              boolean replace = false; //should we override any other attribute not specified in "atr" : anwser "NO"
              doc.setCharacterAttributes(offset,length,atr,replace);
              //set foreground color attribute to BLUE
              StyleConstants.setForeground(atr,Color.BLUE);
              //apply attribute to the word "World"
              offset = 5; //we include the whitespace
              length = 6;
              doc.setCharacterAttributes(offset,length,atr,replace);
    }

  • How to bold the text in text edit control

    Dear all,
    i am using text edit custom control in module pool.
    i want to bold the text in text edit control.

    Hi.,
    Check this  [Program|http://www.se80.de/ABAP/ZPA_SE80_IC_PROGART.html]
    It may help you to increase font size in text edit control.
    Thanks & Regards,
    Kiran

  • Bold Static Text in Email Body.

    dear sir,
    i have an email option in my application ,
    I need Some Static Text Bold In Body . i am using <b></b> But It's not Working .How Can I Bold Static Text.
    DECLARE
    l_id number;
    to_add varchar2(1000):=:P1_TO;
    from_add varchar2(1000);
    l_body varchar2(4000):=:P1_DESCRIPTION;
    l_sub varchar2(1000):=:P1_SUBJECT;
    l_regd varchar(100);
    I_isue_dte date;
    BEGIN
    select email_id into from_add from user_mas where user_id=:app_user;
    select user_name into l_regd from user_mas where user_id=:app_user;
    l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            p_from      => from_add,
            p_body      => '<b>Issue Information</b>'||''||chr(13)||chr(10)||chr(13)||chr(10)||
                                 '<b>Issue Title</b>'||':'||l_sub||CHR(13)||chr(10)||
                                  '<b>Issue Open Date</b>'||':'||I_isue_dte||''||chr(13)||chr(10)||CHR(13)||chr(10)||
                           <b>'Most Recent Comment</b>'||':'||''||chr(13)||chr(10)||
                           l_body||chr(13)||chr(10)||''||CHR(13)||chr(10)||'Regards'||chr(13)||chr(10)||''||l_regd||CHR(13)||chr(10)||CHR(13)||chr(10)||'<b>Please do not reply to this email.If you wish to update the call.please login to the issue Management.</b>',
      P_subj      => I_case ||' Issue '||l_sub);
    COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;How can i do this.
    Vedant

    I would build your email something like this:
    DECLARE
    l_id number;
    to_add varchar2(1000);
    from_add varchar2(1000);
    l_body CLOB;
    /* I would add an l_body_html and create the body of my Email message here and feed it to p_body_html so that
    you can have a reply for folks with and without html browsers.
    l_body_html CLOB;
    /* You need to make sure if you have l_body and l_body_html that they are the same format */
    l_sub varchar2(1000);
    l_regd varchar(100);
    I_isue_dte date;
    l_description varchar2(4000);
    BEGIN
    l_description := :P1_DESCRIPTION;
    to_add := :P1_TO;
    l_sub := :P1_SUBJECT;
    l_body := 'Please use an Email client that uses HTML to view this message';
    select email_id into from_add from user_mas where user_id=:app_user;
    select user_name into l_regd from user_mas where user_id=:app_user;
    /* HTML EMAIL SETUP - HTML HEAD BODY */
    l_body_html := '<html>';
    l_body_html := l_body_html ||'<head>'||utl_tcp.crlf;
    l_body_html := l_body_html ||'</head>'||utl_tcp.crlf;
    l_body_html := l_body_html ||'<body>'||utl_tcp.crlf;
    /* END HTML EMAIL SETUP - HTML HEAD BODY */
    /* NOTE THAT l_body_html just keeps getting the lines added to it */
    /* here is how I would setup your subject */
    l_body_html := l_body_html || '<b>Issue Information</b>'||utl_tcp.crlf;
    l_body_html := l_body_html || '<b>Issue Title</b>:'|| l_sub || utl_tcp.crlf;
    l_body_html := l_body_html || '<b>Issue Open Date</b>:'|| I_isue_dte || utl_tcp.crlf;
    l_body_html := l_body_html || '<b>Most Recent Comment</b>:'|| l_description || utl_tcp.crlf || utl_tcp.crlf;
    l_body_html := l_body_html || 'Regards '|| l_regd || utl_tcp.crlf || utl_tcp.crlf;
    l_body_html := l_body_html || '<b>Please do not reply to this email.If you wish to update the call.please login to the issue Management.</b>'|| utl_tcp.crlf;
    l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            p_from      => from_add,
              p_body      => l_body,
            p_body      => l_body_html,
            P_subj      => I_case ||' Issue '||l_sub);
    COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;

  • How to use BOLD Fonts/text in Oracle?

    Hi guys,
    Im doing a package and part of this package has an email to a client. I just want some details of that email should be BOLD fonts/text like the Name or Title. Can anyone help me solve this problem?
    Im using Oracle Forms6i and Oracle9i for our database.
    Thank you.
    Lala

    Hi,
    How about using a [Rich Text Editor bean|http://forms.pjc.bean.over-blog.com/article-28390950.html] (in place of a text item / text area)?
    -Arun

  • Clickable text in JTextArea?

    Hi all,
    I'm writing a program that populates a textarea with medical terms and such. And, the problem is I need to give an explanation to the more difficult words by allowing the user to click on the words and a popup window with the explanations will appear. I'm not familiar with the mouse clicks technology in Java, so please help if you can!
    Also, any suggestions on how the data can be stored/retrieved when I'm using a MySQL database?
    Many thanks!

    For this you have to add mouse listener in a text area. So that on mouse click you can do something.
    try following code, Run it and double click on some word.
    import java.awt.BorderLayout;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.*;
    public class TextAreaDemo extends JPanel{
    private JTextArea text = null, answer = null;
    public TextAreaDemo(){
    text=new JTextArea("Hi all,\nI'm writing a program that populates a textarea with medical terms and " +
    "such. And, the problem is I need to give an explanation to the more difficult words " +
    "by allowing the user to click on the words and a popup window with the explanations " +
    "will appear. I'm not familiar with the mouse clicks technology in Java, so please " +
    "help if you can!\n\nAlso, any suggestions on how the data can be stored/retrieved " +
    "when I'm using a MySQL database?\n\nMany thanks!");
    answer=new JTextArea(3, 20);
    answer.setEditable(false);
    setLayout(new BorderLayout());
    add(new JScrollPane(text));
    add(new JScrollPane(answer), BorderLayout.SOUTH);
    text.addMouseListener(new MyMouseListener());
    class MyMouseListener extends MouseAdapter{
    public void mouseClicked(MouseEvent e){
    if(e.getClickCount() == 2){
    answer.setText("Do you want to know about:\n\t" + text.getSelectedText());
    public static void main(String argv[]){
    JFrame frame=new JFrame();
    frame.setContentPane(new TextAreaDemo());
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setSize(400, 300);
    frame.setVisible(true);
    May help you.
    Regards,

  • Centering Text in JTextArea

    How can I center texts in JTextArea?
    "jta.setAlignemtX(CENTER)" +
    "jta.setAlignemtY(CENTER)" dont work.
    I need a little assistense.
    Dirk

    I apologize for the above wrong answer!
    Why dont u use a JTextPane instead of JTextArea
    JTextPane text=new JTextPane();
    SimpleAttributeSet set=new SimpleAttributeSet();
    StyledDocument doc=text.getStyledDocument();
    StyleConstants.setAlignment(set,StyleConstants.ALIGN_CENTER);
    text.setParagraphAttributes(set,true);

  • How to display giant text in JTextArea???

    hi!.......how can i display lets say 20mbs of text in JTextArea?......i try to display but it only show till 2-3mb then the rest is empty.....anyone knows how?

    Hi, I don't know how.
    But I know that it wouldn't be so nice loading 20/30 Mb of text at once. You could load a smaller amount of data like 1 Mb and show it. Then when the user scrolls to bottom you could load more text.
    pseudocode :
    - load some text and show it
    - while true
    if user scrolls down
    * actualize text showed loading more text if necesary
    if user scrolls up
    * actualize text showed
    - end while
    Hope it helps.

  • Switch off bold/striked text once for all

    The admins seem to have deserted the first topic in which this question was asked, so I ask it again:
    How to switch off the bold/striked text formatting in 6.22?
    I feel the need to use rude language to express my feelings but I will censor myself by replacing rude words by non-rude words.
    Do NOT tell me to edit the fetched .xml file because it is NOT a slamming solution! You know perfectly that this horendatious thing auto-resets whenever the user logs off, which means we have to edit it again every single munching day. People have other things to do than browsing to an obscure folder to edit a file, first thing in the morning.
    There IS a user who found a REAL fix (that adds a checkbox to prevent the formatting), so maybe you should ask them how to do the same thing, or let them release this solution instead of fooling people into thinking there is a solution!
    Your ignoring of our needs and absence of reaction is jarring.
    Solved!
    Go to Solution.

    Thanks for the file, that does help and I'll make sure to keep it preciously. It fixed the UI too, and the crashes at startup, and the lag when switching between convos. For security I deactivated Internet for the install and until I deactivated automatic updates.
    Note that it was necessary to edit one last time the .xml file. I'm pasting the instructions from the other thread:
    Go to Windows Start and in the Search/Run box type %appdata%\skype and then press Enter or click the OK button. The Windows File Explorer will pop up. There locate a file named “shared.xml”. Open this file in any text editor (e.g. Notepad). Find there a text block saying:
        <Conversation>
          <EnableWiki>1</EnableWiki>
        </Conversation>
    Change the value 1 to 0. The text formatting will now be disabled. Changing this value back to 1, will again enable text formatting.

  • SetFont for selected text in JTextArea

    Hi there,
    I'm trying to build a small Texteditor.
    How do you set a selceted area of text to fx. BOLD font?
    I can of course set the font for the whole JTextArea via the setFont method, but what about a smal selection.
    Also: setFont seems to take no less than 3 arguments (fontname, style, size). Is it possible just to set the selected font as the same as before, but BOLD??
    Kind Regards
    Thomas

    Alright, so here I go :
    I've been working for two months on a TextEditor/HTMLEditor, but I'm not allowed to share my code (I work for a company that wants to use this editor).
    There are a lot of stuff that you should know about "javax.swing.text" package if you want to get initiated to Editors programming with Swing components.
    Well, first of all, I'm going to answer to your punctual question :
    You can't set style attributes ( color, bold, italic, ...) to specifc text elements in a JTextArea, you have got to use a JEditorPane or a JTextPane. (JTextPane lets you deal with the notion of "Styles"... but this is a bit complex for a simple editor, so I suggest you to just stick to the JEditorPane).
    Any of these three Components has a document model related to it. These document models can be of different types. For example, PlainDocument, StyledDocument, HTMLDocument, etc...
    A JTextArea can only have PlainDocument bound to it. These documents don't keep info about color, font, bold, and stuff for specific portions of text.They apply it to all content.
    JEditorPane can have PlainDocuments, HTMLDocuments and I think they can have StyledDocuments.
    To set bold to selected text you've got to do this :
            import javax.swing.text.*;
            int posStart = editorPane.getSelectionStart( );
            int posEnd =  editorPane.getSelectionEnd( );
            int selLength = posEnd - posStart;       
            MutableAttributeSet atr = new SimpleAttributeSet();
            StyleConstants.setBold(atr,true);
            StyledDocument doc = editorPane.getDocument();
            //Check out false in the following instruction
            // it means that any other attribute existing should
            // be kept if it has not be redefined in the attribute you are applying
            doc.setCharacterAttributes(posStart,selLength,atr,false);         That's it.. that's the way to do it.. the same principle applies for any other attribute,
    for example if you also wanted to change font you could have added the following :
            StyleConstants.setFontFamily(atr,"Arial");Alright, so know I'm going to give you the good adresses to learn stuff about Editors, here I go:
    * The Swing Connection Articles (hard to understand for a newbie but really helpful ):
    http://java.sun.com/products/jfc/tsc/articles/index.html (Check out the TextPackage Articles)
    * Manning Matthew Robinson and Pavel Vorobiev Swing book (it's all online for free)
    This is the absolute reference, step by step examples. Check out Chapter 20 : Constructing a
    Word Processor. (This is I guess the best stuff available online about constructing Text and HTML Editors in Java with Swing)
    http://www.spindoczine.com/sbe/

  • How do I enable bold/italic text formatting in blog module on website?

    For some reason I can't figure out how to enable more text formatting options on our blog. We used the blog module on a muse template. I customized the module to apply fonts we used on our website. The main text on the blog is Lato.
    Link to blog: Coupar Consulting
    When we go in to write a post you can use the bold/italics options and it shows up in the edit window as shown in the screenshot below:
    The font is not correct, but because I set the font in the module to use Lato it does show as lato when you publish, see preview below (notice no bold or italic text):
    What am I missing??
    Thanks in advance!!

    Use your browsers console and inspect tool. This stuff becomes very easy.
    address,caption,cite,code,dfn,em,strong,th,var,optgroup
      font-style: inherit;
      font-weight: inherit;
    Line 34 ish in - http://www.couparconsulting.com/css/site_global.css?3869595648
    This overides the font bold style on strong.

  • Highlighting text in JtextArea

    I want to highlight text in a JTextArea each time the text changes and therefore i use a DocumentListener and also the following :
    public Highlighter.HighlightPainter redHighlightPainter = new DefaultHighlighter.DefaultHighlightPainter(Color.red);
    Highlighter hilite = gJTextArea.getHighlighter();
    hilite.addHighlight(bufferBegin , bufferEnd, redHighlightPainter);
    but the text remains black
    How can you explain this?
    Thanks

    I have used the same exact piece of code in a JTextArea and it works perfectly. Maybe your problem is elsewhere in the code because this should work fine. Are you sure that the Document listener is fireing when changes occur?

  • How to bold/color text message in Module pool Programming ?

    Hi All ,
    I need to bold /color a message in module pool . this message will come when certain conditions satisfied , currently this text message is displaying through variable . I Refereed program DD_STYLE_TABLE , but still not getting desired output . .Is there any other way to achieve the same ?
    Could you please help me ?
    Thanks in advance !!!!
    Regards ,
    Mayank K

    Hi Mayank,
    You can give a try this.
    Within the screen you are calling give keyword
    Leave to list processing
    and then you can give whatever colors which are there in SAP
    For making the text bold you can set Format intensified on or off depending on your requirement.
    For more details you can refer to programs
    program1 : demo_leave_to_list_processing
    program2: demo_call_screen_from_list
    Regards,
    Sandeep Katoch

  • Can't update text in JTextArea! Can you help?

    [Update: If I remove the transparency everything is fine. However, I really need the transparency..]
    Hi,
    I have the simplest question, but I can't seem to get an answer to it. The problem is very simple: I have defined a JTextArea and I'm reading text into it. The problem is that the old text does not disappear, and the new text is pasted on top, making it unreadable. As an "act of desperation" I fixed this by setting the area invisible, updating it and setting it visible again, as you can see in the code. It works, but now it blinks in the screen (quite annoying!).
    Is there a smarter way to to this? I need this on a transparent window (see class init below), overlayed on another JFrame.
    I am on Mac OS X.
    I hope some of you can help me with this problem
    Thanks a lot in advance
    Lele
    public void UpdateOverlay(){
            try{
                BufferedReader b = this.ReadUrl("http://localhost/~"+System.getProperty("user.name")+"/overlaytext.txt");
                this.Overlay.setVisible(false);
                this.OverlayText.read(b, null);
                this.Overlay.setVisible(true);
            }catch(Exception e){
                e.printStackTrace();
        }Here you can see how I have initialized the class
    public class MyClass {
        //Overlay section
        public JFrame Overlay=new JFrame("Overlay");
        public Color OverlayColor=new Color(0.0f,0.0f,0.0f,0.0f);
        public JTextArea OverlayText=new JTextArea();
        public long Refresh_time=200;//ms
        /** Creates a new instance of MyClass */
        public MyClass(AWT1UpFrame f) {
            int width=270,height=170,border_x=20,border_y=20;
            //Initialize Overlay
            this.Overlay.setVisible(false);
            this.Overlay.setBackground(this.OverlayColor);
            this.Overlay.setLocationRelativeTo(null);
            this.Overlay.setUndecorated(true);
            this.Overlay.setSize(width,height);
            System.out.println("loc="+f.getLocation());
            int x = f.getLocation().x+border_x;
            int y = f.getLocation().y +f.getSize().height - border_y - height;
            this.Overlay.setLocation(x, y);
            this.Overlay.add(this.OverlayText);
            this.Overlay.setAlwaysOnTop(true);
            this.OverlayText.setLineWrap(true);
            this.OverlayText.setWrapStyleWord(true);
            this.OverlayText.setForeground(Color.GREEN);
            this.OverlayText.setBackground(this.OverlayColor);
            this.OverlayText.setFont(new Font("Arial", Font.ROMAN_BASELINE, 16));
    /* and so on*/Edited by: Lele on Oct 25, 2007 4:22 PM

    Hi, so this is the class. If I keep it like this, it simply overwrites old text with the new (like JTextArea thinks that the old text is a part of the background to be buffered). If I set it invisible and back to visible it works, but it blinks.
    How can I let JTextArea understand that it shouldn't consider the old window as a background? Should I use another class?
    Pls keep in mind that I'm on Mac, so maybe it's a Mac-specific thing, but I'd like to know..
    Thanks
    Lele
    package transparency;
    import java.net.*;
    import javax.swing.*;
    import javax.xml.parsers.*;
    import java.awt.*;
    import java.awt.font.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.util.List;
    import apple.awt.CTextArea;
    public class Overlay {
        //Overlay section
        public JFrame Overlay=new JFrame("Overlay");
        public Color OverlayColor=new Color(0.0f,0.0f,0.0f,0.0f);
        public JTextArea OverlayText=new JTextArea();
        public long Refresh_time=200;//ms
        /** Creates a new instance of Overlay */
        public Overlay() {
            int width=270,height=170,border_x=20,border_y=20;
            //Initialize Overlay
            this.Overlay.setVisible(false);
            this.Overlay.setBackground(this.OverlayColor);
            this.Overlay.setLocationRelativeTo(null);
            this.Overlay.setUndecorated(true);
            this.Overlay.setSize(width,height);
            //System.out.println("loc="+f.getLocation());
            //int x = f.getLocation().x+border_x;
            //int y = f.getLocation().y +f.getSize().height - border_y - height;
            //this.Overlay.setLocation(x, y);
            this.Overlay.add(this.OverlayText);
            this.Overlay.setAlwaysOnTop(true);
            this.OverlayText.setLineWrap(true);
            this.OverlayText.setWrapStyleWord(true);
            this.OverlayText.setForeground(Color.GREEN);
            this.OverlayText.setBackground(this.OverlayColor);
            this.OverlayText.setFont(new Font("Arial", Font.ROMAN_BASELINE, 16));
            this.Overlay.setVisible(true);
        public void UpdateOverlay(){
            try{
                //Reading URL
                //String Address="http://localhost/~"+System.getProperty("user.name")+"/overlaytext.txt";
                //URL url= new URL(Address);
                //BufferedReader b = new BufferedReader(new InputStreamReader(url.openStream()));
                //this.Overlay.setVisible(false);
                //this.OverlayText.read(b, null);
                //this.Overlay.setVisible(true);
                //Test
                //this.Overlay.setVisible(false);
                String RandomText="The time is: "+System.currentTimeMillis();
                this.OverlayText.setText(RandomText);
                //this.Overlay.setVisible(true);
            }catch(Exception e){
                e.printStackTrace();
    }.. and this is the main
    package transparency;
    import java.net.*;
    import javax.swing.*;
    import javax.xml.parsers.*;
    import java.awt.*;
    import java.awt.font.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.util.List;
    import transparency.*;
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
        public static void main(String[] args) {
            JFrame f=new JFrame();
            f.setDefaultCloseOperation(f.EXIT_ON_CLOSE);
            f.setVisible(true);
            Overlay ov=new Overlay();
            try{
                while(f.isVisible()){
                    ov.UpdateOverlay();
                    Thread.sleep(100);
            }catch(Exception e){
                e.printStackTrace();
    }Edited by: Lele on Oct 26, 2007 3:40 AM

Maybe you are looking for

  • Is there a way to BULK COLLECT with FOR UPDATE and not lock ALL the rows?

    Currently, we fetch a cursor on a few million rows using BULK COLLECT. In a FORALL loop, we update the rows. What is happening now, is that we run this procedure at the same time, and there is another session running a MERGE statement on the same tab

  • Windows 8 compatibility and WAAS Mobile.

    Hi, everyone, I have undertaken the possibly mad quest of getting WAAS Mobile working on Windows 8. I am currently receiving the error "TDI driver failed to initialize." Does anyone have any insight into that issue? Thanks, Tom

  • How should I Set Up My New External G-Raid?

    Just received my new GR42000 2TB G-Raid Drive, but before even turning on the unit I began to read the manual PDF that came with the drive. I want to use this unit with my new iMac and also with my HP PC which has video files that I'd like to access

  • Character palette window malfunction

    In trying to sort out a problem I was having with non-English fonts, I went to the Help Viewer and thought I had a lead with the Special Characters selection under the Edit menu. I opened the Special Characters window and found a variety of non-Engli

  • HT201342 forgot @icloud password

    Probably a very stupid question but here it goes anyway... How do I get my [email protected] password if I have forgotten it?