Problems with JTextPane line wrapping

Hi to all.
I'm using a code like this to make editable a figure that I paint with Java 2D. This JTextPane don't has a static size and for that, the text in it cannot be seen affected by the natural line wrap of the JTextPane component. The problem is that I have to set a maximun size for the JTextPane and I want to use the line wrap only when the width of the JTextPane be the maximun width. How can I do this?
public class ExampleFrame extends JFrame {
    ExamplePane _panel;
    public ExampleFrame() {
        this.setSize(600, 600);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        _panel = new ExamplePane();
        getContentPane().add(_panel);
        this.setVisible(true);
    public static void main(String[] args) {
        ExampleFrame example = new ExampleFrame();
    public class ExamplePane extends JPanel {
        public ExamplePane() {
            this.setBackground(Color.RED);
            this.setLayout(null);
            this.add(new ExampleText());
    public class ExampleText extends JTextPane implements ComponentListener, DocumentListener,
            KeyListener {
        public ExampleText() {
            StyledDocument doc = this.getStyledDocument();
            MutableAttributeSet standard = new SimpleAttributeSet();
            StyleConstants.setAlignment(standard, StyleConstants.ALIGN_RIGHT);
            doc.setParagraphAttributes(0, 0, standard, true);
            this.setText("Example");
            this.setLocation(300, 300);
            this.setSize(getPreferredSize());
            this.addComponentListener(this);
            getDocument().addDocumentListener(this);
            this.addKeyListener(this);
        public void componentResized(ComponentEvent e) {
        public void componentMoved(ComponentEvent e) {
        public void componentShown(ComponentEvent e) {
        public void componentHidden(ComponentEvent e) {
        public void insertUpdate(DocumentEvent e) {
            Dimension d = getPreferredSize();
            d.width += 10;
            setSize(d);
        public void removeUpdate(DocumentEvent e) {
        public void changedUpdate(DocumentEvent e) {
        public void keyTyped(KeyEvent e) {
        public void keyPressed(KeyEvent e) {
        public void keyReleased(KeyEvent e) {
}Thanks for read.

I'm working hard about that and I can't find the perfect implementation of this. This is exactly what I want to do:
1. I have a Ellipse2D element painted into a JPanel.
2. This ellipse is painted like a circle.
3. Into the circle there's a text area, that user use to name the cicle.
4. The text area is a JTextPane.
5. When the user insert a text area, it can increase it size, but it can't be bigger than the circle that it contains.
6. There is a maximun and a minimun size for the circle.
7. When the user write into de JTextPane, it grows until arriving at the limit.
8. When the JTextPane has the width size limit, if the user writes more text into it, the JTextPane write it into another line.
9. The size of the JTextPane has to be the optimun size, it cannot have empty rows or empty lines.
This code does all this except 9, cause if the user remove some text of the text area, the form of the JTextPane changes to a incorrect size.
public class ExampleFrame extends JFrame {
    ExamplePane _panel;
    public ExampleFrame() {
        this.setSize(600, 600);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        _panel = new ExamplePane();
        getContentPane().add(_panel);
        this.setVisible(true);
    public static void main(String[] args) {
        ExampleFrame example = new ExampleFrame();
    public class ExamplePane extends JPanel {
        public ExamplePane() {
            this.setBackground(Color.RED);
            this.setLayout(null);
            this.add(new ExampleText());
    public class ExampleText extends JTextPane implements ComponentListener, DocumentListener,
            KeyListener {
        public ExampleText() {
            StyledDocument doc = this.getStyledDocument();
            MutableAttributeSet standard = new SimpleAttributeSet();
            StyleConstants.setAlignment(standard, StyleConstants.ALIGN_CENTER);
            doc.setParagraphAttributes(0, 0, standard, true);
            this.setText("Example");
            this.setLocation(300, 300);
            this.setSize(getPreferredSize());
            //If it has the maximun width and the maximun height, the user cannot
            //write into the JTextPane
            /*AbstractDocument abstractDoc;
            if (doc instanceof AbstractDocument) {
            abstractDoc = (AbstractDocument) doc;
            abstractDoc.setDocumentFilter(new DocumentSizeFilter(this, 15));
            this.addComponentListener(this);
            getDocument().addDocumentListener(this);
            this.addKeyListener(this);
        public void componentResized(ComponentEvent e) {
        public void componentMoved(ComponentEvent e) {
        public void componentShown(ComponentEvent e) {
        public void componentHidden(ComponentEvent e) {
        public void insertUpdate(DocumentEvent e) {
            Runnable doRun = new Runnable() {
                public void run() {
                    int MAX_WIDTH = 200;
                    Dimension size = getSize();
                    Dimension preferred = getPreferredSize();
                    if (size.width < MAX_WIDTH) {
                        size.width += 10;
                    } else {
                        size.height = preferred.height;
                    setSize(size);
            SwingUtilities.invokeLater(doRun);
        public void removeUpdate(DocumentEvent e) {
            this.setSize(this.getPreferredSize());
        public void changedUpdate(DocumentEvent e) {
        public void keyTyped(KeyEvent e) {
        public void keyPressed(KeyEvent e) {
        public void keyReleased(KeyEvent e) {
}I know that the problem is into the removeUpdate method, but I have to set to the JTextPane, allways the optimun size, how can I do this?
Thanks to all.
Edited by: Daniel.GB on 06-jun-2008 18:32

Similar Messages

  • Problem with JTextPane and StateInvariantError

    Hi. I am having a problem with JTextPanes and changing only certain text to bold. I am writing a chat program and would like to allow users to make certain text in their entries bold. The best way I can think of to do this is to add <b> and </b> tags to the beginning and end of any text that is to be bold. When the other client receives the message, the program will take out all of the <b> and </b> tags and display any text between them as bold (or italic with <i> and </i>). I've searched the forums a lot and figured out several ways to make the text bold, and several ways to determine which text is bold before sending the text, but none that work together. Currently, I add the bold tags with this code: (note: messageDoc is a StyledDocument and messageText is a JTextPane)
    public String getMessageText() {
              String text = null;
              boolean bold = false, italic = false;
              for (int i = 0; i < messageDoc.getLength(); i++) {
                   messageText.setCaretPosition(i);
                   if (StyleConstants.isBold(messageDoc.getCharacterElement(i).getAttributes()) && !bold) {
                        bold = true;
                        if (text != null) {
                             text = text + "<b>";
                        else {
                             text = "<b>";
                   else if (StyleConstants.isBold(messageDoc.getCharacterElement(i).getAttributes()) && bold) {
                        // Do nothing
                   else if (!StyleConstants.isBold(messageDoc.getCharacterElement(i).getAttributes()) && bold) {
                        bold = false;
                        if (text != null) {
                             text = text + "</b>";
                        else {
                             text = "</b>";
                   try {
                        if (text != null) {
                             text = text + messageDoc.getText(i,1);
                        else {
                             text = messageDoc.getText(i, 1);
                   catch (BadLocationException e) {
                        System.out.println("An error occurred while getting the text from the message document");
                        e.printStackTrace();
              return text;
         } // end getMessageText()When the message is sent to the other client, the program searches through the received message and changes the text between the bold tags to bold. This seems as if it should work, but as soon as I click on the bold button, I get a StateInvariantError. The code for my button is:
    public void actionPerformed(ActionEvent evt) {
              if (evt.getSource() == bold) {
                   MutableAttributeSet bold = new SimpleAttributeSet();
                   StyleConstants.setBold(bold, true);
                   messageText.getStyledDocument().setCharacterAttributes(messageText.getSelectionStart(), messageText.getSelectionStart() - messageText.getSelectionEnd() - 1, bold, false);
         } //end actionPerformed()Can anyone help me to figure out why this error is being thrown? I have searched for a while to figure out this way of doing what I'm trying to do and I've found out that a StateInvariantError has been reported as a bug in several different circumstances but not in relation to this. Or, if there is a better way to add and check the style of the text that would be great as well. Any help is much appreciated, thanks in advance.

    Swing related questions should be posted in the Swing forum.
    Can't tell from you code what the problem is because I don't know the context of how each method is invoked. But it would seem like you are trying to query the data in the Document while the Document is being updated. Try wrapping the getMessageText() method is a SwingUtilities.invokeLater().
    There is no need to write custom code for a Bold Action you can just use:
    JButton bold = new JButton( new StyledEditorKit.BoldAction() );Also your code to build the text String is not very efficient. You should not be using string concatenation to append text to the string. You should be using a StringBuffer or StringBuilder.

  • WRT160N - problem with on-line games and downloading

    Hi,
    Several months ago I bought a WRT160N router and I have a strange problem.
    When I play online games, such as QL, and someone else will start downloading from the Internet, from time to time about 10 sec I have 999 ping
    I turned on in the background ping to the router, and from time to time about 10 sec there are 2-3 ansewers with 1900-2000 ms.
    I tought that when I buy router with N-mode everything will work better, and there will be no problems with on-line gaming.
    Is there any way to fix this problem??

    I checked now and even no one is downloading there is the same problem.
    I checked on other router and it works fine.
    Next problem is when I browse youtube and play several films simultaneously, suddenly there are no responses from router, when I close them, and wait for a moment the responses are back.
    Whether anyone had similar problem??

  • Intermittent problem with the line

    I have an intermittent problem with my line which crackles or you miss parts of a conversation because voices spoken or listened to keep coming and going all the time or the phone cuts out altogether
    Telephone the help line which said that the line was OK at that moment as they did the other time I called keeps on happening on a daily basis every time we get a call.
    Next door neighbour and other neighbours around this close all linked to the same local bt or open reach cabinet all tell me they have the same problem.
    Neighbours called their own phone company who rent the line off of BT who got an open reach engineer out the next day and found that the local exchange or cabinet next to the house across the road from me all the phone line coverings have corroded away and that the wires are all damaged and corroding away or rotting away.
    So the local road (culdisack) has to be dug up and the exchange and wires have to be replaced from that junction box to the next junction box or exchange, what i want to know is when will this be done as all the neighbours and i have been reporting it to BT for ages but it was not till next door got their company to investigate was the problem found.
    How long till we have to wait for a repair and better lines back to a good service, Months, years. when?
    It would not be so bad but i have a lifeline connected to my phone so if i am in trouble it calls for help but with the fault with the line half the time it cannot get a single message or call out and before now i have been left on the floor for ages before someone came back home to get me off the floor as the box just said the phone line was disconected and could not get a dial tone or call out.
    Tim

    If you would like to contact one of the UK based BT Care Team who moderate this forum, they should be able to find out what is going on.
    They can be contacted using this link BT Care Team
    They normally respond by phone or e-mail, within three working days, however you should get an immediate confirmation, with a tracking number.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • X-Fi Notebook has a problem with headset/line-in

    0X-Fi Notebook has a problem with headset/line-in` First the basics:
    -HP Pavillion dv6000
    -Intel Core 2 Duo @ .83 GHz
    -Windows Vista Home and Student (SP) 32 bit
    -3 GB RAM
    Ok, now the problem:
    -Ever since I got my Sound Blaster X-Fi card for this past christmas, I've had a problem with using the headset/lin-in port on it. Its only now that it's gotten to be a big enough irritation for me to need to fix it. I went to play some BF2 and hook up my earphone/microphone combo. The problem is, that the default recording device "Line-in" doesn't detect any sound when I have it plugged in. Further more, when I change it to "SB X-Fi micropone" it does detect my voice, but its on some kind of feedback loop, because it then transmits whatever the mic picks up onto my speakers/headphones/whatever I have plugged into it as an output. Its almost like they have the "line-in" and "microphone" functions either switched or blended into one. I did a complete reinstall of the drivers and software, but no luck. Any suggestions would be much appreciated.
    Thanks guys

    Hi,
    What I mean is the microphone jack on your x-fi notebook. since you are saying you can hear yourself when you switch the recording source to microphone, I would assume that you have plugged in a microphone into your x-fi notebook. You should check if there is a microphone control on your volume mixer and whether it is unmuted if there is one. There are many sound card which allows for the microphone audio to be heard on the speaker output if the microphone source is unmuted.
    Message Edited by flipflop on 03-29-2009 09:03 [email protected]

  • Problems with horizontal lines on the iMac. Someone knows the solution?

    For several months my Imac has horizontal lines have been growing. Problems with horizontal lines on the iMac. Someone knows the solution?

    You have 14 days to return the computer w/no questions asked.  Plus you have 90 days of FREE phone tech support on top of your standard 1 year warranty unless you also purchased AppleCare which gives you an additional 2 years of coverage plus FREE phone support.
    Strongly suggest that you take FULL advantage of the above before it runs out.  Let Apple deal w/the problems.
    That being said, no new Mac comes w/Snow Leopard which your profile confirms you have.
    Mac OS X (10.6.8)

  • Problem with phone line not ringing

    Hi, I have a problem with my landline, it appears to ring out but isnt, no one can ring me as it says Im busy and bt cant check my line because it says Im busy..
    My phoneline died in my bedroom ages ago, so now rely on the main socket only..
    Can you pls advise me on what to do?
    Im disabled, so cannot plug and unplug but my daughter or grandson will be up later this afternoon if that needs to be done..
    Many thanks Ann

    Please ask them to follow the instructions on this site http://bt.custhelp.com/app/answers/detail/a_id/981​2/c/345,353
    If they think the fault is outside of your house, then they can report the fault here.
    https://www.bt.com/consumerFaultTracking/public/fa​ults/tracking.do?pageId=2&s_cid=con_FURL_faults
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Problem with phone line

    Hi there,
    I have been having problems with my phone line since May. The line is fine until one day I will pick up to make a call and there will be no dial tone. The tones on the keypad make a noise but the call doesn't happen. No one can get hold of me on my landline. When I get my son to do a line check the phone works again for a few days and then the problem starts again. This has all started since I got broadband. I have had two visits from engineers, the last one being Friday 20th August. That engineer told me he couldn't understand what was happening, he thought it might be the old underground cables and they couldn't cope with the broadband. I have the same issue again and am at my wits end. What should I do next? 

    Hi Coomrith and welcome
    Did the engineer say whether he was going to escalate this?
    You could email the forum mods - [email protected] with your name, account number, phone number and a link back to this thread. They may be able to offer some assistance.
    -+-No longer a forum member-+-

  • Problem with dashed line spacing when printing to pdf

    Hi all,
    this may be a problem with my pdf program (I use bluebeam), but maybe someone will have an idea how to fix it whether in indesign or bluebeam.
    so I made a dashed line using the stroke command in indesign. I need to have the spacing set to 3pt dash and 2pt space. I also need to keep the lineweight to 0.5...this all works fine and appears correctly in indesign when I preview
    the problem is that some of the dashed lines, but not all of them, change size and spacing in the pdf when I view it. it seems to change when I zoom in and out as well. I thought maybe this was just some odd feature with bluebeam and it would still print to the correct size, but it does not, it prints the lines as different sizes. does anyone have an idea why this happens and how to fix? ive viewed and printed from adobe reader and it seems to be okay there but this file will be accessed by multiple other people and they may not be opening and printing in adobe reader..
    thanks guys

    When you export a PDF you will notice that you are exporting to Adobe PDF. Using any reader beyond Acrobat Pro or Reader is a crapshoot.
    For issues with Bluebeam I suggest you contact the developer.

  • Problem with table line (footer)  in smartform

    Hey guys and gals !!!
             I have got this problem with the footer line in my smartform.I have checked the <i>no pagebreak</i> option for this line but still some contents are getting truncated instead of being shown totally on one page.
    The line has two cells.The first cell has 4 text nodes and the second cell has 1 text node.
    I am able to see just the text from the 1st text nodes while the others are getting truncated.
    Please suggest a solution.Your help will be greatly appreciated.
    Kind regards,
    Greenidge Gonsalves
    SAP Technical Consultant

    Hello,
    The problem is not clearly explained.
    However, I assume that you have a footer which is NOT a part of MAIN Window and a table has been defined and only the contents of the First TEXT node is getting printed while others are getting truncated.
    If my understanding is right,
    1. It is getting truncated because the text is more than the size of the window that has been defined.
    2. I suggest you, if the contents (size) of the footer varies from output to output, then better to shift the footer to the MAIN Window so that you will see the complete text.
    I hope this helps you.
    Regards, Murugesh AS

  • Problems with Flash Line Graphs

    I have two problems with the new Flash Line Graphs in APEX 3.1
    1. I have created a query that returns a set number of rows. Sometimes the VALUE for a specific row might be null. When this occurs the LABEL data does not show up on the X axis. I want the LABEL data to show up no matter what. How do I accomplish this?
    2. Related to the above query. When the VALUE field is null for 3 records (or more) in a row, not only does the LABEL data for those records not display, the VALUE and LABEL data for the records that appear in the set after these 3 records also do not display. If one or even two null VALUE fields appears in a row, things are still OK. What do I need to do to get all my data to display?
    Any help would be appreciated.
    THANKS
    Raymond

    Raymond,
    For the Interactive report chart issue, could it be related to this?
    Re: Apex 3.1. Interactive Report. Questions and Problems.
    Interactive Report. Chart. Seems to be bug...
    - Christina

  • Permission problems with command line CVS and Java CVS App

    Greetings,
    I'm part of a moderately sized website development team which recently upgraded to MacBook Pros (dual core) running OS 10.4.9. One of the primary tools we use in our day to day work is the open source concurrent versioning system (CVS). We've noticed a distressing issue running CVS on our macbook pros: there seems to be a problem with the way these new machines handle permissions on the directories/files that CVS uses to manage files.
    The error occurs when the CVS application, in this case both command line CVS and GUI CVS application named SmartCVS, tries to rename a temporary file named Entries~ to its new name Entries (no ~). It looks like this:
    java.io.IOException: Could not rename file
    /Users/[USER]/Sites/[MODULE]/lib/CVS/Entries~ to
    /Users/[USER]/Sites/[MODULE]/lib/CVS/Entries
    at smartcvs.JP.a(SourceFile:125)
    at smartcvs.JP.a(SourceFile:113)
    We've noticed that if we open up a get info window on the directory we're downloading, and choose "Apply to enclosed items" right when we start the download process, the issue will be resolved, presumably because the permissions are being set on the subdirectories as the download is taking place.
    We've checked the permissions on the overall ~/Sites/ directory numerous times, and they always seem to be set correctly as drwxr-xr-x. It's within this folder that CVS creates a directory with the CVS module name and downloads all the contained files, so we don't see why it would be having issues completing this successfully. We also checked to ensure the GUI CVS application is running under the current user on the machine: it does.
    Has anyone run into issues like this in the past? Is there more information I could provide to further clarify the problem we're having?
    Thanks for any input you have!

    Thanks for asking Jeff, yes one place we are seeing this error is Java application SmartCVS, though the results posted here are from a normal command line CVS checkout.
    ===
    Checkout command:
    cvs co [MODULE]
    ===
    Error:
    cvs [checkout aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: No such file or directory
    ===
    ID:
    uid=502([USER]) gid=502([USER]) groups=502([USER]), 81(appserveradm), 79(appserverusr), 80(admin)
    ===
    LS -ALN
    Computer:~/Sites [USER]$ ls -aln
    drwxr-xr-x 28 502 502 952 Jun 4 13:11 Sites
    Computer:~/Sites/[MODULE] [USER]$ ls -aln
    drwxr-xr-x 38 502 502 1292 Jun 4 13:33 www_root
    Computer:~/Sites/[MODULE]/www_root [USER]$ ls -aln
    drwxr-xr-x 32 502 502 1088 Jun 4 13:33 [SUBDIR1]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1] [USER]$ ls -aln
    drwxr-xr-x 5 502 502 170 Jun 4 13:33 [SUBDIR2]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2] [USER]$ ls -aln
    drwxr-xr-x 4 502 502 136 Jun 4 13:33 [SUBDIR3]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2]/[SUBDIR3] [USER]$ ls -aln
    drwxr-xr-x 6 502 502 204 Jun 4 13:33 CVS
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2]/[SUBDIR3]/CVS [USER]$ ls -aln
    total 32
    drwxr-xr-x 6 502 502 204 Jun 4 13:33 .
    drwxr-xr-x 4 502 502 136 Jun 4 13:33 ..
    -rw-r--r-- 1 502 502 45 Jun 4 13:33 Entries
    -rw-r--r-- 1 502 502 45 Jun 4 13:33 Entries.Log
    -rw-r--r-- 1 502 502 48 Jun 4 13:33 Repository
    -rw-r--r-- 1 502 502 63 Jun 4 13:33 Root
    MacBook Pro / MacPro Mac OS X (10.4.9)

  • CVI2013 problem with excluded lines

    I found a problem with CVI 2013 when you have some excluded lines in a header file which has some errors.
    This problem can be seen in the attached example, following these steps:
    exclude the line #35 (CTRL+E shortcut)
    build the project; this gives error due to line #28 in dummy.h
    in the Build output window double click on the line explaining the error
    CVI opens a new tab with a copy of dummy.h header (from UnsavedChanges directory) where the excluded lines have been commented (//....)
    when this happens it's not clear that this is NOT the real header file, so you modify it (fixing the error), but when you rebuild the project you see the same error described at step #2
    This behavior has no sense.
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded
    Attachments:
    CVI_2013 project error.zip ‏6 KB

    This bug has been partially solved with f1 patch (see here).
    But anyway the behavior is not correct yet; another bug report ID has been already filled in.
    I know that if I comment and/or "#if 0" the lines the project can be compiled, but my usage of CTRL+E is to temporary disable lines without saving the modifications in the source files.
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Sales Order Stock - Problem with Schedule line

    Hi guru,
    I have a problem with my schedules line.
    We use the Sales order stock ( using MB1B with good movement  412/E) for some specific customers.
    Even if the sales order reservation works well, there is an issue with the schedule line in the order.
    Indeed when i enter the material in the order the schedule line display an availibily in 8 days even if the material is out of stock or available now....
    When i enter the same materila in a standard order(with item category without special stock E) the schedules line are good...
    What is it the most weird is that i have done the customizing by copying the standard item and i have just added the special stock E in the item category.
    If anyone can help me!!
    Thanks a lot

    hello Lakshmipathi,
    Thanks a lot for your reply.
    I tried to change the requierement class in order to put one with special stock E as you explained, but i still have my weird schedule line. When i put the item in the order it is 0 stock for today, but stock find in 12 days either if there is stock or no(unrestricted stock i mean).
    If i change the RDD in more than 12 days the stock is available for the date requested.
    If you have an idea of what could be wrong because on my case i want the schedule line to be at 0 while the sales order reservation has not been processed (via MB1B/412/E) and once the stock movement is done the schedule line has to be find.
    I dont know if im clear enought..
    To be more clear,  i want the schedule line based on the "sales order stock" and not on the "unrestricted stock".
    thanks for your help!
    Guillaume

  • Sound problems with back line out port

    Hey everyone, I just sent an email to MSI Tech Support, but figure I would post a message here as well.  I just put together a new system, but I'm having a problem with the back line out port.
    My problem: When I plug in the front panel audio connectors (Left Audio Out, Left Audio Return, Right Audio Out, Right Audio Return) in the motherboard on pins 5-6 and 9-10 of JAUD1, the back line out does not work properly.  I get sound on only the right speaker of the headphones.
    More info:
    - Audio Driver: 5.10.0.5620 (from MSI CD)
    - If I instead plug the headphones on the front audio line out, then sound is fine
    - Here's the strange part, if I unplug the front audio connectors from the motherboard (and short pins 5-6, 9-10 with the jumpers, obviously), then the sound on the back line out works properly!
    - My Windows sound settings are fine
    Has anyone heard of this problem?  Any ideas/suggestions of what I could try?  
    Could this be a defective board?  Could it be bad wires on the case?  Seems unlikely since both back line out and front line out work depending on what I have setup.
    Help! :-)
    Thanks,
    icab

    Quote
    Originally posted by Steve F.
    You could try:
    1. Read the manual
    2. Search this forum.
    Rear sound problem
    Third time this has come up in 1 or 2 weeks.
    Steve,
    I appreciate the reply, but I believe you are wrong.  Yes, I have searched the forum and did find that thread.  Yes, I have read the manual.  The only thing that it says is: "If you don't want to connect to the front audio header, pins 5 & 6, 9 & 10 have to be jumpered in order to have signal output directed to the rear audio ports. Otherwise, The Line-out connector on the back panel will not function."  That's not my case since I want both ports to work (not outputting the signal both at the same time, obviously).
    This can't be ByDesign.  Either my board is defective or MSI is not following the Intel Front Panel I/O Connectivity Guide correctly.  The whole point of having 4 wires for the front panel audio ports, 2 of the wires being Aud_Ret_R and Aud_Ret_L, is so that the audio signal is sent to the front line out and _returned_ to the back line out if nothing is plugged in the front line out.
    I have an IBM machine with an intel mobo at work and it works as mentioned in the design guide.
    Any other ideas, anyone? I can still RMA my motherboard, but it's a design issue, i guess I'm stuck. I never got an automated reply from MSI Tech Support, so I guess my email never went through.  I'll send another email and let the forum know of the results.
    Thanks,
    Igor

Maybe you are looking for

  • Line item report on Statistical WBS element.

    Hi All, I need to extract Line report on statistical WBS element. I tried CJI3 and end up with the message No costs, revenues or finances were selected. can some one help me on this. Thanks and Regards, Vinod

  • Error In Running dbms_scheduler.run_job ORA-27369 with psexec.

    I'm using dbms_scheduler in Oracle 10g on Windows 2008 (32-bit). A recent application upgrade moved a portion of my work to a Windows 2008 R2 64-bit server. Becuase of this I had to move some processing to this server. When the internal processes wit

  • "Clamshell Mode" gone with 10.6.6? Or not?

    Can people confirm if "clamshell mode" (using a laptop with closed lid; power, keyboard/mouse and monitor attached) still works in 10.6.6? I have seen reports that this (for me pretty important functionality) has been lost with the 10.6.6 update.

  • IMovie files increasing in size in latest version?

    I opened iMovie for the first time for a couple of years and since the last upgrade (10.0.6). I opened a file and it started to convert it for some reason. I then noticed that my hard drive usage has increased by 40GB. This is a problem as my hard dr

  • Remapping keys to be like a PC keyboard

    I have an Apple bluetooth keyboard and works well. I use Citrix & MS's Remote Desktop a fair bit to login to WinTel machines. One anoying thing is to map certain keys to be a PC equalivant. Primarily I would like to map the "Help" (or F14) key to be