How to Make Notepad in Java (9/8) - Keyboard Combination Shortcut

preview_player
Показать описание
In this extra video for the notepad tutorial, we're going to implement keyboard shortcuts such as "Ctrl + S" so you can save a file and select/activate a tab on the JMenuBar by using keyboard combinations.

#programming #tutorial #java
Рекомендации по теме
Комментарии
Автор

Glad to see you start uploading more. Thanks for all of your tutorials, they've been extremely helpful for me!

polar
Автор

I absolutely love all your programming series. I have actually learned so much from you and your teaching and I am so glad I found your channel. I definitely will be taking all skills I have learned from you and applying it to my computer science classes this semester!

justinrnichols
Автор

Thank you so much, RyiSnow!!! Your tutorials 've been really helpful for me to develop my own Notepad. Greetings from Buenos Aires, Argentina.

ramip
Автор

Hello, I was wondering if you can make a tutorial on how to create a "Smart Undo". Basically, it allows you to undo edits arbitrarily (not just last edit). You can also create groups of edits and undo all at the same time. Thank you.

twixareforkids
Автор

Sir, make a tutorial for cut, copy, paste

SumanDas-dxet
Автор

will you make some videos about kotlin or android?
thank you soooo much for ur videos, its so helpful!

ЮляКузевич
Автор

Hi, after actiuvating my key handler for save and save as, my application breaks

allanbranson
Автор

How can we add 'view' option containing status bar??

anantkumar
Автор

Sir please make a video on how to develop cut, copy and paste option using menu buttons in this notepad

avadhutpatil
Автор

how do you add tabs that let you open multiple windows with tabs? like Notepad++

JXDgamerlife
Автор

how to add color palette to this notepad
package color;
import java.awt.Color;
import javax.swing.JColorChooser;
import javax.swing.JFrame;
import javax.swing.JPanel;
import
import

public class Main implements ChangeListener {

JFrame window;
JColorChooser cc;
JPanel colorChooserPanel, colorPanel ;

public static void main(String[] args) {
new Main();
}

public Main() {

window = new JFrame();
window.setSize(800, 600);


window.setLayout(null);

colorChooserPanel = new JPanel();
colorChooserPanel.setBounds(100, 70, 600, 350);



cc = new JColorChooser();


//to Remove preview panel
cc.setPreviewPanel(new JPanel());







colorChooserPanel.add(cc);

colorPanel = new JPanel();
colorPanel.setBounds(200, 420, 400, 100);

window.add(colorPanel);

window.setVisible(true);
}
public void stateChanged(ChangeEvent e) {

Color newColor = cc.getColor();

}
}

harfooch
visit shbcf.ru