Page 480 - 2
P. 480

image = new ImageIcon(HUD.class.getResource("/NB02.png"));
                            }else if(data.getW_wf().trim().equals(" 구름 많음")){
                                    image = new ImageIcon(HUD.class.getResource("/NB03.png"));
                            }else if(data.getW_wf().trim().contains(" 비")){
                                    image = new ImageIcon(HUD.class.getResource("/NB08.png"));
                            }else if(data.getW_wf().trim().contains(" 눈")){
                                    image = new ImageIcon(HUD.class.getResource("/NB11.png"));
                            }else if(data.getW_wf().trim().contains(" 비 눈/ ")){
                                    image = new ImageIcon(HUD.class.getResource("/NB12.png"));
                            }else if(data.getW_wf().trim().contains(" 눈 비/ ")){
                                    image = new ImageIcon(HUD.class.getResource("/NB13.png"));
                            }else if(data.getW_wf().trim().equals(" 흐림")){
                                    image = new ImageIcon(HUD.class.getResource("/NB04.png"));
                            }
                            Image_panel.removeAll();
                            JLabel tmp = new JLabel(image);
                            Image_panel.add(tmp);
                    }
                    public static void SetGPSSpeed(Bluetooth_Data data){
                            Text_Speed.setText(data.getGPS_speed() + "km/h");
                    }

                    synchronized public static void SetPoinInfo(Bluetooth_Data data){
                            ImageIcon icon = null;

                            double dis = distance(data.current_Point.getLat(), data.current_Point.getLon(), data.getNext
            _Points().getLat(), data.getNext_Points().getLon(),"meter");
                            HUD.Log(" 남은 거리: " + dis + " \n");
                            Discription.setText("<html>" + data.getNext_Points().getRoad_description() + "</tml>");


                            if(data.getNext_Points() != null){
                                    if(dis>200){
                                            icon = new ImageIcon(HUD.class.getResource("/11.  직진S.png"));
                                            distance_label.setText("");
                                    }
                                    if(dis<200){
                                            distance_label.setText(String.valueOf((int)dis + "m"));
                                            switch (data.getNext_Points().getRoad_turnType().trim()){
                                                    case "12" : icon = new ImageIcon(HUD.class.getResource("/12.
            좌회전_256S.png")); break;
                                                    case "13" : icon = new ImageIcon(HUD.class.getResource("/13.
            우회전_256S.png")); break;
                                                    case "14" : icon = new ImageIcon(HUD.class.getResource("/14.
            U 턴_256S.png"));break;
                                                    case "15" : icon = new ImageIcon(HUD.class.getResource("/15. P
            턴_256S.png"));break;
                                                    case "16" : icon = new ImageIcon(HUD.class.getResource("/16. 8
            시 방향 좌회전S.png"));break;
                                                    case "17" : icon = new ImageIcon(HUD.class.getResource("/17. 1
            0 시 방향 좌회전S.png"));break;


                                                         - 480 -
   475   476   477   478   479   480   481   482   483   484   485