title: Can't find bundle for base name org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, locale sv_SE
body: <p>I am trying out an example for RSyntaxTextArea found here </p>
  
  <p><a href="http://fifesoft.com/rsyntaxtextarea/examples/example1.php" rel="nofollow">http://fifesoft.com/rsyntaxtextarea/examples/example1.php</a></p>
  
  <pre><code>import java.awt.*;
  import javax.swing.*;
  
  import org.fife.ui.rtextarea.*;
  import org.fife.ui.rsyntaxtextarea.*;
  
      /**
       * A simple example showing how to use RSyntaxTextArea to add Java syntax
       * highlighting to a Swing application.&lt;p&gt;
       * 
       * This example uses RSyntaxTextArea 2.0.1.&lt;p&gt;
       * 
       * Project Home: http://fifesoft.com/rsyntaxtextarea&lt;br&gt;
       * Downloads: https://sourceforge.net/projects/rsyntaxtextarea
       */
      public class TextEditorDemo extends JFrame {
  
         private static final long serialVersionUID = 1L;
  
         public TextEditorDemo() {
  
            JPanel cp = new JPanel(new BorderLayout());
  
            RSyntaxTextArea textArea = new RSyntaxTextArea(20, 60);
            textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA);
            textArea.setCodeFoldingEnabled(true);
            textArea.setAntiAliasingEnabled(true);
            RTextScrollPane sp = new RTextScrollPane(textArea);
            sp.setFoldIndicatorEnabled(true);
            cp.add(sp);
  
            setContentPane(cp);
            setTitle("Text Editor Demo");
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            pack();
            setLocationRelativeTo(null);
  
         }
  
         public static void main(String[] args) {
            // Start all Swing applications on the EDT.
            SwingUtilities.invokeLater(new Runnable() {
               public void run() {
                  new TextEditorDemo().setVisible(true);
               }
            });
         }
      }
  </code></pre>
  
  <p>this exception is thrown</p>
  
  <pre><code>Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
      at org.fife.ui.rsyntaxtextarea.RSyntaxTextAreaUI.&lt;clinit&gt;(RSyntaxTextAreaUI.java:37)
      at org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.createRTextAreaUI(RSyntaxTextArea.java:723)
      at org.fife.ui.rtextarea.RTextAreaBase.init(RTextAreaBase.java:630)
      at org.fife.ui.rtextarea.RTextArea.init(RTextArea.java:854)
      at org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.init(RSyntaxTextArea.java:1784)
      at org.fife.ui.rtextarea.RTextAreaBase.&lt;init&gt;(RTextAreaBase.java:117)
      at org.fife.ui.rtextarea.RTextArea.&lt;init&gt;(RTextArea.java:215)
      at org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.&lt;init&gt;(RSyntaxTextArea.java:363)
      at TextEditorDemo.&lt;init&gt;(TextEditorDemo.java:24)
      at TextEditorDemo$1.run(TextEditorDemo.java:44)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$200(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: java.util.MissingResourceException: Can't find bundle for base name org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, locale sv_SE
      at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
      at java.util.ResourceBundle.getBundleImpl(Unknown Source)
      at java.util.ResourceBundle.getBundle(Unknown Source)
      at org.fife.ui.rsyntaxtextarea.RSyntaxTextAreaEditorKit.&lt;clinit&gt;(RSyntaxTextAreaEditorKit.java:76)
      ... 24 more
  Caused by: java.lang.ClassCastException: org.fife.ui.rsyntaxtextarea.RSyntaxTextArea cannot be cast to ResourceBundle
      at java.util.ResourceBundle$Control.newBundle(Unknown Source)
      at java.util.ResourceBundle.loadBundle(Unknown Source)
      at java.util.ResourceBundle.findBundle(Unknown Source)
      at java.util.ResourceBundle.findBundle(Unknown Source)
      at java.util.ResourceBundle.findBundle(Unknown Source)
      ... 27 more
  </code></pre>
  
  <p>What is wrong here, any ideas how to fix this problem?</p>
  
  <p>Thanks!</p>