Drawing outside the GUI

Is there any way that I can draw outside the GUI? Something like a marker that draws anywhere on the screen, or a rectangle that you can drag around to take have a reference when taking a portion of a screen shot.

Hojima wrote:
Is there any way that I can draw outside the GUI? Something like a marker that draws anywhere on the screen, or a rectangle that you can drag around to take have a reference when taking a portion of a screen shot.That's not something you can do easily in Java, without going native I suspect.
As an approximation, would you consider having Java take a screen shot, then allowing you to draw on that?

Similar Messages

  • Drawing outside the java applet ?

    Hi all !
    How do you draw "outside" the space taken by the applet on the web page ?
    For example, say I've got a menu bar where the applet size is 100 width by 20 height on the page, and when the user clicks on one of the buttons that I've drawn within the menu, I want to be able to draw menu buttons "below" the applet, over the web page (pop up menu style)
    Cheers for a pointer in the right direction :)

    Ooookay ..... then how come I've got an demo of
    someone's applet here that does exactly this, i.e.
    draws outside of it's original size ?
    Show us the demo.
    How might they do it ? (dont really want to decompile
    someone else's class file, coz that's rude :-)Maybe someone will do it for you; the impossible has always attracted the human mind.

  • Why does moving the mouse over an IMAQ image display slow the GUI down so much?

    I have a large application with several vi's running simultaneously under labview 8.6.1.  When I mouse over an image display control in one of the vi's, everything slows down a shocking amount in all the other vi's.  The windows task manager does not show a large increase in CPU use.  My pc is has a quad cpu with 4GB of RAM, and the CPU and memory loads do not appear to be terribly taxing to the system.  However, many of my vi's apparently come almost to a standstill if I just move the mouse in a circle around my image control.
    This looks like it is largely a GUI display issue.  If I make a new vi and put a while loop in it that only displays the iteration loop number to an indicator, I can see the iterating occurring, then stopping totally when I mouse inside the image display control.  When I stop moving the mouse inside the control, or when I move it outside the control, the interation loop number jumps up, as if it had been incrementing behind the scenes the whole time.  So only display of the interating was halted.
    This problem occurs even if the vi with the image control is not executing.  If the vi with the image control is open but not running, and I mouse over the image on it, the other guis all come to a screeching halt.
    Does mousing in the image display control really utterly crush all other guis in all other labview windows?  Is this an issue inherent to the image display control?  If so, is there anything I can do about this? 
    Also, this issue is not entirely limited to display.  I started looking at it in greater detail because this issue also exposed what I think is a race condition in my code.  I have a vi that acquires an image from a ccd and puts it into an IMAQ image.ctl.  This image then gets passed up to a vi up the call chain, and is put on a queue and sent over to be de-queued by a vi that has the image display control.  Here's the kicker:  when I mouse over the image display control, the image successfully gets acquired inside the subvi, and if I probe the wire leading to the output IMAQ image display.ctl, I see the image.  If I simultaneously probe the wire coming out of the subvi one level up the call chain, the image gets lost about half the time.  This only happens if I am mousing in the image display control IN A TOTALLY DIFFERENT AND SEPARATE VI.  If I bump up the priority of the ccd image acquisition vi to 'highest priority', the problem only happens about 1% of the time, and I really have to mouse around to make it happen.  Still, it's disturbing that mousing in the GUI in one window results in a failure of a separate subvi to simply pass an image up the call chain.  I understand that IMAQ images are referenced rather than passed by value, but I don't see why there should be a failure to pass the image up the call chain.  I've looked for a race condition, but can't find one.
    Eric

    I have finally been able to replicate the behavior that you are seeing on another computer once the image was large enough.  Here are a few notes about this behavior:
    First. The UI only slows down when the images are large, 16 bit images.  The reason why this is unique to 16 bit images is that they can only be displayed on the front panel as 8 bit images.  The workaround that Weiyuan suggested to change the 16 bit display mapping hints towards the root of the problem...that any time a mouse runs over the indicator, Windows asks the entire image to re-draw (having a separate indicator overlapping the image will create the same behavior).  With a 16 bit image, not only does the image have to re-draw on the screen but the 16 bit pixels need to be mapped to 8 bits.  When setting the 16 bit display mapping to Full Dynamic, this requires mor computation/pixel than 90% dynamic or one of the other mapping schemes.
    This is expected behavior if your program is running and you're trying to display a large 16 bit image.  To fix this behavior there are a couple options:
    Change the 16 bit display mapping to something other than full dynamic.  You can choose which 8 bits to display or if you want to map the bits. 
    Resize the image just for viewing purposes on your front panel (since you aren't going to view every single pixel of you image on the screen). You can use the IMAQ Resample.vi to do this.  This will allow you to take your 1500x1500 pixel image and only display a 500x500 pixel version.
    If you are interested in viewing small details of the large image, consider just displaying a smaller region of interest at a time.
    Let me know if any of these solutions work for you.  Good luck on your application.
    Zach C.
    Field Engineer
    Greater Los Angeles

  • Raining outside the Applet Window ! HELP

    I have set the coding for an applet 800 pixels by 800 pixels .
    The Mozilla Firefox browser window cannot be modified to be that size and it is raining outside the applet !
    How do I modify the RainCloud class so it only rains within
    800 pixels in the x direction ?
    Below is the RainCloud class and the rest
    Thank you in advance
    //@ applet is from "An Eventful Approach" by Murtagh and Bruce
    import objectdraw.*;
    import java.awt.*;
    public class RainCloud2 extends ActiveObject
        private static final int MAX_DROPS = 1000000;
        private static final int DELAY_TIME = 10;
        private DrawingCanvas canvas;
        private RandomIntGenerator xGenerator;
        public RainCloud2(DrawingCanvas canvas)
            this.canvas = canvas;
            xGenerator = new RandomIntGenerator(0,canvas.getWidth());
            start();
        public void run()
            int dropCount = 0;
            while (dropCount < MAX_DROPS)
                   new FallingBall(new Location(xGenerator.nextValue(), 0), canvas);
                   pause(DELAY_TIME);
                   dropCount++;
    import objectdraw.*;
    import java.awt.*;
    public class FallingBall3 extends ActiveObject
            private static final int BALLSIZE = 4;
            private static final int TOP = 50;
            private static final int BOTTOM = 600;
            private static final int SCREENWIDTH = 400;
            private static final double Y_SPEED = 4;
            private static final int DELAY_TIME = 33;
            private DrawingCanvas canvas;
            private FilledOval ball;
            public FallingBall3(Location startPoint, DrawingCanvas aCanvas)
                    canvas = aCanvas;
                    ball = new FilledOval(startPoint ,
                                          BALLSIZE, BALLSIZE, canvas);
                    start();
            public void run()
                    while (ball.getY() < 240)
                            ball.move(0, Y_SPEED);
                            pause(DELAY_TIME);
                    ball.hide();
    import objectdraw.*;
    import java.awt.*;
    public class Sun2  extends ActiveObject
       private static final int BALLSIZE = 80;
       private static final double PAUSE_TIME = 190;
       private static final int TOP = 50;
       private static final int BOTTOM = 400;
       private static final int SCREENWIDTH = 400;
       private static final double Y_SPEED = -8;
       private DrawingCanvas canvas;
       private FilledOval sun;
        public Sun2(DrawingCanvas aCanvas)
          canvas = aCanvas;
          sun = new FilledOval(SCREENWIDTH/2,BOTTOM,BALLSIZE,BALLSIZE,canvas);
          sun.setColor(Color.yellow);
          start();
        public void run()
           while(sun.getY()  >  30 )
              sun.move(0, Y_SPEED);
              pause(PAUSE_TIME);
            //sun.hide();
    import objectdraw.*;
    import java.awt.*;
    public class Grass extends WindowController{
            private static final int SCREENLEFT = 0;
            private static final int SCREENTOP = 0;
            private static final int SCREENHEIGHT = 400;
            private static final int SCREENWIDTH = 500;
            private static final int SUN_INSET = 50;
            private static final int SUN_SIZE = 70;
            private static final double GRASS_LINE = SCREENHEIGHT*0.63;
            private static final double GRASS_HEIGHT = SCREENHEIGHT*.04;
            private static final double SKY_LINE = GRASS_LINE + GRASS_HEIGHT;
            private static final double GRASS_WIDTH = 2;
            private static final Color SKYBLUE = new Color(100,100,200);
            private static final Color GRASSGREEN = new Color(0,200,0);
            public void begin()
                double bladePosition;  // where to draw next blade of grass
                            // draw solid sky, grass and sun
                    new FilledRect(0,0,SCREENWIDTH,SKY_LINE,
                                    canvas).setColor(SKYBLUE);
                    new FilledRect(0,SKY_LINE,
                                             SCREENWIDTH,SCREENHEIGHT-GRASS_LINE,
                                 canvas).setColor(GRASSGREEN);
                    bladePosition = 0;
                    while ( bladePosition < SCREENWIDTH )
                            new FilledRect(bladePosition,GRASS_LINE,
                                                       GRASS_WIDTH,GRASS_HEIGHT,
                                          canvas).setColor(GRASSGREEN);
                            bladePosition = bladePosition+2*GRASS_WIDTH;
                   new Text("Click to make a rain cloud....",240,290,canvas);
            public void onMouseClick(Location point)
               new RainCloud(canvas);
               new Sun(canvas);
    <html>
    <head>
    <title> Grass.java
    </title>
    <body>
    <applet
    archive = "objectdraw.jar"
    codeBase = "."
    code = "Grass.class" width = 800 height = 800 >
    </applet>
    </body>
    </html>

    you could set clipping on the Graphics object

  • I need help with the GUI nad Graphic 2D....

    Hi
    i'm kind new to java and i have couple of questions... all my questions about the GUI...
    when i want to create a GUI programe , and when i want to draw a graphic with GUI, i do that way(code)
    "public class x1 extends JPanle{
         public void PaintComponent(Graphic g){
    My questions:
    1) why do i have to extend from JPanle ??
    2) Why do i use paintcomponent??? why i couldn't use directly 'Graphic g' ??
    This code i get it from the book, this is how it is done...
    Also, if i want to draw some shapes(rec, circle ..etc) and i want to put Button and organize them, how could i do that???
    i tried to organize the button after i draw the rectangle but i can't... all becaus of the stupid way'the code that i wrote it', i hope there is an alternative way.
    My last question... how can i change the font ???
    i want to use 'sans comic'...
    Thanks alot....

    kiiwii14 wrote:
    i'm kind new to java and i have couple of questions...fair enough.
    all my questions about the GUI...and that's your problem right there.
    Your questions tell me that you're missing quite a few fundamentals of programming in Java. There's nothing wrong with that, everyone starts this way. But if you try to do any GUI programming at your current level you will run head-first into many, many problems that could be easily avoided if you concentrate on learning the basics first.
    when i want to create a GUI programe , and when i want to draw a graphic with GUI, i do that way(code)
    "public class x1 extends JPanle{That code doesn't compile. It's JPanel, not JPanle. Please post only compiling code (or near it, if you've got a question about a compiler error).
         public void PaintComponent(Graphic g){"paintCompontent", not "PaintComponent".
    Oh, and in the future please use the CODE-Button when posting code (1. copy+paste code 2. select code 3. press "CODE" just above the text area).
    My questions:
    1) why do i have to extend from JPanle ??You don't have to. You can, if you want your class to be a specific type of JPanel.
    2) Why do i use paintcomponent??? why i couldn't use directly 'Graphic g' ??How would you "directly use Graphic g"?
    That's the way the framework is written. Components draw themselves using that method. If you want to change how they draw themselves you can override that method.
    Did you read the chapter that tells you this or did you simply copy out the code example? The examples are there to illustrate the points and help you understand. They are not a *substitute* to actually reading the text.
    Also, if i want to draw some shapes(rec, circle ..etc) and i want to put Button and organize them, how could i do that???Finish reading the book, write some basic programs and then work on from there.
    You're trying to learn a feature and produce a useful product at the same time. I can tell you from experience that this is a very bad idea.
    i tried to organize the button after i draw the rectangle but i can't... How did you try?
    all becaus of the stupid way'the code that i wrote it', i hope there is an alternative way.You didn't show us your attempt so we can't tell you any alternative.
    My last question... how can i change the font ???
    i want to use 'sans comic'... Hm ... "Comic Sans" is the name. And that's not a font. [It's a desease|http://bancomicsans.com/].

  • Refer ResourceBundle/external resources like icons from outside the Jar

    Hi,
    I have a swing application and I am using ResourceBundle to support internationalization. I also refer some icons.
    Now I have packaged my class file in a jar and I want to refer ResourceBundle and icons from outside the jar. This is to support runtime changing of values and icons without needing to recompile.
    When my code is in Eclipse and I try to refer the resource bundle, it is working fine. But as soon as I have a jar and try to refer the resource bundle from the class path, I am getting MissingResourceException.
    Please help.
    Regards,
    Manu

    As per my actual requirement, I wanted to have these properties files (resource bundles) and icons directly on the classpath, so that user has the convenience to modify them.
    I am not able to do so. I included the directory containing icons and resource bundle on the classpath, but i am not able to refer these icons from the main jar.So it works when the resources are in a 2nd jar, but not when they are in a folder that is in the classpath?
    Is the relative path of the resource files the same in both cases?
    In the simplest case (no nested folder), the icons are in the root of the jar, and the folder-equivalent is that they should be straight in the folder which you added in the classpath.
    Or are they (frequent case) in a nested folder, along your package structure, such as com/yourcompany/yourapp/gui/icon.jpg?
    In this latter case, you must not put folder "gui" in your classpath, but merely the folder which contains "com".
    I am just wild-guessing of course, for a more specific reply could you post a sketch of your jar/folder structure (in tags) and your command line, including
    the classpath part, in both the case that works and the one that doesn't?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Drawing outside of overridden paint

    How can I draw outside a paint in awt ?
    I have a method and I don't know how to get the Graphics object to draw on the
    Frame, Panel etc.

    unix.bsd wrote:
    Still, same question, using paintComponent on a panel for example when I click the panel
    lets say I have a mouseListener I want to draw something I must call the paintComponent?It would be a JPanel, and no, you wouldn't call paintComponent as you almost never call paint or paintComponent directly. Have you had a chance to go through the 2D graphics tutorial on the Sun site? If not, you should as it will likely answer most of your questions.
    It is bizarre for me, why can't I have drawing logic and actions outside of a paint ?Because doing Java graphics requires a different way of thinking. It was bizarre to me and I think most of us when we started to learn it, but with study and practice, it will become more second nature. Again I highly recommend the tutorials.

  • Unable to enter a Division for which I have proper credentials, via the GUI

    I have a Division which I am unable to enter, either as a student or as the full site Administrator, from the GUI.
    When I log into the main Site page, I see the link for the Division (as I should - I have DOWNLOAD permissions for the Division). However when I click the link (the thumbnail image) I am always, 100% of the time, rejected and sent to the login page. Ignoring that, I still have all of my proper credentials and may continue to freely access other parts of the site.
    In the past, I had this exact behavior on (1) a Division "RobotCourses:PSYC" (Psychology), and (2) my main site breadcrumb, which appears at the top of the site page to the right of the "iTunes U" breadcrumb and says "Maiko Covington @ University of Illinois..." For reasons completely unknown to me, this behavior resolved itself yesterday, clicking both of those objects works as expected, although NO one at our site with any edit access did anything on the server.
    However, the same behavior has now reappeared, this time on a Division "RobotCourses:CLCV" (Classical Civilizations). Again, I have not done any editing of that Division, nor had anyone logged into it (these Divisions are in a test area where I am developing automation tools).
    I am, quite frankly, stumped. But I've done some investigation.
    SETUP:
    The Division has identity "RobotCourses:CLCV".
    This Division contains a single Course with identity "RobotCourses:CLCV:CLCV115:CLCV115All-13564".
    Both the Division and the Course are restricted to properly registered academic students. I have developed automation code in a login portal which grants credentials for RobotCourses:CLCV to students registered for courses in the CLCV department (Classical Civilizations) and credentials for RobotCourses:CLCV:CLCV115:CLCV115All-13564 to students registered for CLCV 115 (Classical Civilizations 115 - Mythology of Greece and Rome) specifically.
    The Permissions set on RobotCourses:CLCV in particular are:
    <Permission>
    <Credential>Authenticated@urn:mace:itunesu.com:sites:illinois.edu</Credential>
    <Access>No Access</Access>
    </Permission>
    <Permission>
    <Credential>gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV</C redential>
    <Access>Download</Access>
    </Permission>
    The point is to deny access to Authenticated@ (merely authenticated students) and then specifically grant it for people given a "gakusei" credential for RobotCourses:CLCV in particular.
    (Note here that "gakusei" is a Japanese word meaning "student," I am using it in my credentials to ensure that my credentials and permissions are not affected by other credentials named "student" set at upper levels and used by some live users of the site, as we do not have a segregated development environment. It is our lowest level of access beyond mere Authenticated@..., designed to give students access to download and "surf to" Divisions and Courses.)
    *LOGIN: ISSUING CREDENTIALS:*
    The login portal code works successfully, and so when a student "Jane Doe" logs in, she is in fact given appropriate credentials (as she is actually registered for CLCV 115 here at UIUC). From the code generating her login URL, I see:
    Issued credentials:
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    (You can see she is also registered for STAT 100).
    With the default login URL thus generated, she is taken to the top level of the Site in iTunes, and in fact sees thumbnail links for both STAT (Statistics) and CLCV (Classical Civilizations). Clicking on STAT takes her to the STAT Division where she can then enter the Course STAT 100 with no problems.
    *PROBLEM: CAN'T GET TO CLCV FROM THE MAIN PAGE IN THE GUI*
    HOWEVER! Clicking on CLCV brings up the login page. If she ignores the login page, she can still access the rest of the site, including STAT, just fine. Logging in again (reissuing her credentials) does not help the situation.
    Note that this is not a problem only for Jane Doe, the same thing happens for anyone in CLCV and in fact happens for me as Administrator of the whole site with full access, even.
    *ACCESS DIRECTLY TO THE DIVISION BY URL WORKS*
    With a slight modification to the login to allow access directly to the RobotCourses:CLCV Division (by adding the handle of the Division to the end of the location), credentials are issued exactly as before:
    Issued credentials:
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    and she is taken to the Division page, SUCCESSFULLY. So, it seems she actually HAS access, as expected.
    *ACCESS CONFIRMED WITH DEBUGGING:*
    Writing some code to generate not the actual login URL but rather a link that takes me to an "iTunes U Access Debugging" page for the Division (figured this out by reading some other posts! :)) I am taken to a page with the following:
    (at generated URL https://deimos.apple.com/WebObjects/Core.woa/Browse/illinois.edu.1945806043/xxx5 64?credentials=....)
    Received
    Destination illinois.edu.1945806043
    Identity "Jane X Doe" <[email protected]> (jxdoe) [xxxxxxxxx]
    Credentials gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV; ​ gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564; ​gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT;​ gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    Time 1236877947
    Signature 42ccef92a3298684a7a09eed45adb6b788a700c01645b8b423d33ace120650b0
    Analysis
    The destination string is valid and the corresponding destination item was found.
    The identity string is valid and provides the following information:
    Display Name Jane X Doe
    Email Address [email protected]
    Username jxdoe
    User Identifier xxxxxxxxx
    The credential string is valid and contains the following 4 recognized credentials:
    1. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV
    2. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564
    3. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT
    4. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    The time string is valid and corresponds to 2009-03-12 17:12:27Z.
    The signature string is valid.
    Access
    Because the received signature and time were valid, the received identity and credentials were accepted by iTunes U.
    In addition, the following 2 credentials were automatically added by iTunes U:
    1. All@urn:mace:itunesu.com:sites:illinois.edu
    2. Authenticated@urn:mace:itunesu.com:sites:illinois.edu
    With these credentials, you have browsing and downloading access to the requested destination.
    (In case you think to check the sums, be aware I've actually changed the student's name for this example.)
    So, as expected, I have access, in fact the student DOES have access, visiting the Division page directly (specifiying its handle as part of the desired location).
    *IT'S ONLY CLICKING THE THUMBNAIL ON THE MAIN PAGE THAT BREAKS*
    Because the problem is only apparent when clicking the icon for the Division on the main Site page, I have no way (that I know of) to get any information about precisely WHAT is going on, what possibly differs in the GUI-click situation from the "generate me a URL that takes me right there" situation.
    At that point I'm fully in the GUI, I'm not sending anything via web services, so I have no idea how I can proceed to debug this from here.
    I'm also quite confused at the sudden appearance of this behavior, and the disappearance of this behavior from RobotCourses:PYSC, another Division that was broken in this same way all last week but which magically resumed allowing me access yesterday.
    Any suggestions, hints, or advice would be very welcome. Has anyone else even seen behavior similar to this?
    Thanks for any information you might have.

    Maiko,
    I'm confess I'm still trying to get a handle on your problem. You do a fantastic job of describing it ... but I'm just trying to picture it accurately in my head.
    I think, were I in your shoes, I'd begin by looking at what the debug page has to say for the specific destination in which you're interested in fixing. In other words, I'm not clear on where, exactly, this destination points ...
    Destination illinois.edu.1945806043
    Is that your site, or the division within your site that you want to fix? "Normally", you do not need to specify a site handle to get to your site within your transfer CGI ... if you say "uillinois.edu", it's enough to transfer your users to iTunes U ... but every site still has a handle, and you could, if you wanted to, actually specify it in your transfer CGI. For example, this:
    Destination uic.edu.1139051993
    is for my entire site ... it's my site handle. Whereas this:
    Destination uic.edu.1991288441
    is for a division within my site ... but it's impossible to tell the difference between "site" and "division" from just the handle (I mean, if I didn't say "this is a site" and "this is a division", there'd be no way for you to know). So when I look at your creds and permissions on your debug page, I can't quite tell if they give you download access for your site, or for the specific division you want to fix. If you could open the debug page with your division as destination (or confirm that that's what we're looking at), it'd rule out some things.

  • After Upgrade to os 10.6.8 Prints from CS4 Photoshop show blue tint outside the printing area

    After Upgrade to os 10.6.8 from 10.5.8 Prints from CS4 and 5.5 Photoshop show blue tint outside the printing area, not so when printing from CS2. I could not beleive this was still an issue. Is there any known solution to this long ongoing and well known dispute between apple and adobe?

    After Upgrade to os 10.6.8 from 10.5.8 Prints from CS4 and 5.5 Photoshop show blue tint outside the printing area, not so when printing from CS2. I could not beleive this was still an issue. Is there any known solution to this long ongoing and well known dispute between apple and adobe?

  • Mobile Broadband with Gobi 2000 outside the US

    Hi all,
    Just got my X201 with a Gobi 2000 card inside. Since I live outside the US I was never really sure how it would work outside the AT&T and Verizon networks. Even after I received the Thinkpad it was not very easy to find information about how to set it up, so I thought I would post it here - I am sure someone is looking for it...
    This is what I got: X201, Windows 7 Professional 64-bit.
    First of all you are wondering where to put the SIM card. Take the Thinkpad battery out, and you will find the slot of the SIM. The cut off corner on the SIM should stick into the slot.
    Next, you can use the Lenovo "Access Connections" software to make the connectivity, also outside the US. This is the same software as you use to to manage your Wifi - the one that shows Wifi signal strength in the Windows task bar.
    (Note it should also be possible to use the Microsoft Dialup software, the the APN needs to be entered directly into the modem using "+cgdcont=1" - google that if you want to try.)
    Back to Access Connections.
    For someone new to Thinkpad, you may start with the Lenovo ThinkVantage Toolbox. That is the blue button on the keyboard, and the blue toolbox icon in the task bar. After you have done all your Lenovo and Microsoft updates here, you will notice an exclamation mark under "Security & Networking", "3G Mobile Broadband". It will essentially tell you: "A Wireless Wide Area Network (WWAN) card is installed in your system. Please run Lenovo Broadband Connect to activate your card."
       This is somewhat confusing, particularly in the GSM world. What is it will do is not activating your Gobi 2000 card, but activate a subscription with a carrier in the US. Either an AT&T subscription, with an AT&T SIM and GSM/HSDPA, or a Verizon subscription with EVDO (which does not use a SIM). If you have put your European SIM in the Thinkpad this will lead you nowhere. 
       Just click "Ignore Issues" to get rid of the exclamation card.
    Go back to Access Connections - just click on the Wifi signal in the task bar.
    For the record, I am running version 5.61 of Access Connections. There is also 5.62 available for download, but it only seems to be adding Sprint settings, which we do not need outside the US.
    Now, in Access Connections click on the "Location Profiles" tab, and up to the right do "Switch to: Advanced".  
    Now "Create...", so you can enter settings for your mobile network.
    Give it a name, and as type of network choose Mobile Broadband.
    Choose the Gobi 2000 hardware, and click next.
    Next screen you will change the technology used from EVDO to HSDPA/GPRS, and finally get some life in the hardware.
    Under Select WAN Settings you may choose to go Automatic, or Custom. I believe the Automatic covers about 30 non US networks, mainly European, but if your network is not covered, go Custom, and click Edit Settings.
    Now you an choose settings from one of the 30 or so networks in the drop-down list, or just enter them by hand.
    For the record, you just need the APN, the Username and the Password. There are the same settings you typically enter into your phone for GPRS connectivity, and they are probably available on your providers website. You will probably want to change your Authentication Option from PAP to NONE, depending on what your provider's instruction says.
    For the record, for MTN Cyprus these are "internet", "wap" and "wap". 
    Click Next, and although the next page looks messy there is not really anything to change - just click Finish.
    OK, we are done. Now you can test your connection, either by choosing that as a Location and clicking Connect, or by using the Mobile Broadband radio button and the Connect button.
    You should now be able to use Access Connections as a single point to switch between Wifi and HSPA, and have no annoying exclamation marks from the Lenovo ThinkVantage - also outside the US.

    pergranath wrote:
    For the record, you just need the APN, the Username and the Password.
    Perhaps that is all you needed, but there are definitely 3G ISPs in the world that will need somewhat more than that.
    There are also 3G ISPs that check the IMEI of devices and will only connect devices thay have sold.
    3G services globally are only semi-standadised, at best, in terms of what is needed to establish a connection and it it is quite important to pay close attention to all the information provided by the particular ISP that a connection is attempting to be established with.
    Cheers,
    Bill
    I don't work for Lenovo

  • Need Help to update the labels in the GUI syncronously - Swing application

    Hello everyone,
    I need some help regarding a swing application. I am not able to syncronously update the counters and labels that display on my Swing GUI as the application runs in the background. But when the running of application is completed, then the labels on the GUI are getting updated, But I want update the labels and counters on the GUI syncronously as the code executes... below I am giving the format of the code I have written..............
    public class SwingApp extends JFrame{
            // here i have declared the label and component varibles like...
                      private JTextField startTextField;
           private JComboBox maxComboBox;
           private JTextField logTextField;
           private JTextField searchTextField;
           private JLabel imagesDownloaded1;
           private JLabel imagesDownloaded2;
           private JLabel imagesDidnotDownload1;
           private JLabel imagesDidnotDownload2;
                      private JButton startButton;
    //now in the constructer.............
    public Swing(){
    //I used gridbaglayout and wrote the code for the GUI to appear....
    startButton = new JButton("Start Downloading");
        startButton.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            try{
                 actionSearch();   //actionSearch will contain all the code and the function calls of my application...........
            }catch(Exception e1){
                 System.out.println(e1);
        constraints = new GridBagConstraints();
        constraints.gridwidth = GridBagConstraints.REMAINDER;
        constraints.insets = new Insets(5, 5, 5, 5);
        layout.setConstraints(startButton, constraints);
        searchPanel.add(startButton);
    //update is a function which initiates a thread which updates the GUI. this function will be called to pass the required variables in the application
    public void update(final int count_hits, final int counter_image_download1, final int didnot_download1) throws Exception{
         Thread thread = new Thread(new Runnable() {
             public void run() {
                  System.out.println("entered into thread");
                  System.out.println("the variable that has to be set is " + count_hits);
                  server_hits_count.repaint(count_hits);
                  server_hits_count.setText( " "+ Integer.toString(count_hits));
                  imagesDownloaded2.setText(" " + Integer.toString(counter_image_download1));
                  imagesDidnotDownload2.setText(" " + Integer.toString(didnot_download1));
                  repaint();
         //this.update(count_hits);
         thread.start();
    //Now in main............................
    public static void main(String[] args){
    Swing s = new Swing();
    s.setVisible(true);
    }//end of main
    }//end of class SwingAbove I have given the skeleton code of my application........ Please tell me how to update the GUI syncronously...
    Please its a bit urgent...............
    Thank you very much in advance
    chaitanya

    First off, note that this question should have been posted in the Swing section.
    GUI events run in a separate thread (the AWT / Event Dispatch Thread) than your program.
    You should be invoking AWT/Swing events via SwingUtilities.invokeLater().
    If for whatever reason you want to have the program thread wait for the event to process
    you can use invokeAndWait().
    http://java.sun.com/javase/6/docs/api/javax/swing/SwingUtilities.html

  • Creating a connection between the GUI and a program's back end

    I have created a program (over 50 classes) and am currently a little confused as to how I should connect the back end of my program (the real functionality) to my front end (the GUI). Currently I am thinking about using a list of event listeners in my back end that will announce when certain events have completed and thus front end can handle the updates accordingly.
    But I want to ensure that the back end doesn't "know" about the front end. In other words, I would like to ensure that the back end and the front end are as independent/modular as possible.
    Can anyone make some suggestions besides event listeners?
    Thanks,
    Timmers

    From what I am able to ascertain from your post, you would advocate using EventListeners in the back end (in same VM) to inform the GUI of changes?
    Is this the commonly accepted way of communicating your back end functionality to your front-end (GUI)?
    I've read that all EventListeners are part of a single thread. So what happens if two events occur simulataneously in the back-end. Do those events get queued or do some of them get lost?
    Thanks,
    Tim
    If the back-end changes state asynchronously to the
    front-end GUI (ie does work in background threads and
    then notifies the front-end when something happens),
    then you should make it send events when this happens.
    The basic concept is the same for CORBA, RMI, JINI,
    or running everything in the local VM.
    To do this you define a set of events (or maybe you
    can use the java.beans.PropertyChangeEvent) and
    listener interfaces. The front-end then registers to
    receive events (probably via an addXXXListener()
    method in the back-end). You would have to have a
    class (or classes) in the front-end that implemented
    the event listener interfaces to receive the events.
    If you are using a distributed technology (CORBA, RMI,
    JINI, ...) the concept is the same, but the event
    mechanisms are slightly different.
    To notify the back-end of state changes in the
    front-end you probably can just do plain old method
    calls from the front-end to the back-end.

  • Connect to a cube with Integrated WIndows Sercurity for Windows user with computer outside the domain

    Hello,I am trying to connect to an MSSAS cube with a windows user ( and i need this user to be the end user that connect to the cube) from outside the domain.It will be .Net application.I use msmdpump.dll before but the thing is it impersonate the connection
    so the user that connect to the Cube is not the real client user with is a problem for me because i like to manage the security throw roles.
    SSRS is able to do what i am trying to achieve ( it ask you your domain user and password) then connect to the cube with these credential which is great,but i do that ?
    With ADOMD.Net how do you provide windows user/password in the connection string ?
    I tryed to only active windows security access with IIS and MSSAS but it's not working with a computer outside the domain even if in excel i provide a windows user/password.
    Vincent

    With ADOMD.Net how do you provide windows user/password in the connection string ?
    Hello Vincent,
    See MSDN Connection String Properties (Analysis Services) for all available properties; addtitional: AdomdConnection.ConnectionString
    Property  =>
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • HELP! I want to know whether my hand-me-down iPhone 4 is SIM/carrier-locked or not. I was given an iPhone 4 which I think was purchased outside the Philippines.

    I was given an iPhone 4 which I believed was purchased outside the Philippines. The previous owner had it jailbroken but something went wrong so it was stuck on DFU mode. So when it was given to me, I had it restored and updated via iTunes to iOS 5.1. I bought a micro-sim and inserted it on the sim tray. iTunes was able to detect the SIM card number and there was NO MESSAGE like the sim card is not supported whatsoever which can be usually seen in unsupported simcard. I thought everything went smoothly. But when I tried to set-up the phone, the SLIDE TO UNLOCK button is unresponsive. It doesn't work so I was stuck there and my iPhone cannot be accessed because of that. What shall I do? I have tried doing the hard reset several times, it still didn't work. I have tried restoring my iPhone three times but the slide to unlock is still unresponsive. I think the iPhone was able to detect my carrier simcard since it shows on the top corner the name of my carrier, mobile signal and 3g network. Now I am wondering as to why the slide to unlock button is unresponsive? Was it because of my iPhone LCD or was it because the iPhone is locked? Please help.

    according to some blogs, if the sim card you are using is unsupported, iTunes will show you a message that the sim card you are using is unsupported. But when i opened itunes, I didn't see that message. Instead, it was able to detect my sim card number. So I guess, the simcard is supported. It isn't the original sim, though. Then the phone was able to detect the mobile carrier, mobile and 3g signals. So iam wondering whether my phone is locked or was it a hardware problem?

  • Sales orders in TDMS company/time based reduction  are outside the scope

    Guys,
    I have had some issues with TDMS wheras it didn't handle company codes without plants very well. That was fixed by SAP. But I have another problem now. If I do a company code and time based reduction, It doesn't seem to affect my sales orders in VBAK/VBUK as I would have expected. I was hoping it would only copy sales orders across that have a plant which is assigned to a company code that was specified in the company code based reduction scenario. That doesn't seem to be the case.
    VBAK is now about one third of the size of the original table (number of records). But I see no logic behind the reduction. I can clearly see plenty of sales documents that have a time stamp way back from what I specified in my copy procedure and I can see others that have plant entries that should have been excluded from the copy as they do belong to different company codes than the ones I specified.
    I was under the impression that TDMS would sort out the correct sales orders for me but somehow that doesn't seem to be happening. I have to investigate further as to what exactly it did bring across but just by looking at what's in the target system I can see plenty of "wrong" entries in there either with a date outside the scope or with a plant outside the scope.
    I can also see that at least the first 10'000 entries in VBAK in the target system have a valid from and to date of 00.00.0000 which could explain why the time based reduction didn't work?
    Did you have similar experiences with your copies? Do I have to do a more detailed reduction such as specifying tables/fields and values?
    Thanks for any suggestions
    Stefan
    Edited by: Stefan Sinzig on Oct 3, 2011 4:57 AM

    The reduction itself is not based on the date when the order was created but the logic enhances it to invoices and offers, basically the complete update process.
    If you see data that definitely shouldn't be there I'd open an OSS call and let the support check what's wrong.
    Markus

Maybe you are looking for

  • [Windows 8.1 Desktop/Surface/Phone] connect client app to synchronization service(s)

    Hello Everybody! I have to do some research about:  what is the best way to set up my project, I am new to Azure. Situation: I need to develop a service(s) and client app(s) that are able to synchronize data with each other: files and database change

  • MSE is unreachable on WCS until Java program is killed

    Hi I have a problem with my 2700 series Wireless Location Appliance. It works for about a week, then suddenly WCS shows the device as unreachable. If I kill the Java program and then perform a shutdown, it works for about a week before the same fault

  • How to connect PB to LCD monitor?

    I have a 26 inch PC LCD monitor. It has a an svga and an hdmi inputs. What type of cable do I need to connect my PB to this monitor? Thank you

  • XI Configuration incase of Java Proxy

    Hello I am trying Java Proxy scenario in which I generated Java Proxies of my XI interface.I used NetWeaver Developer Studio to implement my business logic using the generated classes from XI. But I guess its not connecting to XI when tried to execut

  • Why does Firefox 28.0 keep crashing and opening up random tabs?

    I'm running Firefox 28.0 on a Windows 8.1 laptop. Recently, it began opening up random tabs to spam websites and it's SUPER annoying. Then, the other day it began to do this thing where it'll stop responding. Rather than just freezing up for a second