@@CSCORNERSunitaRai Java project for 2nd semester (oop in Java) give me a project idea which should cover oops concepts please and Thanks for your reply
Thank you, Sunita - it was a great refresher! I have not used Swing in the longest time - felt like doing a little brush-up tutorial, and yours was excellent!
How do you use panelMain from HelloDemo when it's a private attribute? I set my contentPane in the constructor, the program works fine in the intellij but when I package the jar and try to open it an error message appears saying that my panelMain is null
panelMain is private but it is declared inside class so it will be available to all methods of the class. Check u hv declared variable inside class Or not
@@CSCORNERSunitaRai I discovered the problem, when using the intellij GUI Design, by default it inserts the forms in bytecode and uses the IntelliJ IDEA GridLayout layout, the solution was to change the config to generate the forms in the class and change the layout to GridBagLayout, with that the application packaged correctly.
How can I switch between .form files just by clicking a button? What code should I write in the ActionListener? I created a Home .form and I need to switch to another form that I created by clicking a button.
before You start in intelij CE 2024.3.1 you have to open File-> Settings -> choose Plugins from list and download (search in filed with peel) Swing UI Designer in Marketplace, then restart
I write: DefaultListModel model; public setText() { button1.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { model =new DefaultListModel(); model.addElement("aaaaa"); model.addElement("bbbb"); model.addElement("cccc"); setText.setModel(model); } }); but it don't work.
*_Got a question on the topic? Please share it in the comment section below and I will answer it for you._*
I am Facing Some Problems in java
@@SohailKhan-vq1rz what problem you are facing?
@@CSCORNERSunitaRai Java project for 2nd semester (oop in Java) give me a project idea which should cover oops concepts please and Thanks for your reply
@@SohailKhan-vq1rz You can try Bank System or Employee System
@@CSCORNERSunitaRai Mam, Is it useful to learn swing now as everything is moving towards web based and there is also its successorJavafx.
Thank you, Sunita - it was a great refresher! I have not used Swing in the longest time - felt like doing a little brush-up tutorial, and yours was excellent!
Wonderful!😊please subscribe
That was helpful for me as a beginner. Thanks for making such content in very easy and reliable manner.
Glad you liked it👍Please subscribe 😊
Thank you so much Sunita! greatings from Brazil!
You're welcome! Please subscribe👍 Love from INDIA
Make a scientific application and snake game with gui
. Your explanation is much better than others ever I seen
Glad you liked my contents 👍 I'll surely try
@@CSCORNERSunitaRai thanks mam
Great content Sunita, thanks!
Glad you liked it!
thanks for this video it really helped. I will do my best to support you
Great tutorial, thanks for sharing! ❤
Thanks for watching!😊please subscribe👍
Madam Very Nice Video ,This video solved my Problems,Thanks
Glad it helped you👍 stay connected.. Please go through my channel for other stuff related to java
@@CSCORNERSunitaRai Okay
@@CSCORNERSunitaRai please tell me about bank project
There will be a lot of classes and which will be child and which will be parent
sent me your email here please
Thank you for the tutorial.
You're welcome👍 please subscribe
Nice explanation, everything is clear. Thank you for sharing.
Glad you liked it👍Keep watching
Your voice is awesome ma'am ☺️
Really😂
Yes ma'am bcz of the way of talking ❣️
ma'am we need DSA video
@@aaravmaht1255 😍
Really a good video to understand, Thank you so much ma'am
Glad to hear that👍please subscribe
Hi ma'am new student nice video....
Hii
Welcome to my channel 💫
Plz subscribe
OMG THANK YOU A LOOOOT❤
Mam can i use Visual Studio for C and Java programming ?
Yes
Greetings from Perú in South America.
That's great👍 stay connected
Hi, do you recommend this IDEA for interface creation practic?
I prefer eclipse
I can't see the Swing UI designer in my IntelliJ any help😢
Check this video
ruclips.net/video/5J-Vqu9tRO8/видео.html
Thank you for a nice tutorial
You're welcome 👍Please subscribe
How do you use panelMain from HelloDemo when it's a private attribute? I set my contentPane in the constructor, the program works fine in the intellij but when I package the jar and try to open it an error message appears saying that my panelMain is null
panelMain is private but it is declared inside class so it will be available to all methods of the class.
Check u hv declared variable inside class Or not
@@CSCORNERSunitaRai I discovered the problem, when using the intellij GUI Design, by default it inserts the forms in bytecode and uses the IntelliJ IDEA GridLayout layout, the solution was to change the config to generate the forms in the class and change the layout to GridBagLayout, with that the application packaged correctly.
Superb this video is very health full for me 👍👍 @RitikCoder
Glad my video helped you👍 plz subscribe
A very well explanation👍
Glad you liked it
How can I switch between .form files just by clicking a button? What code should I write in the ActionListener? I created a Home .form and I need to switch to another form that I created by clicking a button.
You need to create object of class which u want to open and then use setVisible(true)
How can you set Null layout when creating in GUI?
setLayout(null)
😃 great
Thnx
How to resize and reposition text field?
u can do trough coding as well as design time
@@CSCORNERSunitaRai can you share code please
Very clear and functional exercise. I'm only struggeling to discover how to see the code of the .form
Thank you so much👍
Thank you very mush
You're welcome👍please subscribe😊
before You start in intelij CE 2024.3.1 you have to open File-> Settings -> choose Plugins from list and download (search in filed with peel) Swing UI Designer in Marketplace, then restart
Thank you for sharing this information. It's helpful for everyone!
Hello mam,
I followed your steps but I couldn't find a JMenu, JMenuBar or JMenuItem in the drag and drop list... what should I do?
But yisme to ham phle usko desine kr rhe h dirct uska codes to bad m likh re h dirct horha h thora thora wordpress software jesa h
jab hum IDE use karte hai to humara kaam easy ho jata hai.
But as a freshers samjna thora difficult h to ap essy way m sikha skte hoo kyy
Nicely explained 👍
Thank you so much👍
Easy and working. Thanks🙏
Glad it helped you👍
Hi, how call one form from another form with IntelliJ IDEA?
U need to create object of form
Thanks. Can you help me how to load ArrayList to JList in Intellij Ide?
I write:
DefaultListModel model;
public setText() {
button1.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
model =new DefaultListModel();
model.addElement("aaaaa");
model.addElement("bbbb");
model.addElement("cccc");
setText.setModel(model);
}
});
but it don't work.
Mam what is demonstrate project how to create a demonstrate project by intellij idea with groovy language grails framework please give me an idea.
Superb session
Glad you liked it👍
Thank you for the info
You're welcome👍
how can i make this in visual studio ?
U mean vs code?
@@CSCORNERSunitaRai yes!
Why for me after click the actionlistener not show anything why?
I have the same problem
Need to check
So usefull content ma'am
Thank you so much👍
nice one
Thank you
nixe and neat
Thank you
讲的很仔细 。 谢谢了!
nice information mam
Thank you so much👍
I'm from Brazil, your video is very good. I learn English and Java with it.
Thank you Sunitaji
You're welcome
Thank you
You're welcome 👍Please subscribe
Nice👍👍
Thank you
very useful video
Thank you so much👍
java swing in 2022 is nostalgia af
how to dispose in intellij idea?
thanks
You're welcome!
gracias!
thank you so much
You're welcome👍 keep watching
Thank you mam
You're welcome👍
Sunita Rai Stop fingering the keyboard that's freaky. 😅
Ok
Muito bom
Please Guide me for java Course ,
First complete java basics and then go for advanced java
@@CSCORNERSunitaRai okay Madam 👌
Very useful but every time she said "GOOII" instead of G.U.I it kinda triggered me ngl xD
Thank you so much👍
Both r correct.
U can call it G. u. I or GUI
to center frame write: myForm f = new myForm();
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
double screenSizeWidth = screenSize.getWidth();
double screenSizeHeight = screenSize.getHeight();
f.setBounds((int) ((screenSizeWidth-800)/2),(int) ((screenSizeHeight-600)/2),800,600);
?