Chernenko Nencor

Greenhorn
+ Follow
since Nov 16, 2015
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Chernenko Nencor

Rob Camick wrote:

Cl_Main mainform = new Cl_Main();



What is that code for. Get rid of it.



on Cl_main there's a desktoppane, i want the internalframe attached inside.

Rob Camick wrote:I gave you a link to the Swing tutorial for a reason. I don't know why you are changing the code so dramatically.

If you want to add a label to the internal frame, then add the label when you create the internal frame.




i've tried your code and still didn't work

Rob Camick wrote: I also have no idea what all this code is for:




i am intended to use the code above as my label to be printed on jpanel inside Jinternalframe

Rob Camick wrote: The class already is a JFrame, there is no need to create a new JFrame.

You can't use setContentPane() twice. The desktop pane is the content pane for the JFrame. If you replace the content pane with another panel, then you no longer have a desktop pane to add internal frames to.



take a look at the following picture,


my internalframe still move exceeding the desktoppane

and here's my current code
9 years ago
hello,i dont understand why does my Label is not showing up,


currently, i am able to show JInternalframe on my JDesktoppane. i just don't understand why my label is not showing inside Jinternalframe
9 years ago

Campbell Ritchie wrote:Did you set any sizes for the frame or the internal frame?


neither did i,

which one do i have to set the sizes, frame, or JInternalframe ?
9 years ago
hello, i've made some code here


when i debug the Application, it shows


here's my code on the Main Form (with Menubar on it)


how can i show MasterConsole internalframe ?
why is Labelformtitle not showing ?
9 years ago
Is it possible to get done with java 6 ?


And idk if java 6 sill can be downloaded tho,


Btw is there anything wrong with my code beside JAVA Version ?
9 years ago
hello javaranch !

i was trying to make my own class to connect to JDBCODBC Ms Access driver, it goes like this



then, i got form login, with LOGIN button inside. i have added the following code to my login form



when i tried to login, the following error show


i thought the error come from RETURN NULL inside my ConnectAccess.GetData function. idk why eclipse put quickfix RETURN NULL there,

how do i know if i can "PING" my MsAccess Correctly ?
how to solve the error ?

thanks !
9 years ago