I think this is a Bug of String class

I think this is a Bug of String class, do you agree with me ?
String s = "1234........"; // when "1234........". length() > 65535, there will be wrong, but
char[] c = new char[88888];...
String s = new String(c);even if c.length >65535�Cevery thing is ok.
so I think is a bug. Somebody give me a answer, thanks

below is the two Constructors Of String
    public String(String original) {
     int size = original.count;
     char[] originalValue = original.value;
     char[] v;
       if (originalValue.length > size) {
         // The array representing the String is bigger than the new
         // String itself.  Perhaps this constructor is being called
         // in order to trim the baggage, so make a copy of the array.
         v = new char[size];
         System.arraycopy(originalValue, original.offset, v, 0, size);
     } else {
         // The array representing the String is the same
         // size as the String, so no point in making a copy.
         v = originalValue;
     this.offset = 0;
     this.count = size;
     this.value = v;
    }=====================
    public String(char value[]) {
     int size = value.length;
     char[] v = new char[size];
     System.arraycopy(value, 0, v, 0, size);
     this.offset = 0;
     this.count = size;
     this.value = v;
    }I don't know where has the problem.

Similar Messages

  • Do you think this is the bug in 1.5?

    I have this applet and the tooltip for second button does not appear after clicking on first button. It only happens in java 1.5. Do you think this is the bug or I am doing something wrong. this is the code
    /*<HTML>
    <HEAD>
    <TITLE> A Simple Program </TITLE>
    </HEAD>
    <BODY>
    Here is the output of my program:
    <APPLET CODE="HelloWorld1" WIDTH=350 HEIGHT=325>
    </APPLET>
    </BODY>
    </HTML>
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.applet.Applet;
    public class HelloWorld1 extends JApplet implements ActionListener {
    CardLayout c = new CardLayout();
    JPanel lslayout = new JPanel();
         JButton n = new JButton("first");
         JButton n1 = new JButton("second");
    public void init() {
    getContentPane().setLayout(c);
         getContentPane().add("message", n);
         getContentPane().add("message1", n1);
         n.addActionListener(this);
         n.setToolTipText("firs tooltip");
         n1.setToolTipText("second tooltip");
    public void actionPerformed(ActionEvent e) {
    c.show(getContentPane(), "message1");
    }

    I have rewriten it with FlowLayout() and it still does not works. Code is below. One thing i noticed.If I minimize my browser window the tooltip appears. Does anyone knows which method the browser calles after minimizing.
    public class HelloWorld2 extends JApplet implements ActionListener {
    JPanel panel = new JPanel();
         JPanel panel2 = new JPanel();
         JPanel panel3 = new JPanel();
         JButton n = new JButton("first");
         JButton n1 = new JButton("second");
    public void init() {
    panel.setLayout(new FlowLayout());
         panel2.setLayout(new FlowLayout());
         panel.add( n);
         panel2.add(n1);
         getContentPane().setLayout(new FlowLayout());
         getContentPane().add( panel);
         n.addActionListener(this);
         n.setToolTipText("firs tooltip");
         n1.setToolTipText("second tooltip");
    public void actionPerformed(ActionEvent e) {
         getContentPane().removeAll();
         setEnabled(false);
         setEnabled(true);
         getContentPane().add( panel2);
         panel2.revalidate();
         panel2.validate();
         validate();
         repaint();
    }

  • I think this is a bug with rendering a string to a graphics2d

    Hiya,
    The following lines of code create the rendering error I am experiencing, to which I have tested on several computers.
    BufferedImage bi=new BufferedImage(100,100,BufferedImage.TYPE_INT_ARGB);
    Graphics2D g2d=bi.createGraphics();
    g2d.setColor(new Color(1f,0f,0f,0.5f));
    g2d.fillRect(0,0,100,100);
    RenderingHints renderingHints=new RenderingHints(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
    RenderingHints rh=new RenderingHints(RenderingHints.KEY_TEXT_ANTIALIASING,RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
    renderingHints.add(rh);
    rh=new RenderingHints(RenderingHints.KEY_ALPHA_INTERPOLATION,RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY);
    renderingHints.add(rh);
    g2d.setRenderingHints(renderingHints);
    g2d.setFont(new Font("Lucida",Font.BOLD,14));
    g2d.setColor(Color.BLACK);
    g2d.drawString("SQOWTGBC",10,30);
    When the destination image has an alpha of 1 the text is rendered with the correct antialiasing. However, in this example where the alpha is 0.5 the text is rendered with unwanted artifacts.
    [http://sphotos-b.ak.fbcdn.net/hphotos-ak-ash4/269344_590137484330481_704825569_n.jpg]
    This image has JPG artifacts but the unwanted rendering artifacts are still visible (ie the brighter edges)
    I am wondering if this is not in fact an error but the intended result. If so, how to I configure the graphics object to render the antialiased text without the artifacts?
    I could not find where to submit a bug on the oracle website for the life of me so maybe if someone would like to explain how this is achieved I will be very grateful.
    Penny
    x
    I have spent several hours trying to find if this has been reported as a bug or if there is a solution posted online but to no avail.
    Edited by: 995038 on Mar 20, 2013 5:32 AM
    Edited by: 995038 on Mar 20, 2013 5:33 AM
    Edited by: 995038 on Mar 20, 2013 5:36 AM

    I have made a work around for the moment.
    This work around uses a BufferedImage to render the antialiased text first which does not create the artefacts and then draw the image of the text to where the text should appear. I dont think this is an acceptable solution because in the case where there could be 1000s of TextLayout objects the increased overhead would be unacceptable.
    private void drawTextLayout(Graphics2D g2d,float x,float _y) {
    Rectangle r=_g2d.getClipBounds();
    bufferG2D.translate(r.x,r.y);
    Composite c=bufferG2D.getComposite();
    bufferG2D.setComposite(clearComposite);
    bufferG2D.fill(r);
    bufferG2D.setComposite(c);
    textLayout.draw(bufferG2D,_x,_y);
    bufferG2D.translate(-r.x,-r.y);
    _g2d.drawImage(buffer,r.x,r.y,null);
    the BufferedImage of bufferG2D would need to be large enough to cater for any size of text to be rendered to which I believe the size should be set to the screen size. This solution requires that there always be a _g2d clip assigned.
    Regards
    Penny

  • I think this is a bug for icloud on PC

    My icloud's photo stream didn't work although I had finished the setting steps on guide.
    And there is one thing that I think strange.
    I logged in icloud, with my apple ID on my PC(windows 7). Enable the photo stream option, and then I logged out.
    At the next time I login, using the same ID on the same PC, strange things happened. The photo stream option was in the status of disable.
    I think icloud might failed on storing the user's setting on windows 7.

    below is the two Constructors Of String
        public String(String original) {
         int size = original.count;
         char[] originalValue = original.value;
         char[] v;
           if (originalValue.length > size) {
             // The array representing the String is bigger than the new
             // String itself.  Perhaps this constructor is being called
             // in order to trim the baggage, so make a copy of the array.
             v = new char[size];
             System.arraycopy(originalValue, original.offset, v, 0, size);
         } else {
             // The array representing the String is the same
             // size as the String, so no point in making a copy.
             v = originalValue;
         this.offset = 0;
         this.count = size;
         this.value = v;
        }=====================
        public String(char value[]) {
         int size = value.length;
         char[] v = new char[size];
         System.arraycopy(value, 0, v, 0, size);
         this.offset = 0;
         this.count = size;
         this.value = v;
        }I don't know where has the problem.

  • I think this is a bug in oracle

    I have put some threads to show those problems i met before, no one has given the right solutions. Then I reinstall the whole system, and those problems occur again when I repeat what I did before.
    What I did is as follows:
    I created 400 event-based jobs, and one periodic job to trigger them by sending message into a queue. When I let the attribute of "parallel_instance" at default (it should be false). Everything goes fine. I can calculate the CPU utilization in the database, and calculate the average execution time of those event-based jobs. Since I wanna the CPU overloaded, which means when those 400 jobs have not finished until the next triggering comes( the running of that periodic job). So I changed the attribute of "parallel_instance" to be TRUE.
    OK, the problems come. After running my experiments for a while, I stopped it. I found the following problems:
    1. Those event-based jobs cannot record its own execution time and its job name. everything is 0 in a table I created to record those values.(I calculate the execution time at the end of the job by deducting the start time from the current time. The job name is passed by metadata.)
    2 I cannot purge those event-based job logs. I have done all what I have imaged to purge those logs of event-based jobs, no one works. Those job logs always stay in those views which record logs. But I can purge those logs of periodic jobs.
    3 If I delete those event-jobs and create them again. Then the scheduler crashes. That means, the periodic jobs I create in the database cannot run any more.
    As for the last two problems, I have put a lot of threads in the forum to ask for help last week. But I failed.
    Anyone can take deeper insight into the database and give me some help? Perhaps I can delete those disgusting job logs manually from a local file in the hard disk? Because I think those job views should be read from a local file somewhere.
    I really appreciate your kind help.

    I have put some threads to show those problems i met
    before, no one has given the right solutions. You mean: nobody gave me the solutions I like.
    Then I
    reinstall the whole system, and those problems occur
    again when I repeat what I did before.Reinstalling Oracle is usually a waste of time and resources.
    >
    What I did is as follows:
    I created 400 event-based jobs, and one periodic job
    to trigger them by sending message into a queue. When
    I let the attribute of "parallel_instance" at default
    (it should be false).Define 'job', define 'trigger', define 'message', define 'a queue'
    Way more details are required!!!
    Everything goes fine. I can
    calculate the CPU utilization in the database, and
    calculate the average execution time of those
    event-based jobs. Since I wanna the CPU overloaded,
    which means when those 400 jobs have not finished
    until the next triggering comes( the running of that
    periodic job). So I changed the attribute of
    "parallel_instance" to be TRUE.Which means you tinkered with Oracle. Parallel_instance should only be TRUE in a RAC installation.
    >
    OK, the problems come. After running my experiments
    for a while, I stopped it. I found the following
    problems:
    1. Those event-based jobs cannot record its own
    execution time and its job name. everything is 0 in a
    table I created to record those values.(I calculate
    the execution time at the end of the job by deducting
    the start time from the current time. The job name is
    passed by metadata.)Sorry, but this is nonsense. AUDIT CONNECT will already record the logoff_time.
    Also you can dump the session statistics to a table.
    2 I cannot purge those event-based job logs.Define 'purge', define 'log'. Where is your log? A text file?
    Sorry, but if you want help you should not required ouija boards, and/or hand or mind reading.
    I have
    done all what I have imaged to purge those logs of
    event-based jobs, no one works. Those job logs always
    stay in those views which record logs. But I can
    purge those logs of periodic jobs.
    3 If I delete those event-jobs and create them again.
    Then the scheduler crashes. That means, the periodic
    jobs I create in the database cannot run any more.
    Define 'scheduler'
    As for the last two problems, I have put a lot of
    threads in the forum to ask for help last week. But I
    failed.
    Anyone can take deeper insight into the database and
    give me some help? Perhaps I can delete those
    disgusting job logs manually from a local file in the
    hard disk? Because I think those job views should be
    read from a local file somewhere.
    I really appreciate your kind help.Really? You insulted this forum by not specifying any details, by asking for free consultancy, and by claiming you didn't get the 'right solutions'.
    If you know the 'right solutions', please: help yourself!!!!!!
    Sybrand Bakker
    Senior Oracle DBA

  • Think this is a bug?

    ver 10.2
    SQL> select cast(22222  as number(3,0)) from dual
    select cast(22222  as number(3,0)) from dual
    Error at line 0
    ORA-01438: value larger than specified precision allowed for this column
    SQL> select cast('XXXXX' as varchar2(1)) from dual
    C
    X
    1 row selected.seems like the casting of a varchar2 should be an error if it is to long instead of acting kind of like a trim
    Thanks
    Ox

    me also same,
    SQL> select *
      2  from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE     10.2.0.3.0     Production
    TNS for Solaris: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    SQL> select cast(22222  as number(3,0)) from dual;
    select cast(22222  as number(3,0)) from dual
    ORA-01438: value larger than specified precision allowed for this column
    SQL> select cast('XXXXX' as varchar2(1)) from dual;
    CAST('XXXXX'ASVARCHAR2(1))
    X
    from here it looks like for varchar2(1) it just tries to extract 1 letter of the string XXXXX
    if you select the following,
    SQL> select cast('XXXXX' as varchar2(2)) from dual;
    CAST('XXXXX'ASVARCHAR2(2))
    XX
    SQL> select cast('XXXXX' as varchar2(3)) from dual;
    CAST('XXXXX'ASVARCHAR2(3))
    XXX
    SQL> select cast('XXXXX' as varchar2(4)) from dual;
    CAST('XXXXX'ASVARCHAR2(4))
    XXXX
    SQL> select cast('XXXXX' as varchar2(6)) from dual;
    CAST('XXXXX'ASVARCHAR2(6))
    XXXXX
    SQL>
    *here cast works like substr and the string length is determined by varchar2(1), or varchar2(2) and so on,*
    *not sure from it looks like cast with numbers and varchar2 are treated differently,*

  • U think this is a bug in Flash Professional 8????

    I have encountered this probem with Flash Professional 8
    (Windows Version). When i filled the stroke with Bitmap Color and
    tried to Rotate it with a constraint by holding a Shift Key it got
    distorted. This is not hapening everytime we do it, but does happen
    sometimes. Pros out there look into this and lets have a discussion
    of what this problem is???

    I have encountered this probem with Flash Professional 8
    (Windows Version). When i filled the stroke with Bitmap Color and
    tried to Rotate it with a constraint by holding a Shift Key it got
    distorted. This is not hapening everytime we do it, but does happen
    sometimes. Pros out there look into this and lets have a discussion
    of what this problem is???

  • I *think* this is a bug...

    Hello,
    Ah, well, I don't really know what to do... if I should stick to what I've got, restart it all over again, but I have the slight hope that Adobe might be able to help me, at least a little. I don't want to recode this all over again...
    Anyways, I'm coding this game... my first MMOG in fact, I decided to code my own server, using C#. Yesterday, I had got an incredible streak of luck and I managed to finish movement, it was crappy, really laggy, but I was so happy, like any developer would get when they achieve something. I felt I was going to, at least once, do something decent, build a nice game, just for fun.
    However, I lost all of my hope today, when about 1 hour ago, I encounter myself with one of the friendliest flash messages I've seen:
    "Can not save file to "C://[..]" please try at another location or with a different filename"
    All right, I saw it, and I instantly realized that I was going to get in some deep, horrible, problem. But, I had confidence in my beloved Flash CS5 (uh-oh) and I tried saving it one folder up (at the parent folder). error again. I change the filename. Error again. I desperately try to save it as an .xfl, or a CS4 .fla, but this only worsened the situation: My .fla, disappeared.
    OK - I though - Flash is still open, I can try to save it.
    But seems I was with the worse of my luck: Visual Studio's Just-in-time debugger pops up, saying that an "unhandled win32 occurence occured in Flash.exe" and asked me with which debugger I wished to debug the broken program. I was now sure, I had lost a load of work.
    I've tried a recovering lost files programs, to try to see if I regained the lost .fla, but not much hope. I still have the decompiled version, but as you know, it is not as good as the fresh and normal fla...
    Anyone has a suggestion? I just can't believe this happened...
    Thanks in advance,
    Lucas

    Hello,
    Ah, well, I don't really know what to do... if I should stick to what I've got, restart it all over again, but I have the slight hope that Adobe might be able to help me, at least a little. I don't want to recode this all over again...
    Anyways, I'm coding this game... my first MMOG in fact, I decided to code my own server, using C#. Yesterday, I had got an incredible streak of luck and I managed to finish movement, it was crappy, really laggy, but I was so happy, like any developer would get when they achieve something. I felt I was going to, at least once, do something decent, build a nice game, just for fun.
    However, I lost all of my hope today, when about 1 hour ago, I encounter myself with one of the friendliest flash messages I've seen:
    "Can not save file to "C://[..]" please try at another location or with a different filename"
    All right, I saw it, and I instantly realized that I was going to get in some deep, horrible, problem. But, I had confidence in my beloved Flash CS5 (uh-oh) and I tried saving it one folder up (at the parent folder). error again. I change the filename. Error again. I desperately try to save it as an .xfl, or a CS4 .fla, but this only worsened the situation: My .fla, disappeared.
    OK - I though - Flash is still open, I can try to save it.
    But seems I was with the worse of my luck: Visual Studio's Just-in-time debugger pops up, saying that an "unhandled win32 occurence occured in Flash.exe" and asked me with which debugger I wished to debug the broken program. I was now sure, I had lost a load of work.
    I've tried a recovering lost files programs, to try to see if I regained the lost .fla, but not much hope. I still have the decompiled version, but as you know, it is not as good as the fresh and normal fla...
    Anyone has a suggestion? I just can't believe this happened...
    Thanks in advance,
    Lucas

  • I think that this is a bug in text field!

    Hi!
    Steps:
    1.create Frame
    2.create text field (textFieldTest1) and add in frame
    3.create text field (textFieldTest2) and add in frame.
    4. show frame
    5.enter some text in textFieldTest1 and stay here.
    6.Minimize frame.
    7.Open again frame
    8.The caret is invisible in textFieldTest1. I double click in textFieldTest1 but caret don't show. I can enter text again in textFieldTest1 but caret is invisible. I press left and right arrows in textFieldTest1 and enter text, but caret is invisible.It's very confuse.
    9.Click mouse in textFieldTest2
    10.Click mouse in textFieldTest1 and caret is now visible.
    I think that this is a bug in swing.
    What are think about this?
    Thank you.

    I meant for you to include code that I could cut and paste and execute to see if I had the same problem on my machine. I had to play with the code you gave to get it to compile. Make it easy for me to test. Anyway I did get it to compile and again it did work for me. here is the code I ended up testing:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class Main extends JFrame
         public Main()
    super("Time");
    setBounds(300, 200, 400, 200);
    Container cont = this.getContentPane();
    cont.setLayout(new GridBagLayout());
    setDefaultCloseOperation(this.EXIT_ON_CLOSE);
    JTextField textField1 = new JTextField(10);
    cont.add(textField1);
    cont.add(new JLabel("label1"));
    JTextField textField2 = new JTextField(10);
    cont.add(textField2);
    cont.add(new JLabel("label2"));
    setVisible(true);
         public static void main(String[] args)
              JFrame frame = new Main();

  • Is this a JOGL bug with GLJPanel, a driver problem, or what?

    I've been trying to eliminate a problem I've been experiencing with my WorldWind Java (WWJ) application and I think I've finally taken a step torward finding the root cause, but I'm not sure whose problem it is yet or who to report it to, so I thought I'd start here and work my way up; if it can't get solved here, maybe it's a driver issue.
    The issue goes something like this:
    (Note: this only occurs when the -Dsun.java2d.opengl=true flag is set.)
    I have a GLJPanel on my primary display that works beautifully. I drag that panel onto my secondary display (slowly) and it disappears. Poof. If I position the panel halfway between screens, I can get about half of the panel to render on the secondary display, but any further than that and it disappears. I tried this on a Frame and with a GLCanvas as well and got different results: in a Frame, if I dragged the Panel over and then dragged it back into the primary display, it would disappear on the secondary display, but reappear on the primary display once it was dragged back. With the GLCanvas, I didn't have any issues.
    It's fairly simple to recreate this on my computer by using a WorldWind example that extends ApplicationTemplate and just adjusting ApplicationTemplate to use WWGLJPanels.
    However, I went so far as to reproduce the problem with a plain old GLJPanel:
    import com.sun.opengl.util.Animator;
    import java.awt.GridLayout;
    import javax.media.opengl.GL;
    import javax.media.opengl.GLAutoDrawable;
    import javax.media.opengl.GLJPanel;
    import javax.media.opengl.GLCapabilities;
    import javax.media.opengl.GLEventListener;
    import javax.swing.JFrame;
    public class TrianglePanel extends JFrame implements GLEventListener {
        public TrianglePanel() {
            super("Triangle");
            setLayout(new GridLayout());
            setSize(300, 300);
            setLocation(10, 10);
            setVisible(true);
            initTriangle();
        public static void main(String[] args) {
            TrianglePanel tPanel = new TrianglePanel();
            tPanel.setVisible(true);
            tPanel.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        private void initTriangle(){
            GLCapabilities caps = new GLCapabilities();
            caps.setDoubleBuffered(true);
            caps.setHardwareAccelerated(true);
            GLJPanel panel = new GLJPanel(caps);
            panel.addGLEventListener(this);
            add(panel);
            Animator anim = new Animator(panel);
            anim.start();
        public void init(GLAutoDrawable drawable) {
            GL gl = drawable.getGL();
            gl.glClearColor(0, 0, 0, 0);
            gl.glMatrixMode(GL.GL_PROJECTION);
            gl.glLoadIdentity();
            gl.glOrtho(0, 1, 0, 1, -1, 1);
        public void display(GLAutoDrawable drawable) {
            GL gl = drawable.getGL();
            gl.glClear(GL.GL_COLOR_BUFFER_BIT);
            gl.glBegin(GL.GL_TRIANGLES);
            gl.glColor3f(1, 0, 0);
            gl.glVertex3f(0.0f, 0.0f, 0);
            gl.glColor3f(0, 1, 0);
            gl.glVertex3f(1.0f, 0.0f, 0);
            gl.glColor3f(0, 0, 1);
            gl.glVertex3f(0.0f, 1.0f, 0);
            gl.glEnd();
            gl.glFlush();
        public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {}
        public void displayChanged(GLAutoDrawable drawable, boolean modeChanged, boolean deviceChanged) {}
    }If it helps, the video card I'm using is a Quadro NVS 140M.

    steffi wrote:
    This is a bug that I'm seeing in Apple's new MobileMe service and I believe they are making use of the System Messaging Server product. (Sun Java(tm) System Messaging Server 6.3-6.03)I can't comment on what Apple may or may not be using ;)
    Specifically I have an email that's MIME HTML and what I observe is that lines >999 chars are being truncated so in my case the nested table doesn't render correctly because a whole chunk of the HTML itself on this line has been truncated.The email client generating the message is broken and Messaging Server is 'fixing' the email by truncating the line to the maximum line-length as per the standards.
    Refer to "2.1.1. Line Length Limits" in http://www.faqs.org/rfcs/rfc2822.html
    Regards,
    Shane.

  • Calendar adds an extra day when creating an event in ios 8.1.3. Is this a known bug?

    When i add an event using the calendar app in ios 8.1.3, it adds an extra day to the event when using a range of dates. I am able to recreate the problem. when entering the event i select a range of dates and confirm that it is what i want. after submitting, i verify and it has added an extra day at the end. Is this a known bug or am i on my own? Help please. this is annoying having to check each event after entering it.

    Ive reset, restored and this is the second phone. Thought it maybe a wonky screen that would shift it while setting dates. THe only thing I can think of is that I am syncing with google calendar, but it only happens when setting events in ios not if i do it from google website on desktop PC.

  • In logic Pro, when I open up an audio track and load an audio file, there is no sound. I will finally get a sound out of one of the audio tracks after opening at least 5 of them alternately. Is anyone familiar with this kind of bug? It's really frustratin

    In logic Pro, when I open up an audio track or software track and load an audio file/loop or software file loop, there is no sound. I will finally get a sound out of one of the audio or software tracks after opening at least 5 of them alternately. Is anyone familiar with this kind of bug? It's really frustrating as this takes much time to complete work.
    os x, Mac OS X (10.6)

    I'm not sure I follow your words Fuzzynormal. You've helped by offering the insight that my issue in Logic Pro 9 is not a bug but a feature. But fell short of enlightenment by being a judge of character and of how one should interact in this forum. You insinuate that I haven't tried to solve the issue on my own when in fact I have. These forums are always my last resort. You further suggest that I am complaining. This is not a complaint. It is a genuine issue that I cannot figure out. Then you think that Brazeca is holding my hand and being a nice guy. Brazeca is helping people like me who might not be as adept at using Logic Pro as probably you are.This community forum was established to raise questions, answers and dicussion to help Apple's customers better undertand their operating systems and related issues. You are doing a disservice by not contributing positively and by trying to make this forum what you want it to be. You may have all the time in the world to try figuring out stuff but we are not all like you. We all have different schedules and different levels of understanding. And that is what this forum is for - to help people move forward. If you can't contribute positively then keep silent. And by the way, you say to "read the words that are printed down to explain to you how that works" what words are you talking about? Why don't you be of some help instead of trying to own this forum. 

  • Hope this is a bug in JDeveloper....... help needed....

    There's no reply for the following msg... i need help.... is this a bug in JDeveloper?
    Jdeveloper team(Visual Java editor) - anybody watching this?
    i have been waiting for the reply for the past 4 days, so
    Is anyone having suggestion, whether it will work or not? is there any additional feature for this? Every project is multilingual, not only my project, every project is supporting internationalization, so at design time it should support for resource bundle usage. am using Jdev 9.0.5 version, client side we are using swing, so i need a solution for this, does jdev supports this? if so whats d way? if it is not supporting y cant it be considered as a bug? it should be user friendly, so y this can be added as a new feature in the forthcoming version,
    waiting for ur suggestions, whatever it is juz explain,
    Thanking in advance...

    Hi,
    not sure why you hope that this is a bug?
    Swing does support internationalization and JDeveloper supoorts this. However, as usual in Swing, you have to develop it as tehre is no automated way for doing this.
    There is some help provided by ADF in that e..g. BC4J supports message bundles for translating Strings.
    See: http://java.sun.com/docs/books/tutorial/i18n/index.html
    Also, straight from the JDeveloper product page on OTN, though not directly Swing related
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/jdev10g_multilingual.pdf
    Frank

  • I need a confirmation whether this is a bug in JDeveloper or not?

    Hai Friends,
    The following is the situation.Am having a problem in using resource bundle. If am adding a Component(Say JButton) in jdeveloper using uieditor, if am specifying the text for JButton using resource bundle, the jbutton is visible in uieditor but the text on jbutton is not visible. its saying 'cannot create live instance for resource bundle', this is applicable to any component. Can anyone help me in this?Have anyone tried this,pls post ur ideas regarding this. this will b more useful for me and also for u all.... I hope this is a bug in Jdeveloper. if not? tell me then, whatz the solution?
    Thanks in advance...
    Ciya.

    Hai Frank,
    Thanks its rendering it in the runtime. The string is taken from the '.properties' file using Resource Bundle for ur reply, ofcourse... thats y its unable to create live instance to render it in design time.. am using Jdeveloper 9.0.5, The following is the code am using...
    Example:
    ResourceBundle jACResources = ResourceBundle.getBundle("Resources", Locale.English);
    public JButton Link_id = new JButton(jACResources.getString("link_id"));
    the string is taken from 'Resources.properties' file
    so, now it shows in runtime and but unable to render it in design time... can u provide a solution for this,
    Thanks Frank,
    Ciya.

  • Is this a PowerPivot Bug, or am I doing something wrong?

    I am working on a PowerPivot data model. I am having problems with 2 slicers that are not behaving as I would expect. I have double checked everything and I think I have done it right. So why don't they correctly show when there is no visible data based
    on the selection?
    I have created this video to show the problem.  I would appreciate any help, or advice if this is a bug.
    http://exceleratorcbs.com.au/files/slicers%20not%20working_edit.wmv

    Gerhard, thanks for your response.  In replying to you post below, I discovered some more information and "sort of" got it to work, but I still don't understand the issue.
    If you look at my video at 2:11 mark, you will see the following structure
    Sales_Data => Branch_State => State
    The sales data is at the branch level.   Each Branch is only in one state.  The state table exits because it is connected down one path to Sales_Data but via another path to Weekly_Promotions.  The weekly promotions
    are only stored at the State level, not the branch level, so I need this structure.
    So if I use the State field from the Branch_State table for my slicer, it works - that is why I just discovered when I was replying here.  But I don't know why the higher level State only slicer doesn't work. 

Maybe you are looking for

  • Excel output of report on client machine

    excel output report on client machine hello i am running report from app server, output is excel file... using following URL web.show_document(rpt_url ||'&report='||rpt_path||'batch_idcards_print_excel.rdf&desformat=spreadsheet&destype=file&desname=c

  • Download error from itunes match

    All my music was uploaded or matched successfully. Today when I try to download to my ipad or iphone I get a download error. A notification pops up saying unable to download. you do not have permission to access file. Yesterday this worked fin on my

  • SOA Suit 11g Installation problem Admin server is not starting

    Hi, I am trying to install SOA Suit 11g but every time I am getting below error and unable to resolve it.I was hacing apache which I have deleted still I am getting below jasper error.Thanks a lot in advance. SOA Suit - 11G Database - Oracle XE 10G W

  • Formatting External Hard Drives

    Just got an additional iOmega 1TB Hard Drive for my computer as a second back-up. I am trying to format the drive for use on Mac's only (MAC OS Extended) at the moment. But it has been going for over 2 hours in disk utility and the progress bar is st

  • Filtering on IPTC Core

    Hi guys, Is it possible to customise the filter eg. to use any of the IPTC Core fields? or is it possible to search for specific fields in IPTC Core? Can the filter categories (filter pane -> icon top right) be modified? I don't use the ones listed.