Styleddocument + filling problem

hello everybody
i've been trying to recreate the matrix code effect, like how the green characters move downwards on the screen
some details about my code:
- JFrame based form
- using a JTextPane for displaying
- StyledDocument
but i'm kinda stuck at the moment when i want to make sure the effect can be shown:
i would have to fill the whole JTextPane (from side to side and from top to bottom) with invisible characters (currently i'm using the char "e")
but the problem is => i do not know how much characters can be placed next to each other so that the whole line is filled and that it does not continue on the next line
example:
|eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee\n|     <= good!   (nevermind the linebreak, it's just to show that the line ends exactly after the last "e")
|eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee|        <= bad!     as you can see the line does not end here due to too much characters on a line
|eeeeeeeeeeee\n                 |
---------------------------------can anybody help me with this?
thanks in advance!!
- NeoSniperkiller

Well, I don't know what the "matrix effect" is or whether a JTextPane is the best component for doing this. But assuming it is then you would need to use the FontMetrics of the component. You would also want to use a Monospaced font so that each character uses the same amount of space.

Similar Messages

  • Pen tool Drawing & Bucket Filling Problem

    Hello, i am a newbie and novoice/new learner to flash CS4
    I come across a problem when i follow the book "classroom in a book series" the Flash CS4 one (Red cover book) Chapter 2
    Q.1
    I try to draw straight lines or curves but i found i still cannot manage how to use PEN TOOL
    How can i draw straight line? Also how can i draw absolute vertical or horizontal line with some special combination key like CTRL or SHIFT
    i tried guessing SHIFT or CTRL while using PEN TOOL but no help
    How can i draw curve?
    i know it depends somehow on whether i hold my click for a new anchor point???
    Any tutorial which is clear and easy for new comer for fully understanding for PEN TOOL.(Currently i try reading pdf reference from ADOBE Web site and google search but did not make myself understand.)
    Q.2
    I cannot use bucket filling a shape draw by PEN TOOL(i already search google sites but cannot find one with satisfied causes for this FILLING Problems)
    like the image shown below(Please click to enlarge this PRINTSCREEN)
    Tools i used are PEN TOOL drawing a shape first then a BUCKET for filling color.
    Many thanks to any of your help!!!!!

    Reply to 2nd floor post
    Thank You for your answer and your appreciation.
    but.....i am so sorry to have a further question NOW!
    i follow your link and learn some technique which is supposed to work well:
    http://www.recipester.org/Recipe:Fill_a_flash_shape_with_gap_33956508
    However,i go there and did a experiment MYSELF.
    first i draw an oval with black color stroke and no color for its fill.
    then i use an eraser tool to make that little gap!
    Q.3 (A NEW QUESTION)
    however i cannot fill the oval with even very SMALL GAP like this jpeg shown below:(PLEASE click below to ENLARGE it)
    I then find i cannot use bucket fill AGAIN...
    For the first question, i try to use the pen tool for 6 hours practicing....and reading the official manual i find there are multiple modes of pen tool
    so COMPLEX!! which is not mentioned in my red cover book from Adobe Press.(the book i mentioned in 1st post maybe have some more explaination later?)
    I generally can click or drag to make some straight or curve now like 3rd floor reply.(Subselection tool is helpful when adjusting the curve or line)
    AGAIN Thank You so much!!!!!

  • Can you help me to solve this matrix filling problem?

    Hi,
    I need to fill a matrix column. this is the description briefly.
    1.This is my binding
    oForm.DataSources.UserDataSources.Add("usr_col5", SAPbouiCOM.BoDataType.dt_DATE, 50);
    oColumn = oColumns.Add("Col5", SAPbouiCOM.BoFormItemTypes.it_EDIT);
                    oColumn.Description = "Konteringsdato";
                    oColumn.TitleObject.Caption = "Konteringsdato";
                    oColumn.DataBind.SetBound(true, "", "usr_col5");
                    oColumn.Width = 89;
                    oColumn.Editable = false;
    2.I am going to fill this column using record set's field. all of the other column's fillings are ok.but problem is here
    oForm.DataSources.UserDataSources.Item("usr_col5").Value = oRs.Fields.Item("DocDate").Value.ToString();
    I think there should be a casting instead of of using ToString(). But i couldn't able to do it. So please help me.

    Hi,
    you can try once to set
    ((SAPbouiCOM.EditText)((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxItemUID").Specific)).Columns.Item("Col5").Cells.Item(cellnumber).Specific).String = oRs.Fields.Item("DocDate").Value.ToString();
    or
    ((SAPbouiCOM.EditText)((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxItemUID").Specific)).Columns.Item("Col5").Cells.Item(cellnumber).Specific).Value = oRs.Fields.Item("DocDate").Value.ToString();
    regards
    David

  • Joining two paths: fill problems

    Hello,
    I am having the following problem: I have a path entailing a simple closed curve
    but when I try to fill the color won't extend to the whole area. To reproduce the
    problem:
    1. With the Ellipse Tool draw a circle.
    2. In the Paths panel click Add Points twice to add points to the circle.
    3. In the Paths panel click Knife On Points to yield individual segments.
    4. Here we create two paths by leaving out two nonadjacent segments.
      4a. Shift click four segments and then in the Path Panel click Join Paths to piece them together.
      4b. Shift click four other segments and then in the Path Panel tool click Join Paths to piece them together.
      4c. Delete the nonadjacent segments from the paths list under the given layer.
    5. Ctrl-Shift click two of the endpoints in one of the two segments and click Join Points in the Paths panel.
    6.Try to fill the area. The fill color won't extend.
    What am I doing wrong? Or is this a bug? How do I work around this problem?
    Thanks,
    John Goche
    Fireworks CS4 on Windows 7.

    Hi John,
    Thank you for your replies, I found them helpful, although I still think
    the options 1 and 2 come down to a bit of buggy code which hopefully
    will be fixed in the following releases unless someone can explain why
    it behaves that way, perhaps I am missing something about paths and fills.
    I wouldn't say there's anything buggy going on, but the way you are building a vector object is definitely not typical and reveals some awkward/confusing behavior. The important thing to understand is that:
    1. A fill is rendered from a contour, which is a series of connected points
    2. A standard "Path" has a single contour, for example an ellipse
    3. A "Compound Path" has multiple contours, and it renders each contour like a filled path, and adds/subtracts from the final result based on overlapping areas per a vector "fill rule" (which can be toggled in the Path panel) -- this is just like Illustrator and other vector environments
    4. Join Paths' behavior when points are not selected is to create a compound path from multiple existing paths -- ie if you have two paths, both with 1 contour, then you end up with a compound path with 2 contours -- NOT a path with a single merged/stitched together contour. (Conversely, Split Paths will separate each contour of a compound path into its own path.)
    5. Like Anita said, Union Paths will actually merge paths, though it's not so much looking at points and merging points as it's looking at fills and merging overlapping areas, creating/deleting points as needed
    So basically, you have to remember that if you want a continuous fill from multiple paths you are about to join, you have to make sure the points are actually connected in your final result. It's not enough to simply have 2 points that are close or even directly on each other then perform "Join Paths". Fortunately there are lots of ways to merge points to create a continous contour:
    1. Select 2 endpoints with the Subselect tool and this will tell Join Paths to merge them if they are on top of each other, or connect them -- in both cases you end up with a continous contour which will be filled
    2. Select an endpoint and drag it over another endpoint and release -- FW will snap them together and merge them
    3. Select 2 endpoints or multiple adjacent points and use Weld Points in the Path panel
    Applying all that to the situation of creating a symmetrical vector (which I do a fair amount myself), you could:
    1. Draw your first half
    2. Duplicate or clone and mirror
    3. Position the mirrored clone where you want it
    4. Select the endpoints you want connected and use Weld Points or Join Points
    You'll end up with a fully filled shape.
    That turned out pretty long-winded but hopefully it clears some things up!
    Cheers.
    Aaron Beall
    http://fireworks.abeall.com

  • Safari auto-fill problem

    Hi all.. Since the second last firmware update of my Touch 2nd gen, Safari normally auto-fills website's login forms (thus settings should be okay) except for.. wlan login forms! Therefore, every time I have to manually write down username and password in order to gain network access.. I don't know whether it is a known issue or even a strange "wanted" feature..in any case, there's a way to overcome this annoying problem? Thank you in advance.
    Message was edited by: warriozzo

    I have asked a similar question several times before, and I have the answers varied from the typical I do not have that problem to its a security feature incorporated in Safari.
    I tend to think it is a new feature added ito safari n the last several months (via an update).
    The bottom line is I am NO longer able to stay logged into various websites if I quit safari, even though the websites have the feature available that should allow a user to stay logged in for 2 weeks.
    The only way I can now stay logged in for an extended period of time is to NEVER quit Safari.
    That is not an option for me.
    rjj

  • Safari Auto-login/ Auto-fill problem

    Hi!
    I recently updated my safari after which I have been unable to auto login to my yahoo,gmail etc accounts. I have checked my safari preferences and all 3 auto-fill webform tabs are clicked. Also, when I go into yahoo, it does not prompt me to ask if i want to save my password. For my other accounts e.g gmail, they prompt me and my password + user-ids are still saved, just that i have to press the sign in button.
    Also, it stays signed it as long as i am on safari. However, if I were to quit safari and use safari again, it goes back to square one and no longer keeps me signed it.
    What can I do to enable safari to auto-login for all my accounts?
    Thanks!

    I have asked a similar question several times before, and I have the answers varied from the typical I do not have that problem to its a security feature incorporated in Safari.
    I tend to think it is a new feature added ito safari n the last several months (via an update).
    The bottom line is I am NO longer able to stay logged into various websites if I quit safari, even though the websites have the feature available that should allow a user to stay logged in for 2 weeks.
    The only way I can now stay logged in for an extended period of time is to NEVER quit Safari.
    That is not an option for me.
    rjj

  • Numbers any solutions to Fill problem?

    I wish to "Fill Special" as I could in Apple Works (it was in the Calculate menu) rather than just "Fill". I want to fill down or right on a spreadsheet with a given start point of time, day, month, year, quarter or number and a set increment of one of the components of time, date, month, year or number sometimes using only certain days of the week. (AW also allowed format date selection).
    Numbers seems to have no flexibility in this area yet it was a very much used facility by all in the office and saved lots of time entering data. 1. Am I missing something or 2. Is there a script or add on that will replicate "Fill Special"?
    Thanks

    Some of these AppleWorks special fills (most, possibly) are available via the little round fill handle in the lower right of a cell selection. Enter a value in a cell and pull the handle right or down. More sophisticated fill patterns are possible if you enter values in two adjacent seed cells, select them both and pull the handle down (when the seed cells are above/below each other) or right (when the seed cells are left/right of each other). Numbers then infers a pattern from the seed cells. In this way a surprising number of fill variants are possible.
    There is also another technique, when the fill handle is not sufficient, that brings the full power of Numbers' formulas to bear on the problem. This involves creating a pattern generating formula that is filled into a range of cells with the fill handle, copying the results and pasting them back with "Edit"/"Paste Values".
    If you have trouble generating a specific pattern, post the question here.

  • StyledDocument Undo problem

    I use StyledDocument in my program (text editor) and I have following exception:
    javax.swing.text.StateInvariantError: GlyphView: Stale view: javax.swing.text.BadLocationException: Length must be positive
    at javax.swing.text.GlyphView.getText(GlyphView.java:106)
    at javax.swing.text.GlyphPainter1.getSpan(GlyphPainter1.java:43)
    at javax.swing.text.GlyphView.getPreferredSpan(GlyphView.java:498)
    at javax.swing.text.FlowView$LogicalView.getPreferredSpan(FlowView.java:679)
    at javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.java:214)
    at javax.swing.text.BoxView.checkRequests(BoxView.java:913)
    at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:542)
    at javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:881)
    at javax.swing.text.BoxView.checkRequests(BoxView.java:913)
    at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:325)
    at javax.swing.text.BoxView.layout(BoxView.java:682)
    at javax.swing.text.BoxView.setSize(BoxView.java:379)
    at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1599)
    at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:935)
    at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:911)
    at javax.swing.text.JTextComponent.modelToView(JTextComponent.java:1118)
    at Editor.Editor.caretUpdate(Editor.java:1204)
    at Editor.Editor.caretUpdate(Editor.java:686)
    at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:356)
    at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:3165)
    at javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextComponent.java:3187)
    at javax.swing.text.DefaultCaret.fireStateChanged(DefaultCaret.java:638)
    at javax.swing.text.DefaultCaret.changeCaretPosition(DefaultCaret.java:1010)
    at javax.swing.text.DefaultCaret.handleSetDot(DefaultCaret.java:918)
    at javax.swing.text.DefaultCaret.setDot(DefaultCaret.java:899)
    at javax.swing.text.DefaultCaret$UpdateHandler.insertUpdate(DefaultCaret.java:1453)
    at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:184)
    at Editor.OverwritableSyntaxDocument.fireInsertUpdate(OverwritableSyntaxDocument.java:52)
    at javax.swing.text.AbstractDocument$DefaultDocumentEvent.undo(AbstractDocument.java:2797)
    at javax.swing.undo.UndoManager.undoTo(UndoManager.java:210)
    at javax.swing.undo.UndoManager.undo(UndoManager.java:275)
    at Editor.Editor.actionPerformed(Editor.java:333)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    That exception occurs only if I try to undo some editons in first line of StyledDocument
    In other lines it works without any problems.
    I use following implementation:
         public void undoableEditHappened(UndoableEditEvent e)
              UndoableEdit edit=e.getEdit();
              if(compoundEdit==null)
                   compoundEdit=new CompoundEdit();
              if(edit instanceof AbstractDocument.DefaultDocumentEvent &&
                   ((AbstractDocument.DefaultDocumentEvent)edit).getType()== AbstractDocument.DefaultDocumentEvent.EventType.CHANGE)
                   compoundEdit.addEdit(edit);
              else
                   compoundEdit.addEdit(edit);
                   compoundEdit.end();
                   undoManager.addEdit(edit);
                   compoundEdit=null;
                   //update undo/redo buttons
                   buttonsUpdate();
         }I don't have ideas to solve this problem. Help me, please...

    I don't have ideas to solve this problem. Help me, please...Based on the random code you posted, neither do I.
    My my last posting in this thread will work for you:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=637225

  • Paint bucket and Pencil color fill problem

    Hi,
    I'm coloring a comic book and I'm having an annoying bug with CS4.
    Say I want to color these bushes:
    I put the color on another layer set to Multiply. Using the Pencil tool (no anti-aliasing), I close all the gaps.
    Then fill it with the Paint bucket (anti-aliasing off, contiguous, sample all layers) using the same color.
    Now say I later decide to change that color; naturally I'll use the Paint bucket.
    This is what happens:
    As you can see the pencil strokes are still there, as if they were a different color, even if they're not!
    But on closer inspection, it turns out the CMYK values are off by 1%. I have no idea why this happens. The tools are all set at the exact same color and opacity.
    Someone posted a thread 9 months ago about this problem but it wasn't solved: http://forums.adobe.com/thread/781035
    He says it also occurs on CS5.
    I can only assume it's a bug. Help?

    I just tried with the pencil set to Multiply, and it happened. And contradicting what I said earlier, the problem happened with Normal as well.
    Well, here's another update: the real culprit seems to be the paint bucket tool. I experimented with color samplers to precisely measure the CMYK values. This is completely bizarre:
    The paint bucket will occasionnally fill with a color that is off by 1% from the intended color. It seems to happen randomly, but more often with darker colors.
    Check this out:
    Sampler 1 is where I closed the gap with the pencil. Sampler 2 is the paint bucket fill.

  • Compound path and live fill problem

    Hello experts
    I really hope you can help me out with this one. I'm all new to Illustrator and have tried to find the answer to my question but without luck, so you are my last way out
    I'm currently working on a logo of a football which I have drawn with the line segment tool. A football is made of pentagons and hexagons, and I want all the pentagons to have a color fill. For that I have used the live paint bucket. But if I apply an effect such as a gradient it is applied to each segment as many seperates. I then read that you could use compound path and that works with my lines but not with the live fill. Is there a work around for my problem or do you have any smart suggestions of what I could do ?
    Thanks for your help in advance
    Kind regards
    Christopher

    A few questions:
    What AI version?
    By "Live Fill" are you refering to "Live Paint"?
    CS 6 lets you fill a stroke with a gradient. That may be what you used here.
    Congratulations learning about "compound paths" on you own. That's a step in the right direction.
    You can control a gradient fill across multiple objects by using the "Gradient Annotator" (under "View" or "G"). This allows you to set a gradient start and end point by dragging across your selected artwork. You can also edit the gradient sliders directly on the annotator.
    If you ARE using "Live Paint", you can use the "Live Paint Selection Tool" (hidden under the Live Paint Bucket tool, or "Shift-L"), to select multiple Live Paint segments, then drag the annotator across all segments. The annotator is hidden when used with Live Paint (at least in AICS5).
    I hope these tips are helpful.
    Ray

  • Color filling problem in fillarc() method of Graphics class

    I draw a circle in a panel. The circle space is divided to more than one sectors.The sectors are filled to particular color using fillarc(int x, int y, int start_angle, int end_angle) method of java.awt.Graphics class.
    When i fill the color, i faced a problem. That is i have seen the panel background Color in some pixels of thet arc spaces.
    How will i fill the particular color in full arc spaces? How will i solve this problem?
    Thanks for your advance reply.
    Regards
    Murali.R

    import java.awt.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class ArcFill extends JPanel {
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int w = getWidth();
            int h = getHeight();
            double radius = Math.min(w,h)*7/16.0;
            double x = (w - 2*radius)/2;
            double y = (h - 2*radius)/2;
            Ellipse2D.Double circle = new Ellipse2D.Double(x,y,2*radius,2*radius);
            // Fill east sector with Arc2D.
            Rectangle r = circle.getBounds();
            double start = -45.0;
            double extent = 90.0;
            int type = Arc2D.PIE;
            Arc2D.Double arc = new Arc2D.Double(r, start, extent, type);
            g2.setPaint(Color.red);
            g2.fill(arc);
            // Fill south sector.
            arc.setAngleStart(-135.0);
            g2.setPaint(Color.green.darker());
            g2.fill(arc);
            arc.setAngleStart(-225);
            g2.setPaint(Color.blue);
            g2.fill(arc);
            arc.setAngleStart(-315);
            g2.setPaint(Color.orange);
            g2.fill(arc);
            // Draw circle and lines.
            g2.setPaint(Color.black);
            g2.draw(circle);
            double theta = -Math.PI/4;
            double cx = circle.getCenterX();
            double cy = circle.getCenterY();
            for(int j = 0; j < 4; j++) {
                x = cx + radius*Math.cos(theta);
                y = cy + radius*Math.sin(theta);
                g2.draw(new Line2D.Double(cx, cy, x, y));
                theta += Math.PI/2;
        public static void main(String[] args) {
            ArcFill panel = new ArcFill();
            panel.setPreferredSize(new Dimension(400,400));
            JOptionPane.showMessageDialog(null, panel, "", -1);
    }

  • Fill Problem

    The answer to this problem is no doubt elementary, but all the same it's driving me crazy. When using the brush tool, rectangle tool, blob brush etc', fill immediately reverts to none. Example: I choose a red as my fill color, draw out a rectangle and all I'm left with is the outline of the rectangle, and the fill icon on the toolbar reverts to none (red diagonal).
    Any help will be most appreaciated.

    OK silly me, View> Preview

  • Object fill problems

    Hi everybody!
    I have a problem with object fills, when I try to get special
    fill (eg. textured or custom), it puts only small 'C-letters' on
    object. The preview of texture shows right on the properties
    window. Hope that you got the idea.
    If you know something about these, I would be very pleased
    for guidance.
    Best regards

    > I have a problem with object fills, when I try to get
    special fill (eg.
    > textured or custom), it puts only small 'C-letters' on
    object. The preview of
    > texture shows right on the properties window. Hope that
    you got the idea.
    > If you know something about these, I would be very
    pleased for guidance.
    FreeHand has, at least Windows version, context sensitive
    help menu.
    Just select textured fill for an object and immediately after
    that hit F1 key. By magic help text appears.
    Using textured fill attributes
    FreeHand includes several textured fill attributes. You
    cannot edit attributes.
    Textured fill attributes
    FreeHand textured fills are PostScript textures that do not
    appear onscreen, but will appear when printed to a PostScript
    printer. A textured fill prints at one size on PostScript output
    devices and does not scale with the object it fills.
    To apply a textured fill attribute to a selected fill in the
    Object panel:
    1 Select Textured from the fill type pop-up menu.
    2 Select a texture from the texture pop-up menu.
    3 Select a color from the color pop-up menu.
    So, those fills work only in PS output.
    Jukka

  • Knob Pointer Fill Problems

    Hi,
    After upgrading from Meas. Studio 6 to 8.1.1, I've noticed some strange behavior with pointer fills in CNiKnob objects created via a certain sequence. To demonstrate:
    1) Open the NI example project "Knob Styles", edit the dialog, and open the property pages for IDC_VERTICAL_KNOB.
    2) Change the "Pointer-1" Fill Style to "Fill to Minimum" and its Value to "50".
    3) Add a new Pointer, which is automatically named "Pointer-2", and change its Value to "99".
    4) Change the "Pointer-1" Fill Style back to "None" and its value to "5".
    Notice that the fill only goes down to 50 where it should go down to 0. Even if you click OK, the incorrect fill remains.
    An even stranger behavior occurs with a similar sequence:
    1) as above
    2) as above
    3) Change the Style to "Dial".
    4) Add a new Pointer, which is automatically named "Pointer-2", and change its Value to "99".
    5) Change the "Pointer-2" Fill Style to "Fill to Minimum".
    Notice the strange gap in the fill. Now click repeatedly within the "Pointers:" selection box and notice that the fill alternately disappears and reappears with every control update! Even if you click OK and then repeatedly resize the control on the dialog, the fill comes and goes.
    I admit that these sequences are odd, but that's what my old app does, and it ran fine under version 6. I wonder if this behavior could be a symptom of a larger problem with version 8.1.1.
    Thankfully, I found a work-around. Insert a step between 2 and 3 in either sequence:
    2.5) Change the "Pointer-1" Value to "0".
    With that, both strange behaviors are avoided, as far as I can tell without lots of testing of different cases.
    Claus

    Hi Claus,
    Actually those bug fixes are included in the 8.5 release of the C++ components.  We documented these bug fixes in the Measurement Studio 8.5 for Visual Studio 2005 Readme.  The updater that Jessica is referring to will be released soon and all that will contain is the latest version of the ActiveX controls. This is useful for customers programming in Visual Studio 6.0 as we didn't include the updated ActiveX controls in that package.  We did include the updated ActiveX controls in the 2005 installer which you get when you install C++ support.
    Now, I don't remember which version of Visual Studio you were using, but if you are using VS 2005, you are good to go. If you are using VS 6, then Jessica will contact you offline.
    Just let us know.
    Best Regards,
    Jonathan N.
    National Instruments

  • Japanese Auto-Fill Problem

    Hey All,
    I have an iMac running OS X 10.9.4. I purchased the mac in Japan and have found it to be very good when switching between English and Japanese. However, for some reason while I have set-up English as the default language, my computer still auto-fills my name (and my name only) in Japanese. I have tooled around with the "Autofill" section under preferences for Safari but nothing I do seems to change this auto-fill conundrum. I have even gone so far as changing my name on the computer from the Japanese version to the English version but it still auto-fills Japanese whenever I type my name.
    Anyone have any good ideas?
    Thanks and cheers,
    Scuttlemuscle

    HI Jim,
    From the Safari Menu Bar click Safari/Preferences then select the Autofill tab.
    Make sure: User names and passwords is selected.
    Also, some banking and investment sites do not allow for "autofill" due to security.
    Of that box was already checked, go to the Safari Menu Bar click Safari/Reset Safari. Select the top 5 buttons.
    You may also need to troubleshoot the Safari .plist file.
    Go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop.
    Relaunch Safari and see if that makes a difference. If not, move the .plist file back to the Preferences folder. If Safari functions as it should, move that .plist file to the Trash.
    Carolyn

Maybe you are looking for