![]() |
|
|
Регистрация Восстановить пароль |
Повторная активизация e-mail |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
![]() |
|
Опции темы | Поиск в этой теме |
![]() |
#1 |
Регистрация: 21.02.2013
Сообщений: 7
|
![]()
Здравствуйте! Помогите, пожалуйста, понять что за ошибка) Заранее благодарна!
java.lang.VerifyError: (class: ATMGUI, method: initOutComponents signature: ()V) Incompatible argument to function at java.lang.Class.getDeclaredMethods0 (Native Method) at java.lang.Class.privateGetDeclaredM ethods(Class.java:2442) at java.lang.Class.getMethod0(Class.ja va:2685) at java.lang.Class.getMethod(Class.jav a:1620) at sun.launcher.LauncherHelper.getMain Method(LauncherHelper.java:494) at sun.launcher.LauncherHelper.checkAn dLoadMain(LauncherHelper.java:486) Exception in thread "main" Java Result: 1 ![]() |
![]() |
![]() |
![]() |
#2 | |
Форумчанин
Регистрация: 24.12.2012
Сообщений: 639
|
![]() Цитата:
ICQ: 677936656 Gmail: ekEmbed@gmail.com
|
|
![]() |
![]() |
![]() |
#3 |
Регистрация: 21.02.2013
Сообщений: 7
|
![]()
Вот этот метод, возможно вы увидите то чего не вижу я....Спасибо большое)
private void initOutComponents() { userAuthenticated = false; // user is not authenticated to start currentAccountNumber = 0; // no current account number to start //screen = new Screen(); // create screen //keypad = new Keypad(); // create keypad cashDispenser = new CashDispenser(); // create cash dispenser depositSlot = new DepositSlot(); // create deposit slot cardSlot = new CardSlot();// create card slot bankDatabase = new BankDatabase(); // create acct info database jPanelScreen.add(screen); screen.setLocation(0, 0); jPanelkeypad.add(keypad); keypad.setSize(280, 160); jPanelDepositSlot.add(depositSlot); jPanelDepositSlotDraw("/DepositSlot.jpg"); depositSlot.setSize(170, 20); depositSlot.setLocation(15, 75); depositSlot.setEnabled(false); depositSlot.setText("Put The Money"); jPanelInsertCard.add(cardSlot); jPanelInsertCardDraw("/InsertCard.jpg"); cardSlot.setSize(170, 20); cardSlot.setLocation(15, 75); cardSlot.setEnabled(false); cardSlot.setText("Insert Card"); this.setLocationRelativeTo(null); } |
![]() |
![]() |
![]() |
#4 |
Форумчанин
Регистрация: 24.12.2012
Сообщений: 639
|
![]()
А зачем смотреть код метода? У вас же проблема с его вызовом...
ICQ: 677936656 Gmail: ekEmbed@gmail.com
|
![]() |
![]() |
![]() |
#5 |
Регистрация: 21.02.2013
Сообщений: 7
|
![]()
спасибо большое, уже разобралась)
|
![]() |
![]() |
![]() |
![]() |
||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Ошибка в коде Java | zorgies | Общие вопросы по Java, Java SE, Kotlin | 1 | 19.10.2010 15:18 |
Ошибка при Java=>class | JohnZV | Общие вопросы по Java, Java SE, Kotlin | 3 | 20.06.2010 16:45 |
Помогите справиться с java.lang.OutOfMemoryError: Java heap space | Levilaulada | Помощь студентам | 1 | 17.05.2009 10:59 |