Annoying character placement

Hi guys, hoping someone can help me, when I use the type tool in CS6, I can form a sentence normally  but as soon as I enter a non alphabetical character like an exclamation mark '!' then it appears at the start of the sentence and I can't move it to the end, when I click on screen to place my text, the flashing cursor appears and stays at the start of the text as shown below:
Then as soon as I enter a character like a hash, exclamation mark or question mark, it automatically places it to the left of the text and it stays there by default once I've checked the tick to commit it.
This is really infuriating me, does anyone know how to change this in the settings ?
Apologies if this has already been covered but I couldn't see anything relating to my query elsewhere, thanks in advance

Hi Gairo
If you go to the Window menu and turn on the "Paragraph" window then open up the panel (making sure that you open the Paragraph tab and no the Character tab) you should see 2 options near the bottom of that fly out panel - one is "Left - to - Right paragraph direction" and the other is Right - to - Left paragraph direction" my guess is that you have the second of these selected - try switching it to "Left - to - Right paragraph direction".
***EDIT - Stupid me, I see this is what has been suggested already, but seriously, double check because it really does sound like this is what is happening.
I hope this helps - Good Luck
John

Similar Messages

  • Enlightenment 0.19.0 - Annoying window placement/size issues

    Hi,
      I have been having this very annoying issue with enlightenment for a while now; searching for a solution, can't find anything and my knowledge of the whole X window system is limited to its usage.
      The first issue is that whenever I close a window, the first minimized one will restore by itself; it won't stay minimized....  So I keep having a window that pops up each time I close one......  I end up shading my windows instead of minimizing them.......
      The second issue is bad.  I use Quartus software (I hope someone is using this....), each window I open in the IP catalog (or QSYS) will come up wrong.  It will have a size of 1xHUGE or simply 1x1.  When size is 1xHUGE it is completely on the left side of my screen, whowing its glamorous window decoration and a larger top-right square that wonldn't be able to get smaller than that.  I resize but the window is blank.  I must restart enlightenment for the window's content to appear.  When it is 1x1, well.... the only thing that shows is the top-right window decoration.
      I can work but this is very.... very ......very annoying.....  Any thoughts?
    Thanks,
    Tach

    Hi,
      Sorry but I have to bump this one back.
      I did erase all settings (.e and .elementary) but the issue persists.  This happends on both of my machines (Intel graphic for desktop and Optimus for laptop; so yes, Intel for both).
      FVWM does not exhibit the issue but then again, no automagic placement is enabled.  I think this is the problem here...
      Also, on my desktop, if I restart enlightenment, I get a background but nothing else; no task bar, no pager, no menus.  I have to kill enlightenment/X.  I am not sure e19 is the root cause; I would be geared toward one of my libraries/config of system (dbus?)
      I don't know how to debug this and logs don't help me much.
      Any help on how to diagnose this would be appreciated before I switch to KDE ....
    Update:
      On my desktop, I forgot I was on the -git from AUR.  Getting back to the official package restored my capability to restart Enlightenment.  Now I have to figure out the blank windows thing because it happens to more than the originally stated software.  Elightenment's windows itself are getting weird sizes and positions.
    Thanks,
    Tach.
    Last edited by Tach (2014-12-09 10:35:39)

  • Mouseclicking a character places caret differently in Java6

    Clicking a character in a JTextField or JTextArea can result in a different caret position in Java6 than in Java5.
    With the letters 'dog' in the field, click the mouse on the arc at the left edge of the d. Now try clicking it at the right edge near the vertical line.
    With Java5, MS Word, Notepad, its as if there is a divider in the center of the character. Clicking to the left of a character's center positions the cursor before the character, in this case a 'd'. Clicking to the right of the center positions the cursor after the character, in this case between the 'd' and the 'o'.
    With Java6, the cursor is always positioned to the left of the character. To position the caret between the 'd' and the 'o' you must click on the 'o'.
    We're getting some user complaints. I submitted this as a potential bug - wondering if anyone else noticed or if there is a property setting to revert to the old behavior?
    Jeff

    Here's an SSCE that exhibits the problem. Both 1.5 and 1.6.7 behave similarly - clicking on the right vertical of a 'u' in 'dug' positions the cursor to the right of the 'u'. Switching to 1.6.16, the cursor goes to the left of the 'u'.
    // Geary Example 22-5
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class Test extends JFrame {
         private JTextField field = new JTextField(10);
         private JButton b = new JButton("Default Button");
         private JCheckBox cb = new JCheckBox(
                                            "Text field fires action event");
         public Test() {
              Container contentPane = getContentPane();
              SwingUtilities.getRootPane(this).setDefaultButton(b);
              cb.setSelected(true);
              contentPane.setLayout(new FlowLayout(
                                                      FlowLayout.CENTER,10,20));
              contentPane.add(field);
              contentPane.add(b);
              contentPane.add(cb);
              b.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        JOptionPane.showMessageDialog(Test.this,
                             "Button fired action event");
              field.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        JOptionPane.showMessageDialog(Test.this,
                             "Textfield fired action event");
              cb.addActionListener(new ActionListener() {
                   private Keymap km;
                   private KeyStroke ks;
                   private Action action;
                   public void actionPerformed(ActionEvent e) {
                        if(cb.isSelected()) {
                             km.addActionForKeyStroke(ks, action);
                        else {
                             if(ks == null) {
                                  km = field.getKeymap();
                                  ks = KeyStroke.getKeyStroke(
                                                      KeyEvent.VK_ENTER, 0);
                                  action = km.getAction(ks);
                             km.removeKeyStrokeBinding(ks);
         public static void main(String args[]) {
              GJApp.launch(new Test(),
                   "Default Buttons",300,300,350,200);
    class GJApp extends WindowAdapter {
         static private JPanel statusArea = new JPanel();
         static private JLabel status = new JLabel(" ");
         static private ResourceBundle resources;
         public static void launch(final JFrame f, String title,
                                         final int x, final int y,
                                         final int w, int h) {
              launch(f,title,x,y,w,h,null);     
         public static void launch(final JFrame f, String title,
                                         final int x, final int y,
                                         final int w, int h,
                                         String propertiesFilename) {
              f.setTitle(title);
              f.setBounds(x,y,w,h);
              f.setVisible(true);
              statusArea.setBorder(BorderFactory.createEtchedBorder());
              statusArea.setLayout(new FlowLayout(FlowLayout.LEFT,0,0));
              statusArea.add(status);
              status.setHorizontalAlignment(JLabel.LEFT);
              f.setDefaultCloseOperation(
                                       WindowConstants.DISPOSE_ON_CLOSE);
              if(propertiesFilename != null) {
                   resources = ResourceBundle.getBundle(
                                  propertiesFilename, Locale.getDefault());
              f.addWindowListener(new WindowAdapter() {
                   public void windowClosed(WindowEvent e) {
                        System.exit(0);
         static public JPanel getStatusArea() {
              return statusArea;
         static public void showStatus(String s) {
              status.setText(s);
         static Object getResource(String key) {
              if(resources != null) {
                   return resources.getString(key);
              return null;
    }

  • How can I disable an annoying character popup?

    I keep getting popups like this (http://i785.photobucket.com/albums/yy131/redknight680/ScreenShot2013-11-24at7325 9PM_zps5ef04998.png) whenever I play Flash games.  It's rather irritating, as it blocks part of the screen, and I have no idea how to disable it.  I've looked around in System Preferences, but I didn't see anything that looks like it.  I'm sure it's not just that game, or even that site, since it's been happening ever since I upgraded to Mavericks.  Anyone know any way to disable it?
    I haven't changed my browser since I upgraded, so I'm sure that it isn't Chrome that's causing this.

    Those are special characters from holding down a key for a couple seconds. Go here to disable it.
    http://www.macobserver.com/tmo/article/os_x_lion_using_and_disabling_the_charact er_picker/

  • Can we get a character limit for the subject line?

    Some of the more annoying posts place the entire story in the subject line.
    (e.g. http://forums.ni.com/ni/board/message?board.id=170​&thread.id=334536&jump=true)
    The problem is that the edit window when replying blows the margins, making it wider than the screen.
    I would think that e.g. a 132 character limit would be sufficient for titles. If anything posted from the newsgroup exceeds that, it could be truncated.
    LabVIEW Champion . Do more with less code and in less time .

    I agree with Christian,
    It seems that some people want to describe the entire issue in the title instead of providing a synopsis..

  • How to use the scanner class to ask for a character?

    Hey guys, this is my assignment:
    Ask the user for a single letter and a sentence, and print out the
    number of times that letter shows up in the sentence.
    Please tell me how to scan for a character. I tried this:
    import java.util.Scanner;
    public class Frequencies
        public static final void main(String[] args)
            Scanner scanner = new Scanner(System.in);
            Scanner scan = new Scanner(System.in);
            System.out.println("Enter a sentence");
            String x = scanner.next();
            System.out.println("Enter a letter to look for");
            String y = scan.next();
            char z = y.charAt(0);
            int chara = 0;
            for(int i = 0; i<x.length(); i++){
                    if(z==y.charAt(i)){
                            chara = chara++;
            System.out.println("There are " + chara + " " + z + "s in the sentence");
    }and got the error after Running (not compiling):
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 1
            at java.lang.String.charAt(String.java:687)
            at Frequencies.main(Frequencies.java:16)I thought this meant that I was asking for the character in postition 1 of string y, but in my code I wrote position 0
    when I tried inserting words in the character place (just to see what happened, not expecting functionallity, I got
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: [NUMBER OF CHARACTERS]
            at java.lang.String.charAt(String.java:687)
            at Frequencies.main(Frequencies.java:16)Please help.
    The assignment isn't due nor graded, this is just killing me lol.
    Thanks in advance
    Edited by: Sevan on Oct 18, 2008 4:40 PM

    jverd wrote:
    Skydev2u wrote:
    I've used this method for a while now and it gets the job done.
    import java.util.Scanner;
    public class ReadInput {
    public static void main(String[] args) {
    Scanner UserInput = new Scanner(System.in);
    char letter = UserInput.findWithinHorizon(".", 0).charAt(0);
    I know you're trying to help, but this isn't really doing it. It does nothing to address the source of the OP's problem. The way he's doing it now is almost right. He just needs to do a tiny bit of detective work to fix a small bug. Tossing off a totally different approach, with no explanation, is not particularly helpful.Your right jverd I skimmed the OP's problem too quick;y and in tern didn't understand it fully. After reading the post thoroughly I saw that the problem can be solved by taking the sentence the user enters and then converting it into a array of characters. Then searching for the specific letter the user enters is achieved by comparing it to each individual element of the char array. Then incrementing a counter variable each time a match is made. I hope this example code solve your problem.
    * @author skydev
    import java.util.Scanner;
    public class SentenceReader {
        public static void main(String[] args) {
            int counter = 0; //Amount of time the letter appears in the sentence
            char letter;    //Letter the user search for
            char[] sentenceArray; //char array to hold the elements of the string the user inputs
            String sentence; //sentence the user inputs
            Scanner UserInput = new Scanner(System.in);
            System.out.println("Please enter a sentence! ");
            sentence = UserInput.nextLine();
            sentenceArray = sentence.toCharArray(); //splits up the users sentence into a array of char
            System.out.println("Please enter a letter to search for ");
            letter = UserInput.findWithinHorizon(".", 0).charAt(0);
             for(int i = 0; i < sentence.length(); i++){
                    if(letter == sentenceArray){ //search to see if the letter of interest equals to each char (letter) of the array
    counter++; //increments the amount of time the letter appears, set to 0 by default
    System.out.println("The letter appeared " + counter + " times in the sentence"); //Displays the result :) I love programming

  • Account annoyingly redirecting me to chinese skype...

    Hello. I've had my skype account for some years now. I have always recharged it in the US and I created my account in the US. I've been trying unsuccessfully for some time now to add credit to my account but it redirects me no matter what I do to skype.tom. It is getting annoying, this place only offers calling plans, I want it as I always have used it, pay on the go!, what to do? Please help me remodify this so that I can purchase from the USA website. I even tried connecting trough a VPN US server while in China and it STILL redirects me to the chinese skype. I know that it has nothing to do with the connectivity because I have had to add credit to my sister's account and I can do it through the skype website with no problem. It is just my user name that is stubbornly redirected to china skype.
    Please fix this!
    thank you
    Luis Barrera

    Moved.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Account annoyingly redirecting me to chinese skype when i try to buy credit

    Hello. I've had my skype account for some years now. I have always recharged it in the US and I created my account in the US. I've been trying unsuccessfully for some time now to add credit to my account but it redirects me no matter what I do to skype.tom. It is getting annoying, this place only offers calling plans, I want it as I always have used it, pay on the go!, what to do? Please help me remodify this so that I can purchase from the USA website. I even tried connecting trough a VPN US server while in China and it STILL redirects me to the chinese skype. I know that it has nothing to do with the connectivity because I have had to add credit to my sister's account and I can do it through the skype website with no problem. It is just my user name that is stubbornly redirected to china skype.
    Please fix this!
    thank you
    Luis Barrera

    Hi,Im interested in replies and advice that you will hopefully get, as i could havewrote your post myself!!! Im having exactly the same problems for the last few months, cant find any useful email addresses, they all bounce back or an error message comes straight back when i hit send! REally startign to annoy me now as our landline bill is huge!!!!!!!!!!!!!!!!!I hope you (and i) get this resolved soon.Sandra

  • Code Search HELP

    Here is my situation. I have a table that has a list of codes almost 100K. I have another table that has code listed in term of an in house regular expression.
    Example:
    40a.[1,2,3]
    12b
    Where
    a is 0 - 9
    b is 1 - 9
    I have tried using REGEXP_LIKE but I get ORA-04030: out of process memory error.
    My question is there a way to do this search such that it will be fast and efficient.
    I have through about expanding the Expressed code, but that could lead to a lot of codes, and it specially gets tricky if the code is in the format of "1a2b". In this case I would need to somehow create 90 (10*9) rows. I am not entriely sure how to do this dynamically, because there could be a lot of variations.
    The current approcach I am thinking of is to search based on character placement. Such that each character becomes a column and I do the comparisson as
    Base_Char_1 = Code_Exp_1
    Base_Char_2 = Code_Exp_2
    I have not figured out how this would work. Shown below is the REGEXP_LIKE approach. Any help or advice would be great.
    WITH t1 AS
         (SELECT '40a.[0,1,9]1' AS code_exp
            FROM DUAL
         ), t2 AS
           (SELECT code_exp
                 , '^' || REPLACE (REPLACE (REPLACE (REPLACE (code_exp, 'a', '[0-9]'), '.', '\.'), 'b', '[1-9]'), ',') || '$' AS code_regexp
              FROM t1)
    SELECT *
      FROM t2
    WHERE REGEXP_LIKE ('402.11', code_regexp)Thanks.

    Well, it is probably a design issue - joining 100 000 codes with 10 000 regular expressions based on regexp_like() will effectively mean 1e9 calculated regular expressions, which means a lot of work i suppose.
    Besides that, there is indeed something strange on pga/uga memory consumption when regular expressions are stored in the table. I've set up small test case based on your data
    SQL> CREATE TABLE codes AS
      2  SELECT dbms_random.string('p',10) code
      3  FROM dual
      4  CONNECT BY LEVEL <=100000
      5  UNION ALL
      6  SELECT '402.11' FROM dual
      7  /
    Table created.
    SQL> CREATE TABLE code_expressions AS
      2  WITH t1 AS
      3  (SELECT '40a.[0,1,9]1' AS code_exp
      4          FROM DUAL
      5  ), t2 AS
      6  (SELECT code_exp, '^' ||
      7          REPLACE (REPLACE (REPLACE (REPLACE (code_exp, 'a', '[0-9]'), '.', '\.'), 'b', '[1-9]'), ',')
      8          || '$' AS code_regexp
      9          FROM t1)
    10  SELECT * FROM t2
    11  /
    Table created.
    SQL> exec dbms_stats.gather_table_stats(user,'codes')
    PL/SQL procedure successfully completed.
    SQL> exec dbms_stats.gather_table_stats(user,'code_expressions')
    PL/SQL procedure successfully completed.
    SQL> set lines 100
    SQL> col code for a15
    SQL> col code_exp for a15
    SQL> col code_regexp for a25
    SQL> exec runStats_pkg.rs_start;
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM codes,code_expressions WHERE regexp_like(code,'^40[0-9]\.[019]1$');
    CODE            CODE_EXP        CODE_REGEXP
    402.11          40a.[0,1,9]1    ^40[0-9]\.[019]1$
    SQL> exec runStats_pkg.rs_middle;
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM codes,code_expressions WHERE regexp_like(code,code_regexp);
    CODE            CODE_EXP        CODE_REGEXP
    402.11          40a.[0,1,9]1    ^40[0-9]\.[019]1$
    SQL> exec runStats_pkg.rs_stop;
    Run1 ran in 34 hsecs
    Run2 ran in 276 hsecs
    run 1 ran in 12.32% of the time
    Name                                  Run1        Run2        Diff
    STAT...session cursor cache co           1           0          -1
    .... sniped
    STAT...CPU used when call star          37         276         239
    STAT...CPU used by this sessio          37         276         239
    STAT...DB time                          37         277         240
    STAT...Elapsed Time                     36         283         247
    STAT...session pga memory           65,536           0     -65,536
    STAT...session uga memory           65,560           0     -65,560
    STAT...session pga memory max      262,144  10,551,296  10,289,152
    STAT...session uga memory max      261,964  10,592,024  10,330,060
    Run1 latches total versus runs -- difference and pct
            Run1        Run2        Diff       Pct
           1,009       1,348         339     74.85%
    PL/SQL procedure successfully completed.
    SQL>
    SQL> conn scott/tiger
    Connected.
    SQL> set lines 100
    SQL> col code for a15
    SQL> col code_exp for a15
    SQL> col code_regexp for a25
    SQL>
    SQL> exec runStats_pkg.rs_start;
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM codes,code_expressions WHERE regexp_like(code,'^40[0-9]\.[019]1$');
    CODE            CODE_EXP        CODE_REGEXP
    402.11          40a.[0,1,9]1    ^40[0-9]\.[019]1$
    SQL> exec runStats_pkg.rs_middle;
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM codes,code_expressions
      2  WHERE regexp_like(code,'^' ||
      3  REPLACE (REPLACE (REPLACE (REPLACE (code_exp, 'a', '[0-9]'), '.', '\.'), 'b', '[1-9]'), ',') ||
      4           '$');
    CODE            CODE_EXP        CODE_REGEXP
    402.11          40a.[0,1,9]1    ^40[0-9]\.[019]1$
    SQL> exec runStats_pkg.rs_stop;
    Run1 ran in 37 hsecs
    Run2 ran in 335 hsecs
    run 1 ran in 11.04% of the time
    Name                                  Run1        Run2        Diff
    STAT...recursive cpu usage               3           2          -1
    .... sniped
    STAT...CPU used when call star          40         336         296
    STAT...CPU used by this sessio          40         336         296
    STAT...DB time                          40         336         296
    STAT...Elapsed Time                     39         338         299
    STAT...session pga memory           65,536           0     -65,536
    STAT...session uga memory           65,560           0     -65,560
    STAT...session pga memory max      262,144  10,551,296  10,289,152
    STAT...session uga memory max      261,964  10,592,024  10,330,060
    Run1 latches total versus runs -- difference and pct
            Run1        Run2        Diff       Pct
           1,022       1,348         326     75.82%
    PL/SQL procedure successfully completed.
    SQL> explain plan for
      2  SELECT * FROM codes,code_expressions WHERE regexp_like(code,'^40[0-9]\.[019]1$');
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 1698472622
    | Id  | Operation            | Name             | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT     |                  |  5000 |   205K|    59   (6)| 00:00:01 |
    |   1 |  MERGE JOIN CARTESIAN|                  |  5000 |   205K|    59   (6)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL  | CODE_EXPRESSIONS |     1 |    31 |     3   (0)| 00:00:01 |
    |   3 |   BUFFER SORT        |                  |  5000 | 55000 |    56   (6)| 00:00:01 |
    |*  4 |    TABLE ACCESS FULL | CODES            |  5000 | 55000 |    56   (6)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - filter( REGEXP_LIKE ("CODE",'^40[0-9]\.[019]1$'))
    16 rows selected.
    SQL> explain plan for
      2  SELECT * FROM codes,code_expressions WHERE regexp_like(code,code_regexp);
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3098457583
    | Id  | Operation          | Name             | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |                  |  5000 |   205K|    57   (2)| 00:00:01 |
    |   1 |  NESTED LOOPS      |                  |  5000 |   205K|    57   (2)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| CODE_EXPRESSIONS |     1 |    31 |     3   (0)| 00:00:01 |
    |*  3 |   TABLE ACCESS FULL| CODES            |  5000 | 55000 |    54   (2)| 00:00:01 |
    Predicate Information (identified by operation id):
       3 - filter( REGEXP_LIKE ("CODE","CODE_REGEXP"))
    15 rows selected.
    SQL> explain plan for
      2  SELECT * FROM codes,code_expressions WHERE regexp_like(code,'^' ||
      3  REPLACE (REPLACE (REPLACE (REPLACE (code_exp, 'a', '[0-9]'), '.', '\.'), 'b', '[1-9]'), ',') ||'$');
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3098457583
    | Id  | Operation          | Name             | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |                  |  5000 |   205K|    57   (2)| 00:00:01 |
    |   1 |  NESTED LOOPS      |                  |  5000 |   205K|    57   (2)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| CODE_EXPRESSIONS |     1 |    31 |     3   (0)| 00:00:01 |
    |*  3 |   TABLE ACCESS FULL| CODES            |  5000 | 55000 |    54   (2)| 00:00:01 |
    Predicate Information (identified by operation id):
       3 - filter( REGEXP_LIKE ("CODE",'^'||REPLACE(REPLACE(REPLACE(REPLACE("CODE_E
                  XP",'a','[0-9]'),'.','\.'),'b','[1-9]'),',')||'$'))
    16 rows selected.Best regards
    Maxim

  • Using image resources in a folder or another project's root

    Hello,
    I must confess that I find it annoying to place my pictures and icon resources in the same package to access them in the JavaFX application. I think this enforcement by JavaFX is an unreasonable one.
    Consider that I use the same icon in several places in my application. It is the same resource that I have to put in several different places. Imaging the problems when trying to refactor or upgrading the application.
    Is there a mechanism to access icons/picture resources in a folder at the root of the project or access these resources in a separate project. I would prefer the latter because in this way, I create a single project with all these resources and all other projects would access them from this project. I think this would allow updates, refactoring to be done much more easily.
    If such a mechanism exists, please point me to it.
    Than ks

    Thanks for the correction.
    Those last 3 examples donot use the classpath at all (although perhaps it does look in there).And so it is not; i.e. the last 3 examples did not use the classpath at all - and it did not look there either.
    They will also load those resources from the current directory (or subfolders thereof).And so it is; i.e. when you don't specify a protocol, in the case of a stand alone app it looks up the resources relative to the current working directory. For webstart or applet it may use a codebase and grab the data from an originating server or something like that, but I didn't test that.
    My mistake was thinking that if you didn't place the protocol in the image constructor it would default to looking stuff up relative to classpath of the calling class - which it does not do. If you did want to do such a lookup then the examples could instead be written as =>
    new Image(getClass().getResourceAsStream("icons-390.jpg"));
    new Image(getClass().getResourceAsStream("/icons-390.jpg"));
    new Image(getClass().getResourceAsStream("../icons-390.jpg"));What I usually do is create a static getResource method on my application which returns a url to the resource, that way all of the resource lookup logic is localized in case I ever want to change how I find resources and where I place them.
    static String getResource(String path) {
      return MyApplication.class.getResource(path).toExternalForm();
    }

  • RotateTransition ImageView Error

    hi i have a problem with the Rotation in JavaFX i have install JavaFX 2.0.1. When i try the following Code example i only see the half picture but i dont know why. Without the Rotate i see the complete picture(its a "png" Image). When i Rotate the picture on the Z.AXIS the picture is also complete but on X.AXIS and Y.AXIS i have the Problem with the picture
    ImageView  imagePos = (ImageView) levelItems.getChildren().get(0);
    RotateTransition rotateTransition = new RotateTransition(Duration.seconds(2), imagePos);
    rotateTransition.setAxis(Rotate.Y_AXIS);
    rotateTransition.setFromAngle(0);
    rotateTransition.setToAngle(360);
    rotateTransition.setCycleCount(Timeline.INDEFINITE);
    rotateTransition.play();     

    The standard parallel camera is unkind to animations on the rotations around the y axis.
    For the parallel camera, the user's eye is at z axis point 0, so any -ve z axis values will be clipped. When you rotate your image, half of it immediately goes negative and is clipped. You can somewhat get around this by setting translateZ for the node to a positive value. But, if you set translateZ too large or the node is a big node, when you do the rotation your node will still get clipped because the parallel camera does not support an infinite z clip distance, and in fact the z clip distance is really short (only a couple of hundred units). This latter issue perhaps may be bug, I'm not really sure, it certainly seems really annoying.
    Place a perspective camera on the scene and you will get better results (as long as your Platform supports the ConditionalFeature.SCENE3D). The perspective camera places the viewer at a -ve co-ordinate on the z axis rather than at a zero co-ordinate and the range of z values accepted by it is far greater.
    See this thread for further info: Re: How far is the eye from the z=0 plane,when using the PerspectiveCamera?
    Or compile and play with the following program to get a better feel for it: http://jewelsea.wordpress.com/2011/11/16/rotation-transform-example/
    Edited by: jsmith on Dec 2, 2011 4:23 PM
    Fixed link to relevant thread.

  • Chart Labels.

    Does anyone know how to label charts with custom text?  I'm using the Bar graph and the values are from a formula, so the chart leaves an annoying "@" character in front of the label.
    thx in advance.

    Thanks Zach, but I was talking about the label of the values.
    I believe this post answers it.
    Re: @ Symbol in formula name when using formula for report chart data

  • Non-western languages showing up reversed...

    I'm trying to copy & paste various Indian languages from Word into my InDesign CS3 document, but in InDesign the foreign characters are not showing up properly - a lot of them are getting switched around/reversed, specifically with the Vrinda font.
    Is there a way to fix this - a certain plugin I need to install or something? If so where can I find it?

    InDesign CS3 does not support non-Western script layouts at all -- and that goes for both character direction and for the required enhanced support for special character placement.
    Simply adding plugins won't work. You have to either upgrade to CS3 ME ("Middle East" version), or to CS4 or CS5 (which can display non-western scripts, but in fact that's totally unsupported -- if you want to bet your own money on it, visit "In-Tools World Tools"; they go to great lengths explaining it's not a real replacement for a real ME version, which is a refreshingly honest approach), or to CS4 or CS5 ME versions, of which I know nothing more than that they exist.

  • Mozilla support redirects to japanese site

    Beginning yesterday, I awoke to find that my outlook.com pinned tab, that shows my hotmail inbox, had changed to the outlook sign-in page (which I didn't consider unusual - I simply thought the cookie had expired and it wanted me to sign in again). However there were asian character place-holders on this page (the vertical rectangles with the numbers inside). Eventually, I was able to login, even though I couldn't read the page. When my inbox appeared, all appeared normal; no more asian characters. However, today I went to the mozilla page to research a plug-in and had the same problem. I noticed that I was on the /ja/ support page. I went to mozilla home and clicked on the support link - it directed me to the /ja/ page again. I had to type en-us/ manually to get here. I have cleared cookies, cache, and offline website data - no change. I am doing a virus scan now just to check, but I don't believe this to be the problem (I will update this if the scan is positive). The link using the opera browser worked just fine. I can't use chrome because it crashes this old XP machine. I would prefer not to have to leave Firefox, because I like it so much. Please advise.

    In addendum -
    I need to mention that the problem was still there (just masked) on later attempts to access sites. Resetting Firefox solved the immediate problem. There was quite a lot of spyware and viruses happening - most acquired through the Guest user name that my kids use sometimes. I've had a good talk with them!

  • Blank Spaces not coming in the end

    All,
    We have a report where we need to show some blank spaces in the end of report o/p. Let's say 10 Blank Spaces.
    But in o/p Spaces are being trimmed. If we place some charcater in the end then it shows 10 spaces before the character, but if we remove the chracter then it removes the blank space also.
    We need to send the report o/p to some feeder system where these 10 bkank spaces are mandatory.
    Please suggest how to achieve this.
    Regards
    Sachin

    Hello,
    The way report is hiding the blank spaces from the last its normal report bahavior and as you said if you put some character then it shows. yeah, it will show then. Instead of placing some character place one simple line in the last with white color. So, it will create the spaces in report and user will not feel any difference/change.
    -Ammad

Maybe you are looking for

  • IPhone 5 can not delete emails. Will not move to trash folder or empty trash

    iPhone 5, I can get mai. I can send mail. I can not delete mail. If i click to send the read mail to trash folder... error ca not move mail to trash folder. I can move read mail to the trash folder, but can not empty the folder... HELP

  • Excise Report RG23APart-2

    Hi all, When running RG23A Part-2 report using XL reporter ,in others field of Tax i.e. Hcess Duty Value is not comming on report . Other duties like BED Ecess values are coming.... How to solve this error. Thanks, Neetu

  • Importing song files

    I was able to import Garageband 6.0 song files from my G4 laptop to itunes, but I was wondering if importing to the newest version of Garageband was at all possible?

  • Data Model--Query Background colour

    Hi All In Oracle Applications(11i)----Standard Reports ,Query Background colour is changed to different colours(other than standard blue colour) How Can we Achive This.? Any Suugestions are welcome Tahnks In Advance Sasi

  • IOS 6 doesn't start!

    Hey, I have just updated my iPhone 4S to iOS 6 and the phone doesn't start. I can only see the grey apple. Tried restarting and nothing happens. Any ideas? Thanks!