Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Опубликовано:

So i am a newb beginner at Java. started learning about 2 months ago through internet tutorials.

 

So I have created a window which has many items like JLabels and JList etc.

And then there is a JButton at the bottom which says "Next".

 

When I click the Next button I want everything on the screen so far to disappear and show stuff from another class that I have created.

 

How can I do this without opening a new window for the other class.

any tips would be helpful.

 

Ps . I know about ActionListeners. I just dont know the exact code to open new stuff on the same window.

PSs . Can u suggest some boards where I can get answers to such questions about Java.

Featured Replies

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.