Error in Right-to-Left Jmenu movement

Hi everybody,
I started using Java 1.5 recently, I found that it does not behave correctly regarding arrow key movements in right-to-left orientation (up,down, left and right), as the following piece of code shows:
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
public class test14 extends JFrame {
  JMenuBar  jmenubar = new JMenuBar();
  JMenu     Jmenu;
  JMenuItem mi;
  public test14() {
    super("Menu test..");
    setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
    enableEvents(AWTEvent.KEY_EVENT_MASK);
    addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        Exit();
    setMenu();
    jmenubar.applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
    Dimension max_size = Toolkit.getDefaultToolkit().getScreenSize();
    this.setSize(max_size.width,max_size.height);
    this.setLocation(1,1);
    show();
  public void setMenu() {
    int       i,c;
    JMenu     Jmenu = null;
    JMenuItem mi;
    Jmenu = new JMenu("ABCDEF");
    Jmenu.setMnemonic(KeyEvent.VK_ALT);
    for (i=0; i < 5;i++) {
      Jmenu = new JMenu("ABCDEF");
      if (i == 0) Jmenu.setMnemonic(KeyEvent.VK_ALT);
      mi = new JMenuItem("abcdef");
      Jmenu.add(mi);
      jmenubar.add(Jmenu);
    setJMenuBar(jmenubar);
  private void Exit() {
    setVisible(false);
    //setEnabled(false);
    System.exit(0);
  //----- MAIN function ------------
  public static void  main(String args[]) {
    new test14();
}Thanks

Thank you for considering this issue!
Yes, I think this solution is sufficient to resolve it.

Similar Messages

  • Move an animator object from right to left

    How do I move an animator object from right to left?  I tried using the value with a minus sign in front of it. (i.e. -(xcoord) )  Please help.
    Thanks,
    Chris

    After you create the animator, click on it on the panel, you will see a rectangle. You can drag the rectangle to bigger or smaller. The graphic will be moving inside of this rectangle. In this rectangle, bottom left corner is x0 y0.  Top right cornet is x100, y100.
    Ryan Shi
    National Instruments
    Attachments:
    process1.zip ‏1 KB

  • In the app search, the selections are hard to move right to left why?

    in the app search, the selections are hard to move right to left why?

    I doubt it was either.  As I suggested the possiblity the two issues were related.  One of a number things could have been the cause, and the solution.
    It took me several minutes to finalize my post in which during that time Apple could have very easilty got things back up and running.  The two issues could have been unrelated.
    Chamar - tt also appears you posted a screen shot from the Mac App store.  The link I provided was specifically for the online "Apple Store"  - not "App" store. 
    And again, as it's been an issue in the past - I suggested the two issues may have been related;  it usually is, because your Apple ID is tied to "everything Apple" - Mac App store, iCloud, FaceTime, iTunes, Apple Store online, and even here, including the forums... "everythig Apple."
    I even tried to get onto Apple Store online through the App on my iPhone.  I get the exact same screen shot I placed in my original post.  At any rate... everything is back up and running.

  • Is it possible to move app's right to left to another screen?

    I accidentally moved an app to another screen; left to right; but when I tried to move it back I couldn't reverse the process. Is it possible to move an app from screen to screen right to left?

    Drag the app to the edge of screen 1, hold it there and wait until it switches to screen 2, then move to where you want on screen 2.

  • Move a table to right or left when in the drop down tab menu

    How do you move a table to right or left when you have many tabs and the tabl you want to move is  in the drop down tab menu at the right....?

    This forum is a joke.

  • Chess moves always were written top to bottom. Why do they now come out right to left???  Is this clear???

    CHESS MOVES HAVE ALWAYS BEEN WRITTEN FROM THE TOP TO THE BOTTOM.  VERTICALLY.  NOW THE MOVES ARE WRITTEN FROM THE RIGHT TO LEFT.  HORIZONTALLY   I have great difficulty in trying to read them as the latter rather than the former.  It is the former that i want and i must have done something,  i know not what, to   change the way it's written.  Manny Jakel

    OK - I think I got it. On the chessgames.com site you see stuff like this:
    1. d4 Nf6 2. c4 e6 3. Nc3 Bb4 4. a3 Bxc3 5. bxc3 c5
    Instead of:
    1. d4 Nf6
    2. c4 e6
    3. Nc3 Bb4
    4. a3 Bxc3
    5. bxc3 c5
    But this formatting is not being created by your Mac, or any settings on the Mac. The chessgames.com site creators decided to use that formatting.
    Have you tried addressing your complaint to them? Send an email to: [email protected]

  • Is there a keyboard shortcut to move to the next tab right or left from the current tab?

    In a tab group is there a keyboard shortcut to move to the next tab right or left; to cycle through the tabs?
    I already know about ctrl-1 through 8

    Try use '''Ctrl+Tab''' and '''Ctrl'''+'''Shift'''+'''Tab'''

  • Expression: Obj 2 moves right when Obj 1 moves left.???

    Hello.
    I having trouble trying to come up with an expression that would allow me to move OBJ 2 to the right when OBJ 1 moves to the left.  Obviously when I parent one of the objects to the other and move to either side the both end up moving in the same direction.  Does anyone have an expression for this or perhaps can lead me to a helpful link that would educate me.
    Thanks in advance.

    Depends on the setup and what actually the "objects" are. You know, shape layers have different coordinate logic than normal layers for instance... Generally it one would subtract the position of Obj 1 from anchor point or composition center and then adding/subtracting it to/from Obj 2. Something like this for an X axis mirroring across the comp middle:
    mHalf=thisComp.width*0.5;
    mRef=thisComp.layer("Obj A");
    mDiffX=mRef.position[0]-mHalf;
    mPosX=mHalf-mDiffX;
    X=mPosX;
    Y=value[1];
    Z=value[2];
    [X,Y,Z]
    Also consider that many setups with perfect symmetry could just as well be done by using Effect --> Distort --> Mirror, assuming the shape is in itself symmetrical and the flipping would not show...
    Mylenium

  • Slider movement . wiggle , loose , movement from right to left -9810

    Hi , 
    my blackberry  9810 is 15-20 days new ,  & there is a slight  wiggle , loose , movement in the slider from right to left -9810.
    Kindly , confirm if it is normal or i have to take to Redignton  for  servicing.
    regards,
    Joydeep

    hi jd,
    did you go to redington for service? I am having the same problem with my 1 week old 9810 and want to take it up with BB service. any advice?

  • I have a new IMAC. My mouse (very sensible) gave me the possibility to move left to right and right to left and also to scroll on the vertical way also on my page word. I like the vertical way, it is ok, but is it possible to block the vertical move only

    Hi, I have a new IMAC. Only by touch, my mouse (very sensible) gave me the possibility to move left to right and right to left on my pages word and also to scroll on the vertical way. I am ok with the vertical way, but I don't like the very sensible horizontal way. Do someone know a way to block the vertical move only and keep the move of the horizontal way? The only way I found blocked all the moves.
    I hope my descripion is understandable... English is not my habitual language.
    Danielle

    Merci Éric de me revenir en français, je l'apprécie beaucoup. Je ne veux conserver que le mouvement de haut en bas et de bas en haut. Je ne vois pas l'utilité du mouvement horizontale (gauche-droite, droite-gauche) et pire encore, par mégarde je fais trop souvent bouger ainsi mon texte et cela m'embête, même me dérange  beaucoup. Même que cela me donne même mal au coeur hahahahahaha!
    Par contre, ma souris précédente avait le mouvement de défilement du haut en bas et bas en haut et cela par contre m'est très utile. Je voudrais donc savoir s'il existe un moyen de stopper le mouvement de côté mais conserver tout de même la fonction du mouvement haut-bas et bas-haut avec le simple toucher de la souris. Suis-je plus clair? Disons que c'est plus aisé pour moi en français. merci à toi
    Danielle

  • Ultra nav mouse left key moves incorrectl​y

    Ultra nav mouse left key moves incorrectly or it may be broken. It is still in place however the left key rocks to the left and sticks, causes erratic reactions. Can this be fixed? I have lifted the right edge of the key up, cleaned, and adjusted the wire placement to no avail.
    Thank you for any ideas.

    What I suspect is happening here is an error with relative positioning, ie. when I move the right thumbstick left it's setting the cursor to an extremely low value, say -100,000 and therefore when I move it right because the minimum value is supposed to be -32768 it has to surpass that value before actually visibly moving right.
    Does anybody know how I could track the actual x,y co-ordinates of the cursor to establish if this is happening?
    Edit: enabled log statements in xboxdrv config. My theory has proved incorrect. I'm stumped.
    Last edited by darArch (2013-08-05 18:51:20)

  • Wireless trackpad: misses clicks, tracks poorly right to left

    Using Yosemite, iMac 5K, wireless keyboard and magic trackpad
    The trackpad sometimes misses a click and sometimes doubles the click. I know that the "click" is registered by the little buttons on the bottom of the trackpad. It is on a tidy hard surface and I know the buttons are getting moved. It feels like maybe it misses if I hold the button down longer than it wants me to. But then sometimes it just plain doesn't respond. (Yes, the battery is still good, showing 81% but this phenomenon has been happening since the pad and batteries were new.) Oh, I see more now while I'm typing. If the cursor shows as a little pointy arrow, the click doesn't register. If it shows as a double-ended vertical input cursor, it does register. This perhaps means that even though the pointer has actually moved, the computer hasn't seen it.
    But then sometimes one click registers as two. For example, I try to position the mouse and end up with a word (or, worse, the name of a file in the finder) selected instead. I have changed settings in accessibility to make the double click speed slightly slower, which I think might have improved the behavior a bit. On the other hand, with the previously mentioned issue when the click doesn't seem to register. When I then do another click to make it actually see the move, that is when a double or triple click will happen. This is for moves of multiple inches with more than a split second in between.
    I also find that the trackpad doesn't register movement reliably especially when I am trying to move it by pushing right to left across the pad. I can position it so that multiple light strokes on the pad don't move the cursor at all. Again, this happens when the cursor is not "expecting" typing. For example, in this support communities entry box with the arrow showing instead of the vertical input thingie.
    It isn't really predictable when the problem is going to appear. As you can imagine, this makes "mouse ahead" input pretty dangerous - renaming files, deleting bodies of text with the Undo not being available anymore because of going too fast.
    I already returned one of these trackpads as defective. Now I'm thinking that this is actually just the design behavior of the thing. Perhaps a pad from some other mfgr would work more reliably?
    [p.s. I wish if it is going to show me the time of last autosave that it would use the local system display time, not the current time in California.]

    I hope they can fix it. When my macbook came back from apple after having another issue fixed, the button was pivoting around the middle, meaning you could only click in the middle, not the edge. Too it back, they replaced the top case and it came back with the same problem. It now in again having the top case replaced again.
    They're now telling me that it's "normal". It wasn't like that when I bought it!

  • 320x240 QT export produces black bars on right and left

    Ok, this one is strange. So far, it only appears to affect 320x240 targets from sources that don't have square pixels. Starting with a 720x480 DV movie (even if I change the properties to display 640x480), I export directly to 320x240 and I get a movie with black bars down the right and left. I did not tell QT to letterbox or scale, although telling it to scale does no help.
    The problem seems to be in the meta data. If I go to the movie's visual properties and change the move dimensions to 324x240 (with preserve aspect ratio unchecked), then the black bars disappear. When I change it back to 320x240, they are still gone and the movie plays fine. I save it and reopen it, and the black bars are back! The same thing happens exporting from Final Cut Pro using Quicktime conversion. This is definitely a bug.
    The work around is to export to another 4:3 format with square pixels first and export that to 320x240.
    On a related note, the same thing happens when I record a movie in Quicktime at 320x240. I get a recording with black bars down the sides.
    This has never happened to me before. I'm a professional QT software developer and a content producer. I've been using Quicktime Pro for a decade, at least. I've been over all of the export settings, and I've deleted all of my Quicktime preference files.
    Is there a way to report a bug to Apple?

    Regarding: "there's a pretty good chance that your playback target isn't Quicktime Player"...
    My assumption is that if your material is 320x240, it's probably that size because you're planning to either display it on a small-screen device, send it to a TV set, embed it in a presentation, or deliver it via the Web. In any of those cases, your final delivery target isn't QuickTime Player, but rather some other mode, such as the QuickTime web plug-in, iPod, AppleTV, or even some other option. In which case the strangeness with the player doesn't seem so strange.
    As a workaround, you could layer your 320x240 movie with at 350x240 grey rectangle on the layer behind. That would fix it in QuickTime Player, but it would cause grey bars on either side if you embed into a web page or something like that.

  • Is caret positioning in right-to-left oriented jtextpane corruptable?

    Dear all -
    Below is a serious problem. I hope I can get help from you experts out there; otherwise, I think it is a bug that should be reported to the JDK developers.
    I am writing an editor using my own keyboard layout to type in Arabic. To do so, I use jTextPane, and my own implementation of DocumentFilter (where I map English keys to Arabic letters). I start by i) setting the component orientation of jTextPane to be from RIGHT_TO_LEFT, and ii) attaching a caretListener to trace the caret's position.
    The problem (I think it is a bug just like what is recorded here: http://bugs.adobe.com/jira/browse/SDK-16315):
    Initially as I type text in Arabic, there is one-to-one correspondence between where I point my mouse and where the caret displays, basically, the same place. However, a problem occurs (and can always be re-produced) when I type a word towards the end of the line, follow it by a space character, and that space character causes the word to descend to the next line as a result of a wrap-around. Now, as I point my mouse to that first line again, the location where I click the mouse and the location where the caret flashes are no longer coincident! Also, the caret progression counter is reversed! That is, if there are 5 characters on Line 1, then whereas initially the caret starts from Position 0 on the right-hand side and increases as more text is added from right to left, it is now reversed where the the caret now increases from left to right for the first line, but correctly increases from right to left in the second line! yes funny stuff and very hard to describe to.
    So, here is an example. I wrote the code below (JDK1.6_u10, on Netbeans 6.5 RC2) to make it easy to reproduce the problem. In the example, I have replaced the keys A, S, D, F and G with their Arabic corresponding letters alif, seen, daal, faa and jeem. Now, type these letters inside the double quotes (without the double quotes) including the two spaces please and watch out for the output: "asdfg asdfg ". Up until you type the last g and before you type space, all is perfect, and you should notice that the caret position correctly moves from 0 upwards in the printlines I provided. When you type that last space, the second word descends as a result of the wrap-around, and hell breaks loose! Notice that whereas the mouse and caret position are coincident on the second line, there is no way to fine-control the mouse position on the first line any more. Further, whereas adding text on the second line is intuitive (i.e., you can insert more text wherever you point your mouse, which is also where the caret would show up), for the first line, if you point the mouse any place over the written string, the caret displays in a different place, the any added text is added in the wrong place! All this because the caret counter is now reversed, which should never occur. Any ideas or fixes?
    Thank you very much for reading.
    Mohsen
    package workshop.onframes;
    import java.awt.ComponentOrientation;
    import java.awt.Rectangle;
    import javax.swing.event.CaretEvent;
    import javax.swing.event.CaretListener;
    import javax.swing.text.BadLocationException;
    public class NewJFrame1 extends javax.swing.JFrame {
    public NewJFrame1() {
    initComponents();
    jTextPane1.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
    CaretListener caretListener = new CaretListener() {
    public void caretUpdate(CaretEvent e) {
    int dot = e.getDot();
    int mark = e.getMark();
    if (dot == mark) {
    try {
    Rectangle cc = jTextPane1.modelToView(dot);
    System.out.println("Caret text position: " + dot +
    ", view location (x, y): (" + cc.x + ", " + cc.y + ")");
    } catch (BadLocationException ble) {
    System.err.println("CTP: " + dot);
    } else if (dot < mark) {
    System.out.println("Selection from " + dot + " to " + mark);
    } else {
    System.out.println("Selection from " + mark + " to " + dot);
    jTextPane1.addCaretListener(caretListener);
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    private void initComponents() {
    jScrollPane3 = new javax.swing.JScrollPane();
    jTextPane1 = new javax.swing.JTextPane();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jTextPane1.setFont(new java.awt.Font("Tahoma", 0, 24)); // NOI18N
    jTextPane1.setAutoscrolls(false);
    jTextPane1.addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyTyped(java.awt.event.KeyEvent evt) {
    jTextPane1KeyTyped(evt);
    jScrollPane3.setViewportView(jTextPane1);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 159, Short.MAX_VALUE)
    .addContainerGap())
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 85, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    pack();
    }// </editor-fold>
    private void jTextPane1KeyTyped(java.awt.event.KeyEvent evt) {
    if (evt.getKeyChar() == 'a') {
    evt.setKeyChar('\u0627');
    } else if (evt.getKeyChar() == 's') {
    evt.setKeyChar('\u0633');
    } else if (evt.getKeyChar() == 'd') {
    evt.setKeyChar('\u062f');
    } else if (evt.getKeyChar() == 'f') {
    evt.setKeyChar('\u0641');
    } else if (evt.getKeyChar() == 'g') {
    evt.setKeyChar('\u062c');
    public
    static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new NewJFrame1().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JTextPane jTextPane1;
    // End of variables declaration
    }

    Hi Mohsen,
    I looked at it and indeed, I see what you describe. Sorry, but I can't shed any light. I tried to figure out what software component, or combination of components, is the cause of the problem. I see several candidates:
    1) The JTextPane
    2) The Document
    3) RTL support
    4) BIDI support
    5) Interpretation (by any other software component) of the left and right arrow key
    6) The font
    To clarify number 6: I know virtually nothing of Arabic language (apart from it being written from right to left). I remember however that the actual representation of a letter is dependent of its position between other letters: front, middle and end. What I see to my astonishment is that it seems that the rendering is also aware of this phenomenon. When you insert an A between the S and D of ASDFG, the shape of the S changes. Quite magic.
    I tried to add a second textpane with the same Document, but a different size, to see what would happen with number one if one types text in number two and vice versa.
    In my first attempt, the font that you set on textpane one was gone after I set its document to number two. For me that is very strange. The font was set to the textpane, not to the document. The separation betweem Model and View seems not very clear in this case. So I now also set that font on the second textpane.
    I will post the changed code so that you may experiment some more and hopefully will find the problem.
    You might be interested in a thread on java dot net forums that discusses a memory leak for RTL [http://forums.java.net/jive/message.jspa?messageID=300344#300344]
    Piet
    import java.awt.ComponentOrientation;
    import java.awt.EventQueue;
    import java.awt.Font;
    import java.awt.Rectangle;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import javax.swing.GroupLayout;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTextPane;
    import javax.swing.WindowConstants;
    import javax.swing.event.CaretEvent;
    import javax.swing.event.CaretListener;
    import javax.swing.text.BadLocationException;
    import javax.swing.text.Document;
    public class NewJFrame1 extends JFrame {
        private static final long serialVersionUID = 1L;
        public NewJFrame1() {
         initComponents();
         // jTextPane1.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
         this.applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
         CaretListener caretListener = new CaretListener() {
             public void caretUpdate(CaretEvent e) {
              int dot = e.getDot();
              int mark = e.getMark();
              if (dot == mark) {
                  try {
                   Rectangle cc = jTextPane1.modelToView(dot);
                   System.out.println("Caret text position: " + dot
                        + ", view location (x, y): (" + cc.x + ", "
                        + cc.y + ")");
                  } catch (BadLocationException ble) {
                   System.err.println("CTP: " + dot);
              } else if (dot < mark) {
                  System.out.println("Selection from " + dot + " to " + mark);
              } else {
                  System.out.println("Selection from " + mark + " to " + dot);
         jTextPane1.addCaretListener(caretListener);
        private KeyAdapter toArabic = new KeyAdapter() {
         public void keyTyped(KeyEvent evt) {
             jTextPane1KeyTyped(evt);
         * This method is called from within the constructor to initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is always
         * regenerated by the Form Editor.
        // @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
         jScrollPane3 = new JScrollPane();
         jTextPane1 = new JTextPane();
         setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
         jTextPane1.setFont(new Font("Tahoma", 0, 24)); // NOI18N
         jTextPane1.setAutoscrolls(false);
         jTextPane1.addKeyListener(toArabic);
         jScrollPane3.setViewportView(jTextPane1);
         GroupLayout layout = new GroupLayout(getContentPane());
         getContentPane().setLayout(layout);
         layout.setHorizontalGroup(layout.createParallelGroup(
              GroupLayout.Alignment.LEADING).addGroup(
              layout.createSequentialGroup().addContainerGap().addComponent(
                   jScrollPane3, GroupLayout.DEFAULT_SIZE, 159,
                   Short.MAX_VALUE).addContainerGap()));
         layout.setVerticalGroup(layout.createParallelGroup(
              GroupLayout.Alignment.LEADING).addGroup(
              layout.createSequentialGroup().addContainerGap().addComponent(
                   jScrollPane3, GroupLayout.PREFERRED_SIZE, 85,
                   GroupLayout.PREFERRED_SIZE).addContainerGap(
                   GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
         pack();
        }// </editor-fold>
        private void jTextPane1KeyTyped(KeyEvent evt) {
         if (evt.getKeyChar() == 'a') {
             evt.setKeyChar('\u0627');
         } else if (evt.getKeyChar() == 's') {
             evt.setKeyChar('\u0633');
         } else if (evt.getKeyChar() == 'd') {
             evt.setKeyChar('\u062f');
         } else if (evt.getKeyChar() == 'f') {
             evt.setKeyChar('\u0641');
         } else if (evt.getKeyChar() == 'g') {
             evt.setKeyChar('\u062c');
        public static void main(String args[]) {
         EventQueue.invokeLater(new Runnable() {
             public void run() {
              final NewJFrame1 frameOne = new NewJFrame1();
              frameOne.setLocationRelativeTo(null);
              frameOne.setVisible(true);
              EventQueue.invokeLater(new Runnable() {
                  public void run() {
                   Document doc = frameOne.jTextPane1.getDocument();
                   JTextPane textPane2 = new JTextPane();
                   textPane2.setFont(new Font("Tahoma", 0, 24)); // NOI18N
                   textPane2.setAutoscrolls(false);
                   textPane2.setDocument(doc);
                   textPane2.addKeyListener(frameOne.toArabic);
                   JFrame frameTwo = new JFrame();
                   frameTwo.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   frameTwo.add(new JScrollPane(textPane2));
                   frameTwo.setSize(400, 300);
                   frameTwo.setLocationByPlatform(true);
                   frameTwo.setVisible(true);
                   frameTwo
                        .applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
        // Variables declaration - do not modify
        private JScrollPane jScrollPane3;
        private JTextPane jTextPane1;
        // End of variables declaration
    }

  • How to remove black "blocked plug-in" window that opens with iPhoto. It covers iPhoto and everything under it. I've right and left clicked the black window, restarting the computer, shutting down the computer, but the window always appears when I ope

    How to remove black "blocked plug-in" window that opens with iPhoto. It covers iPhoto and everything under it. I've right and left clicked the black window, restarting the computer, shutting down the computer, but the window always appears when I open iPhoto and it will not move or go away. It stays on my screen (covering my desktop icons) even after I quit iPhoto. How can I get it off my screen?

    Which version if iPhoto and MacOS X do you have?
    Do you have any iPhoto plug-ins  installed?
    Open the folder /Library/Application Support/iPhoto/Plugins/
    To navigate to that folder, open the folder "Library" directly on your Macintosh HD, then inside the Library folder go to Application Support, then iPhoto.  Is there anything installed?

Maybe you are looking for

  • LOL, great bug with faces-config.xml

    Ok, its third time that I reinstall these stuff called JDeveloper. Im tired of this! Unfortunately I cant work with Eclipse cauz it doesnt works with OC4J embed.... Image as follows shows these freakin' bug... LOL http://img154.imageshack.us/img154/6

  • Using like with select clause

    Hi experts, I have a problem where i feel i should catch filtered resultset on to my internal table and i feel using LIKE. But if i use LIKE '%AMIT%' will it store AMIT amit Amit  ie all possible combination irrespectin of any case ? Will it be case

  • How will i know the model of my Satellite M100 series?

    just my last thought. How will i know what model am i using, it is satellite m100 series but i still dont know what specific it is... thanks for helping

  • Adding a quiz timer

    I've read some older posts about adding a timer to a quiz but never really saw a definitive way to do it. I'm using Captivate 6 and I would like to add a timer to a random question quiz which, once the time expires, it advances the user to the result

  • How to create User defined templates

    Hi all, I want to create user defined templates for pages and regions and how to create form templates and report templates. pls help me. thanks mani