Making a Clock

I am trying to make an analog clock with java and it would be easy except for the fact that I can't figure out how to convert the position of the hands to coordinates without using 60+ if statements (or switch for that matter). Isn't there a simple way to do this? Just give me an idea of how to do it and I will toy with it until I either go out of my mind or maybe even figure it out.
here is the code I have so far:
(note: to most of you experienced programmers, it probably looks like something the cat dragged in.)
import java.util.*;
import java.awt.*;
import javax.swing.*;
public class ClockPane extends JPanel implements Runnable {
    MouseTracker track = new MouseTracker(this);
    int secHandX = 30;
    int secHandY = 145;
    int secHandXmove = 5;
    int secHandYmove = 5;
    Thread runner;
    Image secHand;
    JTextField field = new JTextField(15);
    int second;
    int minute;
    int hour;
    String secondString;
    String minuteString;
    String hourString;
    String twelve = ("12");
    String three = ("3");
    String six = ("6");
    String nine = ("9");
    String currentTime;
    String amPM;
    Font Big = new Font("veranda", Font.BOLD, 16);
    public ClockPane() {
     super();
     add(field);
     addMouseListener(track);
     addMouseMotionListener(track);
     field.setEditable(false);
     field.addMouseMotionListener(track);
     field.addMouseListener(track);
     Toolkit kit = Toolkit.getDefaultToolkit();
     secHand = kit.getImage("secHand.png");
     runner = new Thread(this);
     runner.start();
    public void paintComponent(Graphics comp) {
     Graphics2D comp2D = (Graphics2D) comp;
     if (secHand != null) {
         BasicStroke five = new BasicStroke((float) 5, BasicStroke.CAP_ROUND, BasicStroke.JOIN_BEVEL);
         BasicStroke tick = new BasicStroke((float) 5);
         comp2D.setRenderingHint (RenderingHints.KEY_ANTIALIASING,
                RenderingHints.VALUE_ANTIALIAS_ON);
         comp2D.setColor(Color.white);
         comp2D.fillRect(0, 0, 350, 350);
         comp2D.setColor(Color.red);
         comp2D.setStroke(five);
         comp2D.drawLine(130, 145, secHandX, secHandY);
         comp2D.setColor(Color.black);
         comp2D.drawOval(10, 25, 240, 240);
         comp2D.drawOval(30, 45, 200, 200);
         comp2D.setFont(Big);
         comp2D.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
            RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
         comp2D.drawString(three, 235, 152);
         comp2D.setStroke(tick);
         comp2D.drawLine(245, 145, 250, 145);
         comp2D.drawString(currentTime, 85, 297);
    public void run() {
     Thread thisThread = Thread.currentThread();
     while (runner == thisThread) {
         Calendar time = Calendar.getInstance();
         second = time.get(Calendar.SECOND);
         hour = time.get(Calendar.HOUR);
         minute = time.get(Calendar.MINUTE);
         secondString = ("" + second);
         if (second < 10) {
          secondString = ("0" + second);
         minuteString = ("" + minute);
         if (minute < 10) {
          minuteString = ("0" + minute);
         hourString = ("" + hour);
         if (hour < 10) {
          hourString = ("0" + hour);
         if (time.get(Calendar.AM_PM) == 0) {
          amPM = ("AM");
         if (time.get(Calendar.AM_PM) == 1) {
          amPM = ("PM");
         if (second == 0) {
          secHandX = 130;
          secHandY = 45;
         if (second == 15) {
          secHandX = 230;
          secHandY = 145;
         if (second == 30) {
          secHandX = 130;
          secHandY = 245;
         if (second == 45) {
          secHandX = 30;
          secHandY = 145;
         if (second == 8) {
          secHandX = 200;
          secHandY = 75;
         currentTime = (hourString + ":" + minuteString + ":" + secondString + " " + amPM);
         repaint();
         try {
                Thread.sleep(10);
         } catch (InterruptedException e) {
             //do nothing
    }(another note: the MouseTracker object is just something I added so that I don't spend a million years trying to find the correct coordinates)
Edited by: fireball_nelson on Feb 15, 2008 8:44 AM
Edited by: fireball_nelson on Feb 15, 2008 8:51 AM

import java.awt.*;
import java.awt.geom.*;
import java.util.Calendar;
import javax.swing.*;
public class ClockPaneRx extends JPanel implements Runnable {
    Thread runner;
    String currentTime;
    public ClockPaneRx() {
        super();
        runner = new Thread(this);
        runner.start();
    AffineTransform secTrans  = new AffineTransform();
    AffineTransform minTrans  = new AffineTransform();
    AffineTransform hourTrans = new AffineTransform();
    AffineTransform clockPos  = new AffineTransform();
    protected void paintComponent(Graphics comp) {
        Graphics2D comp2D = (Graphics2D) comp;
        int w = getWidth();
        int h = getHeight();
        comp2D.setColor(Color.white);
        comp2D.fillRect(0, 0, w, h);
        Font Big = new Font("veranda", Font.BOLD, 16);
        BasicStroke five = new BasicStroke(5f, BasicStroke.CAP_ROUND,
                                               BasicStroke.JOIN_BEVEL);
        comp2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
        clockPos.setToTranslation(w/2, h/2);
        comp2D.setColor(Color.black);
        comp2D.setFont(Big);
        comp2D.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
                                RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
        comp2D.translate(w/2, h/2);
        comp2D.drawString(currentTime, -45, 150);
        comp2D.drawString("1", 48, -85);
        comp2D.drawString("2", 87, -47);
        comp2D.drawString("3", 105, 7);
        comp2D.drawString("4", 90, 60);
        comp2D.drawString("5", 50, 100);
        comp2D.drawString("6", -4, 115);
        comp2D.drawString("7", -60, 98);
        comp2D.drawString("8", -97, 60);
        comp2D.drawString("9", -110, 5);
        comp2D.drawString("10", -99, -48);
        comp2D.drawString("11", -60, -87);
        comp2D.drawString("12", -10, -100);
        comp2D.setStroke(five);
        comp2D.drawOval(-120, -120, 240, 240);
        Line2D.Double secHand = new Line2D.Double(0, 0, 0, -95);
        Line2D.Double minHand = new Line2D.Double(0, 0, 0, -85);
        Line2D.Double hourHand = new Line2D.Double(0, 0, 0, -75);
        Shape minHand2 = minTrans.createTransformedShape(minHand);
        Shape secHand2 = secTrans.createTransformedShape(secHand);
        Shape hourHand2 = hourTrans.createTransformedShape(hourHand);
        comp2D.setColor(Color.red);
        comp2D.draw(secHand2);
        comp2D.setColor(Color.blue);
        comp2D.draw(minHand2);
        comp2D.setColor(Color.black);
        comp2D.draw(hourHand2);
        comp2D.fillOval(-6, -6, 12, 12);
    public void run() {
        String secondString;
        String minuteString;
        String hourString;
        String amPM = "";
        Thread thisThread = Thread.currentThread();
        while (runner == thisThread) {
            Calendar time = Calendar.getInstance();
            int second = time.get(Calendar.SECOND);
            int hour = time.get(Calendar.HOUR);
            int minute = time.get(Calendar.MINUTE);
            secondString = ("" + second);
            if (second < 10) {
                secondString = ("0" + second);
            minuteString = ("" + minute);
            if (minute < 10) {
                minuteString = ("0" + minute);
            hourString = ("" + hour);
            if (hour < 10) {
                hourString = ("0" + hour);
            if (time.get(Calendar.AM_PM) == 0) {
                amPM = ("AM");
            if (time.get(Calendar.AM_PM) == 1) {
                amPM = ("PM");
            double secAngle  = second / 30.0 * Math.PI;
            double minAngle  = minute / 30.0 * Math.PI;
            double hourAngle = hour   /  6.0 * Math.PI;
            secTrans.setToRotation(secAngle);
            minTrans.setToRotation(minAngle);
            hourTrans.setToRotation(hourAngle);
            currentTime = hourString + ":" + minuteString + ":" +
                          secondString + " " + amPM;
            repaint();
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                //do nothing
    public static void main(String[] args) {
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.add(new ClockPaneRx());
        f.setSize(400,400);
        f.setLocationRelativeTo(null);
        f.setVisible(true);
}

Similar Messages

  • Help making a clock

    Hey,
    I was hoping to get some help making a clock update for me, but I don't want just to show the actual date, I know how to do that. What I want is to be able to set a time, and then the clock start running from then. For instance, after I enter Jan 3rd, 2005 at 3:43 as my time and date, I want the clock to start from there and update every second. Does that make sense?
    Could someone help me out where to look to get this to happen? Thanks!

    I think the OP wants to be able to set a time OTHER
    than the current time. He doesn't want to wait
    untill the time you entered to have the clock tick,
    he wants to have it tick immediately from the "fake"
    time that you've entered.
    At least that's how I understood him. The offset is
    the difference between the real time and the fake
    time entered by the user.
    If he just wants to display the current time, but not
    stat doing that untill some point in the future then
    yeah TimerTask is the simplest way to do it, but I
    don' think that's what he's trying to do.thanks for the replies guys. I appreciate it. Sorry if I was a bit unclear. Norweed was right in saying that I want to set the time and start updating immediately, not wait until the time reaches my entered time and then count. Sorry for the confusion.
    I was thinking that a offset would work, thanks for recommending that. I'm wondering if the time will get off after a while, I need this program to run probably arounnd 2-3 hours. Hopefully it won't drift very much over that time.
    Thanks all for the recommendations and I will check all that out.

  • Making a clock with hand pointers

    Hello macromedia flashers.
    im thinking of making a simple clock design and adding hand pointers that tell the time.but im no action script fan and i have a few questions to ask.
    a)how hard is it to add action script to the hand pointers?
    b)can i use the clock on my desktop to show time?
    Thank you.

    The difficulty of the task is dependent your ability and knowledge of using Flash.  In general it is not that difficult, but you need to become familiar with a variety of code to get it working such as the Date class and movieclip rotation property controls.  You should search Google using terms like "Flash analog clock tutorial"
    You can open/play an swf file on your monitor.

  • Making a clock that updates every second.

    I am at a loss and quitting for the night if anyone could help point me in the right direction I would appreciatte the advice. Here goes the code
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    import java.util.Date;
    import java.util.Timer;
    import java.util.TimerTask;
    public class Clock
    public static void main(String[] args)
    TimerTask task = new DateTimer();
    Timer timer = new Timer();
    timer.schedule(task, 0, 1000);
    JFrame frame = new JFrame();
    JButton button = new JButton("Date & Time");
    frame.add(button);
    final JLabel label = new JLabel("Currently: ");
    JPanel panel = new JPanel();
    panel.add(button);
    panel.add(label);
    frame.add(panel);
    class ClockViewer implements ActionListener
    public void actionPerformed(ActionEvent event)
    label.setText("Currently: " + task.getDate());
    ActionListener listener = new ClockViewer();
    button.addActionListener(listener);
    frame.setSize(FRAME_WIDTH, FRAME_HEIGHT);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setVisible(true);
    private static final int FRAME_WIDTH = 500;
    private static final int FRAME_HEIGHT = 100;
    import java.util.*;
    public class DateTimer extends TimerTask
    public void run()
    Date now = new Date();
    public Date getDate()
    return now;
    private final Date now;
    Basically I am confused how to print the task out in the label.

    Hi,
    I have used [javax.swing.Timer|http://java.sun.com/javase/6/docs/api/index.html]
    Hope this will be useful to you.
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Date;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.Timer;
    public class Clock {
         public static void main(String[] args) {          
              JFrame frame = new JFrame();
              JButton button = new JButton("Date & Time");
              frame.add(button);
              final JLabel label = new JLabel("Currently: ");
              JPanel panel = new JPanel();
              panel.add(button);
              panel.add(label);
              frame.add(panel);
              ActionListener listener = new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        new Timer(1000,this).start();
                        label.setText("Currently : " + new Date().toString());
              button.addActionListener(listener);
              frame.setSize(FRAME_WIDTH, FRAME_HEIGHT);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setVisible(true);
         private static final int FRAME_WIDTH = 500;
         private static final int FRAME_HEIGHT = 100;
    }Thanks

  • External Sample Clock timeout

    Hi,
    I'm attempting to program up a Met One 010c cup anemometer which sends out 11V pulses whose frequency correlates to wind speed. I've written the following program Met One 010c-3b.vi which works when there's no sample clock and outputs data to the graph and to the write measurement to file VI. 
    However the timestamp on the file only occurs intermittently (every 130 recorded samples if i recall correctly)  and i've been advised to put a sample clock in between the create virtual channel and start VI to make the timestamp occur every sample. However doing this i get errors that first tell me I have to use an external clock, making the clock external then gives the timeout error 200284 after the read function. I expect this is because the wrong source has been selected for the external clock on the timing function.
    I don't fully understand how the external clock works and i assume i need to set up which ever port i select as an external clock?
    I have read through the following
    http://digital.ni.com/public.nsf/allkb/FEF778AD990D5BD886256DD700770103
               -> how do i  verify that the start trigger is configured correctly? (i know my program doesn't have one)
               -> how do i verify the external timing is configured correctly?
    http://zone.ni.com/devzone/cda/tut/p/id/2835
    http://zone.ni.com/devzone/cda/tut/p/id/4322
    I tried to implement some of the diagrams indicated in the last link (eg Figure 2 & 3) but when i went to select the source for the analogue output I was given no available options. I have the NI 9205,9213,9403,9423,9215 sitting on a cDAQ 9178, so none of these do analogue output. Does this mean i can't use an external clock? 
    Thanks for the help, i know this is a simple question but i'm getting nowhere fast.
    Kind Regards
    Orfeo
    Attachments:
    Met One 010c-3b.vi ‏90 KB

    Thanks for your help Courtney,
    I had a look at the Write to Text File.Vi you suggested and i tried to implement it in my program. It appears to be almost working. The formatting of the strings is stuffed up so that i'm getting an ever increasing number of columns in my data (see attached text file). Can you advise me where i've gone wrong?
    An example of the file is below
    24/11/2011 11:21:54 AM     2.32     2.14
     2.62     2.11
     1.81     1.49
    24/11/2011 11:21:54 AM     2.36     2.32     2.14
     2.62     2.62     2.11
     1.82     1.81     1.49
    24/11/2011 11:21:54 AM     2.40     2.36     2.32     2.14
     2.59     2.62     2.62     2.11
     1.76     1.82     1.81     1.49
    24/11/2011 11:21:54 AM     2.43     2.40     2.36     2.32     2.14
     2.55     2.59     2.62     2.62     2.11
     1.73     1.76     1.82     1.81     1.49
    24/11/2011 11:21:54 AM     2.53     2.43     2.40     2.36     2.32     2.14
     2.48     2.55     2.59     2.62     2.62     2.11
     1.69     1.73     1.76     1.82     1.81     1.49
    I assume i've just not got my tab delimintors in the right place? or perhaps i need end of line qualifiers?
    I would also like to have the timestamp more accurate, down to the milisecond. I see the format time string VI has an option to format the string %<digit>u which should do this but it appears to just paste the <digit>u in the string. We are wanting to sample data at 10-20 Hz and record the time of the samples. For one instrument these samples will be done simultaneously.
    Thanks again
    orfeo
    Attachments:
    Met One 010c-3c.vi ‏42 KB
    TextFile.txt ‏550 KB

  • How does WDT's 't0' synchroniz​e with computers clock?

    When reading a MIO-16E DAQ card with the Waveform Data Type the t0 value returned is local date and sample time resolved to fractions of second. How is this value sychronized to the system time? How closely will date/time stamps generated by other 3rd party app's match DAQ time for common events?

    Hello,
    To my knowledge, the "t0" value is obtained whenever the AI Start function (possibly the AI Read...I'm not entirely sure) is called in your block diagram. At this point, the function simply queries the system clock and brings back that value as the t0 value. I believe that queries to the system clock, regardless of programming environment, have an accuracy on the order of 10s of milliseconds. Thus, if you have other 3rd party applications making system clock queries, you should find that the times given in all your software applications should be very close to the same (on the order of 10s of milliseconds).
    I hope this sheds some light on your question. Good luck with your application, and have a pleasant day.
    Sincerely,
    Darren Nattinger
    Applications E
    ngineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Block operations on the GUI when a clock-cursor is Displayed

    Hello,
    How is it possible to block the actions made on a JPanel / JTable / JFrame etc. ???
    The scenario is an operation that is taking place and a clock-cursor is displayed. Ofcourse making the clock-cursor appear does not mean that the GUI is blocked, and actions can be performed with the new cursor image. How is it possible to prevent the user from making actions on certain SWING components ?
    Thank you,
    Rami

    you can try setEnabled method of the Component class. The swing components inherit from this class. For instance, say you want to block actions on a button instance named pushButton. Then you'd would type: pushButton.setEnabled(false).
    I haven't tried this yet.

  • Clock Menubar(SystemUIserver) keeps freezing

    The systemUIserver keeps freezing, making the clock and menubar up there a spinning rainbow disk. Any ideas why? I can fix it temporarily by force quitting it from the activity monitor.

    Hi,
    I have experienced the same behaviour.. trashing the preference file didn't help in my case. What i found was really odd:
    My 3. generation iPod caused that problem: Everytime i connect the iPod via FireWire the SystemUIServer somehow tries to set the clock on that device. This leads to unresponding clock/volume/battery buttons in the menubar. As soon as i disconnect the iPod from my computer the menubar items return.
    Hope this will help somehow..
    regards!

  • Frozen battery-meter and clock

    Every now and then (quite often, actually) - the menu-bar at the top of my screen freezes - making the clock stop and the battery-meter freeze. This means from time to time I have no idea that my battery is running out of power, and the macbook suddenly shuts down! The last time this happened it went on for about 3 hours without being able to update the battery-meter or clock!
    What can I do?

    I was able to figure out the cause and solve this issue on my end.
    I opened Activity Monitor and saw "SystemUIServer (Not Responding)", so I looked up process:
    http://guides.macrumors.com/SystemUIServer
    Apparently, SystemUIServer manages the 'menu extras' on the upper right-hand side of the menu bar. There was also this other useful tidbit of information:
    "A bad hardware state may cause the SystemUIServer to hang. Often, unplugging the external device will unhang the SystemUIServer"
    "The SystemUIServer is owned by the logged in user (as opposed to root) and automatically restarts if it crashes or is force quit."
    I had recently started using on of my older iPods again, so I guessed that maybe it was the device in a "bad hardware state", so I unplugged iPod (super old 3rd gen 15 gig...formatted originally on Windows...back when I was a PC)
    Right away the SystemUIServer process unfroze in Activity Monitor and the upper right hand menue items are no longer hanging.
    So my advice to others with this problem is to unplug devices from USB (iPod, etc...) and see if it eventually unfreezes.
    I've seen iPods hang Mac OS during bootup as well, but this is a new one for me.

  • My 13" black macbook keeps having hard drive failures -- I'm on my third hard drive

    The first one lasted 2 years. It failed within the special warranty period that Apple offered because so many computers like mine were also having hard drive failures. I didn't know about the special warranty they were offering, even after contacting Apple and telling them about my problem and describing the exact symptoms of the problem they were fixing for free. Thank you for that. So I went to a local store and paid ~$130 to have it fixed. This time I was paranoid about not moving my computer, and if I did have to move it, make sure it was off. Then without warning, it happens again less than 2 years later. I would expect a computer hard drive, especially one that is taken care of as well as mine, to last more ~20 months (less than 2 years) TWICE. It seems that this is a problem not with the hard drive but with the computer. I'm pretty upset that hard drives are now basically disposable -- I'm afraid to use it now unless absolutely necessary, otherwise I'll feel like I'm making its clock tick closer and closer to the next time it fries the hard drive. For as much as I paid for this computer, I expect a bit more than that. Unless there is some magical fix to this, I can safely say my next computer will be a super cheap net book.
    Does anyone have any more info on this, any ways to avoid frying more hard drives, or has any one had any luck resolving this issue with Apple? I greatly appreciate any help. Thank you!

    Mechanical hard drives have moveable parts and they are going to fail eventually. Every drive has an MTBF (Mean Time Between Failure) rating in the thousands of hours, but that is an average (half will fail sooner, half will fail later) not an absolute longevity guarantee.
    I've used an original (Apple-OEM Fujitsu 120Gb 5400rpm), a Hitachi 320Gb 7200rpm, and currently a Seagate 500Gb 7200rpm drive in my mid-2007 MacBook. I replaced the 120Gb because I was running out of room. I still use it as an external backup for certain files. The 320Gb Hitachi failed after less than two years, but had a three-year-warranty, so it was replaced at no charge. I'm using the Hitachi replacement externally to clone my current drive in order to test OS X and software updates before installing them 'for keeps' on my working system.
    A solid-state (SSD) drive might be less prone to mechanical failure, but that is still no absolute guarantee that it won't EVER fail, and SSD's are still about double or more the cost of mechanical drives. 
    The best thing is to simply be prepared for the eventual failure with a strategy for frequent and reliable backups.

  • ITunes library filename

    Hello,
    I am using iTunes 10.6.1. Since I am using Alarm Clock 2 application, which uses my iTunes library to wake me up in the morning, I always need to export my up-to-dated library with "iTunes Music Library" filename. But the default name of this library, automatically updated by iTunes, is "iTunes Library". In this case, Alarm Clock is not able to read my iTunes library. How can I solve this problem? Is there a way to make iTunes save automatically the library filename as "iTunes Music Library"?
    Kind regards
    Raffaele

    raffyvitale wrote:
    the default name of this library, automatically updated by iTunes, is "iTunes Library".
    See
    <http://support.apple.com/kb/HT1660>
    for info on iTunes library files. Basically, Alarm Clock 2 (about which I know nothing) should access iTunes Library.xml, which is created and updated automatically by iTunes for other apps. You can try to rename this file iTunes Music Library.xml; iTunes might continue to update it (it does on my Mac, presumably because it's been inherited from way back). Or there might be some way of making Alarm Clock 2 look for 'iTunes Library' instead of 'iTunes Music Library'—either a setting within Alarm Clock 2, or by using an alias or symbolic link.

  • Time constraints on object state

    I'm working on a project and I've come across a new thing I'm really new at. I've checked forums, but basicly, I don't know what to look for. I’ll try to explain it as simple as possible and give you an example of what we have to implement.
    The project consists of builing a platform for a company to administrate contracts, transport requests etc. Each contract has, amongst other attributes like “contract period”, a ContractState, using the state pattern. States could be PROPOSED, SIGNED, EXPIRED, etc. We’re not using any kind of database for this, all contract objects are stored in a simple ArrayList.
    So an example of what we’re trying to achieve is that when the time hits ‘creationdate + contractperiod’ for any contract, that contract’s state automatically changes to EXPIRED. On top of that, we have to be able to jump forwards and backwards in time during execution, for demonstration purposes. We’re thinking about making a clock, relative to the real time by adding or deducting a set period and maybe using an Observer pattern.
    What is the best way to implement this?
    Any tips could be of great help,
    Thanks in advance.

    Assuming this is just for homework, you could use:
    public class Contract {
        public Contract(long creationDate, long contractPeriodInMillis) {}
        public getContractState(long currentTime) {
            if ((creationDate + contractPeriodInMillis) < currentTime) {
                return EXPIRED;
    }I'm not sure I'd endorse that as a real-world solution without more thought than I want to put into it on a Friday afternoon. :-P

  • 2330 - Hide operator details from the main screen?

    Ok, i gave up about making the clock smaller, but now if i did remove the clock and the date from the main screen. How can i remove also the operator name ? That's "Vodafone RO".
    Solved!
    Go to Solution.

    haija wrote:
    save failed error
    Is your Phone Network Locked ?
    If YES.. then this feature may have been locked..
    --------------------------------------------------​--------------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

  • Implementing 2 things?

    This is Java Applet 2D!
    Hello,
    I'm making a clock, but I want a second Thread, this need to have implements Runnable, however, I already use implements MouseListenerCan anybody help me out?
    Thanks :)
    PS: If this is too hard to do, could this piece of code give problems:
         public void paint(Graphics g)
              //there are some things done here, would be long to show
              bijwerk();
              public void bijwerk()
                        //also too much things done here to show
                        repaint();
              }

    The_Pointer wrote:
    implements Runnable, however, I already use implements MouseListenerCan anybody help me out?Try
    implements Runnable, MouseListenerAlternatively, put create a separate class for one (or both) of the interfaces.

  • MSI P7n Sli-Fi + Q9650 OC issues

    Alrighty, well i cant seem to get this combination stable here are the specs.
    MB - msi p7n sli fi
    CPU - q9650
    RAM - 4gigs of Corsair Dominator pc-8500
    Video - 2 Sli nvidia gts250
    at 3ghz on average through Intel Burn Test the q9650 will pull 23gflops, when overclocked to 3.7ghz it will pull 27 this seems as a sign of instability. Battlefield Bad Company 2 will crash occasionally but it will pass 20passes of IBT and 5hours of prime95 blend.
    settings for 3.7ghz (1666fsb x 9)
    cpu vcore + .0250(2 ticks above 0) = 1.275-1.29v seems to have massive v-droop
    Dram 833mhz    voltage 1.95v  6-6-6-18 2t
    what is it that is making the clock unstable, the board wont even post at 1600fsb 800mhz ram seems to be a FSB hole =\

    I recommend you read the following guide. It may not be the same board, but it covers all the necessary angles to test your components individual capabilities.
    http://www.scan.co.uk/images/shops/intel/Intel_Q9550_Core_2_Quad_basic_overclocking_guide.pdf

Maybe you are looking for

  • What's wrong with my MBP. (it's running more like a PC, than a Mac)

    I have a Mac Book Pro 15" 2.16 that I've had for nearly a year. It's always been far more buggy than my imac G5, but lately it's becoming unbearable. It's rare for me to get more than 24hrs of uptime, and the system frequently just freezes completely

  • External HDD won't mount to desktop from 1/2 of USB Ports

    I have an external Iomega HDD and when it's plugged into my left USB port it works fine but when it's plugged into the right USB port it won't mount to the desktop and I can't access it. It doesn't show up in the system profiler or disk utility eithe

  • Preview is TOO SLOW with RAW images! PLEASE HELP !!!

    Hi my name is Dario and I am Photographer. After upgrading from Mountain Lion to Mavericks on my current iMac preview app is sick slow with RAW images. On Moutain Lion viewing RAW files from my camera with normal OS Preveiw app was wonderful,fast and

  • Improving performance in a merge between local and remote query

    If you try to merge two queries, one local (e.g. table in Excel) and one remote (table in SQL Server), the entire remote table is loaded in memory in order to apply the NestedJoin condition. This could be very slow. In my case, the goal is to import

  • Is this normal storage behavior?

    I knew I'd need to transfer some files off-drive soon but the space I knew I had was suddenly evaporated and I was faced with the "Disk Full" error. As fast as I could delete documents the space freed was being used up even though all apps that could