JBuilder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
J빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

J빌더 Q&A
[192] unable to start runtime due to incomplete configuration에러가 나네욤.
garam38 [] 2216 읽음    2003-02-08 17:01
JAVA 책에 있는 코드를

제 나름대로 JBuilder로 옮겨서 실행을 해 봤는데요.

컴파일시에는 에러가 안 생기는데

실행을 하면

unable to start runtime due to incomplete configuration

이런 에러가 뜹니다.

도대체 뭐가 잘 못 된거죠?

전 JBuilder 8을 씁니다.

(파일 내용을 첨부합니다.
DirectoryJTree에서는 디렉토리를
FileTableModel에서는 파일을 보여주는 클래스이고
밑에 파일은 JExplorer이라는. DirectoryJTree와 FileTableModel을 불러와서 각각 하나씩의 JScollPane에보여주는 파일입니다.
아마 제 생각으로는 제가 JExplorer파일을 소스 그대로 친게 아니라,
디자인 탭에서 콤포넌트를 추가하고 적당한곳에 조금 수정을 가한것이 어딘가에 문제가 생긴것 같습니다.)

고수님들의 많은 부탁하래염~ ^^"

package jex;
import java.io.*;
import java.awt.*;
import java.util.*;
import java.beans.*;
import java.awt.event.*;
import javax.swing.*;
import com.borland.jbcl.layout.*;

public class JExplorer extends JFrame implements PropertyChangeListener{
  FileTableModel model;

  static ResourceBundle bundle;

  static
  {
    try
    {
      bundle = ResourceBundle.getBundle("JExplorerResourceDundle");
    }
    catch(MissingResourceException mre)
    {
    }
  }

  XYLayout xYLayout1 = new XYLayout();
  JScrollPane jScrollPane1;
  JScrollPane jScrollPane2 = new JScrollPane();
  JTable table;

  public JExplorer()
  {
    super("JExplorer");
    DirectoryJTree dt = new DirectoryJTree();
    dt.addDirectoryPropertyChangeListener(this);
    jScrollPane1= new JScrollPane(dt);
    table = new JTable(model = new FileTableModel());
    try {
      jbInit();
    }
    catch(Exception e) {
      e.printStackTrace();
    }
  }
  private void jbInit() throws Exception {
    this.getContentPane().setLayout(xYLayout1);
    this.getContentPane().add(jScrollPane1, new XYConstraints(5, 10, 236, 421));
    this.getContentPane().add(jScrollPane2,   new XYConstraints(249, 13, 263, 423));
    jScrollPane2.getViewport().add(table, null);
  }

  public static String getResoutce(String key)
{
   return bundle.getString(key);
}

public static String[] getResourceArray(String key)
{
   return bundle.getStringArray(key);
}

public void propertyChange(PropertyChangeEvent evt)
{
   File dir=(File)evt.getNewValue();
   model.setDirectory(dir);
   table.updateUI();
}


+ -

관련 글 리스트
192 unable to start runtime due to incomplete configuration에러가 나네욤. garam38 2216 2003/02/08
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.