이미 많은 도움을 얻었지만 도움이되지는 못했습니다. 저는 java/netbeans에 익숙하지 않아서 제 질문에 대한 대답이 아주 간단하다고 생각합니다 (최소한 나는 그것을 원합니다). 난 어려움없이 NetBeans에서 프로젝트를 실행했지만 "Clean & 프로젝트를 빌드"하고 jar을 열려고하면 아무 일도 일어나지 않습니다. 또한 cmd를 시도했다 :이항아리에서 만든 Neatbeans doesnt work
java -jar mapomizer.jar
만하고있다 하나의 경고, 프로젝트를 빌드 할 때 :
과 함께 설정되어 있지 부트 스트랩 클래스 경로경고 : [옵션] -source 1.7
편집 : 내 TaskManager 때로는 자바가 실행되고있다,하지만 난 내 jFrame opend중인 참조하십시오. 여기에 전체 코드 :
package Mapomizer;
public class Main {
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(JFrame_Choose_Map.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
@Override
public void run() {
new JFrame_Choose_Map().setVisible(true);
}
});
}
}
무엇이 오류입니까? – Ravi
'JFrame_Choose_Map '이란 무엇입니까? 더 나은 도움을 받으려면 [MCVE] 또는 [단락, 자체 포함, 올바른 예] (http://www.sscce.org/)를 게시하십시오. –
프로젝트의 기본 클래스 속성을 설정 했습니까? – MadProgrammer