본문 바로가기 메뉴 바로가기

MLog

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

MLog

검색하기 폼
  • All (99)
    • Linux (17)
      • Tomcat (1)
      • Ubuntu (7)
    • Java (13)
      • Swing (7)
      • Android (3)
      • Eclipse (5)
      • Spring (3)
      • POI (12)
    • Web (5)
      • Java Script (2)
      • CSS (0)
      • PHP (0)
      • HTML (2)
      • JSP (1)
    • Database (13)
      • MySQL (13)
    • Others (9)
    • Sales (0)
    • AVR (1)
    • Windows (7)
      • VBA 매크로 (2)
      • Excel (4)
    • 짤 (0)
    • 기기 (3)
  • 방명록

[Swing] Remove "All Files" option from JFileChooser

public class test { public static void main(String[] args) { new Frame(); } } ------------------------------------------------------------------------- import javax.swing.JFileChooser;import javax.swing.filechooser.FileNameExtensionFilter; public class Frame { private JFileChooser fc; public Frame() { fc = new JFileChooser(); fc.setFileFilter(new FileNameExtensionFilter( "Microsoft Excel", "xls"..

Java/Swing 2011. 7. 20. 08:40
[Android] LocationManager를 통한 위치 정보 받아오기.

package com.gps; import android.app.Activity; import android.content.Context; import android.location.LocationManager; import android.os.Bundle; public class GPSTest extends Activity { private LocationManager location; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); lo..

Java/Android 2011. 7. 15. 15:16
[Swing] FlowLayout 간단한 사용법.

Constructor & Option Values * - FlowLayout() * - FlowLayout(int align) * - FlowLayout(int align, int hgap, int vgap) * * CENTER / LEADING / LEFT / RIGHT/ TRAILING - hgap : Component간 수평 거리 정의 - vgap : Component간 수직 거리 정의 - align : Component정렬 기준 정의 Panel Source import javax.swing.JPanel; import javax.swing.JLabel; import java.awt.FlowLayout; import javax.swing.border.LineBorder; import java.awt...

Java/Swing 2011. 7. 15. 14:39
이전 1 ··· 28 29 30 31 32 33 다음
이전 다음

Blog is powered by Tistory / Designed by Tistory

티스토리툴바