how are you able to just freely place objects wherever you want? I use IntelliJ IDEA and I found no such Layout Manager that is so good. Please tell me how you did that, I am searching for it for months and have got no answer.
I have a problem. Think you can help? When you minimize the app (put in taskbar) and then go back in it, the menu resets (if u were in staff tab, then the default one- students tab will be selected), but the page remains the same (so if it resets to student tab, u wont see the content of student tab, but the blank page from staff). How to fix it? Thanks a lot!
Always impressive, i always learn new things from you, if you don't mind please make a tutoring if you drag your mouse or focus your mouse in the label the label will get bigger, sorry for my bad english :) GOD SPEED.
Waao its awesome thanks a lot for making this valuable video because of this video I've learned so much and many new things thank you so much for this valuable video #KeepToo
First of all, excelent videos dude, my UI´s now look great. Second, the method you are using to drag the window around is "locationByPlatform, right? i cant get it to work in my application. Anyway, great videos dude!
Thank you so much, glad you like. onMouseDragged use this code int x = evt.getXOnScreen(); int y = evt.getYOnScreen(); this.setLocation(x-xx,y-xy); OnMousePressed xx = evt.getX(); xy = evt.getY(); This should work.
Well I did something like this in the Constructor. But surely gonna go through the source code too. JFrame frame = this; headerPanel.addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent me) { // Get x,y and store them pX = me.getX(); pY = me.getY(); } public void mouseDragged(MouseEvent me) { frame.setLocation(frame.getLocation().x + me.getX() - pX, frame.getLocation().y + me.getY() - pY); } }); headerPanel.addMouseMotionListener(new MouseMotionAdapter() { public void mouseDragged(MouseEvent me) { frame.setLocation(frame.getLocation().x + me.getX() - pX, frame.getLocation().y + me.getY() - pY); } });
Hey i was just wondering if the icons you add can be functioned to do something . Like for example the "x" button , Can we configure it to exit out of the application? If yes , how ?
yes of course if you put the icon on a label and add a mouse clicked event to it EX: private void jLabel5MouseClicked(java.awt.event.MouseEvent evt) { System.exit(0); }
Hi man, I have a little question. Why when I change the look and feel to Windows one it still gives me the Nimbus? It doesn't change even I'm coding: if ("Windows".equals(info.getName())) ... Could you help me?
+Saúl Emmanuel Hi Saùl, there is a autogenerated code for look and feel in your designer/JFrame class, Check for //look and feel comment -> expand and change Nimbus to Windows. That is it.
I would love for you to try and create something similar to Microsoft's upcoming Project NEON (can be seen here mspoweruser.com/project-neon-windows-10-first-look/ ), if you could make it that would be awesome! Keep up the good work!
Every single time I have a doubt, I come to this channel.
i come too, because sometime i lose my motivation, and with this channel i recover my motivation again.
you are excellent bro in designing ...thank you for putting great videos.
i have no words for you sir.......you desire 100 million subscriber
Wow thanks , give me the 100mil
how are you able to just freely place objects wherever you want? I use IntelliJ IDEA and I found no such Layout Manager that is so good. Please tell me how you did that, I am searching for it for months and have got no answer.
Very simple and clean ui. Can I request video how to drag and drop borderless frame?
Teacher,
What is the name of this program that you took the images from?
I have a problem. Think you can help?
When you minimize the app (put in taskbar) and then go back in it, the menu resets (if u were in staff tab, then the default one- students tab will be selected), but the page remains the same (so if it resets to student tab, u wont see the content of student tab, but the blank page from staff).
How to fix it? Thanks a lot!
Always impressive, i always learn new things from you, if you don't mind please make a tutoring if you drag your mouse or focus your mouse in the label the label will get bigger, sorry for my bad english :) GOD SPEED.
image label sir
Daryl Catiloc Will do thanks.
It is possible to leave a JInternalFrame undecorated?
do you could the same with aJTabbedPane??
Waao its awesome thanks a lot for making this valuable video because of this video I've learned so much and many new things thank you so much
for this valuable video #KeepToo
Nikhil Kumar You are most welcome: 😊
your this channel is my one of the valuable resource for learning and I wish you to keep going on
well done "Best of Luck!!!" 👍☺
+Nikhil Kumar Thank you, more videos coming. Stay tuned 🙂
Absolutely
First of all, excelent videos dude, my UI´s now look great. Second, the method you are using to drag the window around is "locationByPlatform, right? i cant get it to work in my application. Anyway, great videos dude!
Thank you so much, glad you like.
onMouseDragged use this code
int x = evt.getXOnScreen();
int y = evt.getYOnScreen();
this.setLocation(x-xx,y-xy);
OnMousePressed
xx = evt.getX();
xy = evt.getY();
This should work.
Thank you so much!!
Este video es impresionante, magnifico
always loving your design.
what a skills you have....i love it n i love you
Thank you
Excellent video dude, nice work *__*
Thank you.
Magic UI Design xD XD its great
Denmark Salmon Glad you like 😉
Denmark Salmon Glad you like 😉
Please Tell me How To Change The Jtable Grid Color. i tried But Not Working . May Be Because OF Custom Look And Feel
Thank you so much man !
This is awesome. :)
How did you learned all these.? What is your secret reference guide.>?
+Akash Hansda Thank you, there is no reference guide, continuous practice and the love of design!
How could you manage to move the frame without the title bar?
Taqui Ahmed Check source code on git.😉
+Taqui Ahmed add MousePressed and MouseDragged events - check source code for more information.
Well I did something like this in the Constructor. But surely gonna go through the source code too.
JFrame frame = this;
headerPanel.addMouseListener(new MouseAdapter() {
public void mousePressed(MouseEvent me) {
// Get x,y and store them
pX = me.getX();
pY = me.getY();
}
public void mouseDragged(MouseEvent me) {
frame.setLocation(frame.getLocation().x + me.getX() - pX,
frame.getLocation().y + me.getY() - pY);
}
});
headerPanel.addMouseMotionListener(new MouseMotionAdapter() {
public void mouseDragged(MouseEvent me) {
frame.setLocation(frame.getLocation().x + me.getX() - pX,
frame.getLocation().y + me.getY() - pY);
}
});
Taqui Ahmed No problem, if it works that's awesome.☺
What's the program where you get the icons? Thanks for the tutorial.
You are welcome.The program is icons8 by icons8.com/ :
Hey i was just wondering if the icons you add can be functioned to do something . Like for example the "x" button , Can we configure it to exit out of the application?
If yes , how ?
yes of course if you put the icon on a label and add a mouse clicked event to it EX:
private void jLabel5MouseClicked(java.awt.event.MouseEvent evt) {
System.exit(0);
}
O thanks a lot dude , ive been trying to figure it for the past two days and i really didnt know what went wrong . Thanks a lot for clearing it up .
your welcome !
How Student Label is by default clicked when you start the program?
+vikram singh set default background [selected color ]
can you please elaborate a little, I didn't get you ?
Hi man, I have a little question. Why when I change the look and feel to Windows one it still gives me the Nimbus? It doesn't change even I'm coding: if ("Windows".equals(info.getName())) ... Could you help me?
+Saúl Emmanuel Hi Saùl, there is a autogenerated code for look and feel in your designer/JFrame class, Check for //look and feel comment -> expand and change Nimbus to Windows. That is it.
Unfortunately it is not working for me :/ Despite I chaged Nimbus to Windows, do I have to donwload something apart?
Ni you dont. -
thank you for every tutorial
can i have a words with you
hi keep too,i like your channel.plz give me this template full screen.and next video design a inventory control system.thank you
HARITHA KAUSHAN Thank you : please check description for source.
Great dear,I Really like your channel.Well done!
Good
GREAT
I would love for you to try and create something similar to Microsoft's upcoming Project NEON (can be seen here mspoweruser.com/project-neon-windows-10-first-look/ ), if you could make it that would be awesome! Keep up the good work!
Thank you. Pretty nice. I like the acrylic component and the background effect. I will try out. Please go on too. ;-)