No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey there! I have been trying to get all my JTable cells to be not Editable so you can't change the info displayed on the JTable. It sounds easy to do but I cant seem to do it. Any help would be appreciated Thanks!! |
|
HI, All I want to do is put a straight line under my 3 labels which I have loaded into a JFrame. After my JFrame has loaded I use the method `repaint()` which is supposed to call: public void paintComponent(Graphics comp) { Graphics2D comp2D = (Graphics2D)comp; comp2D.drawLine(0,60,100,60); } Which does … |
|
Hi all, I have a JOptionPane with a YES button and a NO button. All I want to do is be able to press the left or right button on the keyboard to change the focus on the buttons. By using the mouse it works. Is there some kind of … |
|
Heya all, Is there a way to get the date and time that is set in the Cmos and not the date and time which is set in Windows. My Windows date and time is usually wrong. Thanks! |
|
Heya, Are there any possibilities to deactive or hide the "minimize" button on the JFrame like you can do with the "exit" button. I got around it by setting a listener for minimizing the window. When the window is minimized, I restored it and bring it to front again. Thanks |
|
Heya all, I have a small problem. I have created a phonebook program for myself. I am using MySQL to store all the data. Just the usuallly stuff like name, tel No, address etc. I have about 400 entries in MySQL. ON MY SEARCHING MENU: I use a JTextfield to … |
|
Hi It is difficult to explain my problem. I have 2 classes. 1 is called System and the other Phonebook. There is a button called phonebookButton on a frame which a have created in the System class. When you press the button, I create an Object of the Phonebook class(Phonebook … |
|
HI I'm very new to java. I have multiple JTextfields(about 11) on my JFrame. They are arranged in 1 column down my Frame. I would like to know how to move from the first JTextfield to the JTextfield of my choice(eg.It must move from 1st JTextfiled to the 5th JTextfield … |