Yeah, i know, i actually just started learning coding in Java for 2 weeks only, i will do up more research base on what you gave. Thanks, i am desperate because this is a project and the only part i am stuck is this part.
By the way, i stated i am not sure how to do it in NetBeans your way, maybe could you like guide/explain to me, cause NetBeans has so much thing i can't add or edit, i have to customize code to edit the codes.
User Profile
Collapse
-
But i don't really know how to use yours, sorry. I am researching on it soon, and NetBeans i can't type codes in it, i have to use set event to it then customize code, or am i coding in the wrong way, please guide me, thanks.Leave a comment:
-
But, where does AbstractButton comes from, or it is just an example, cause now i have them group, my idea was like
Code:if(e.getSource()==jbSeries) { seriescalculations; } else if(e.getSource()==jbParallel) { parallelcalculations; }Leave a comment:
-
What do you mean by third button? The "Calculate" button? Could you like guide me on a head start for it. And yeah, i noticed only one of the button will be selected when i run it.Leave a comment:
-
Ok, i got the idea how to use the ButtonGroup, but i still would like to know how do i implement the ActionListener code? I have made my Series/Parallel button grouped to the ButtonGroup.Leave a comment:
-
Jos, Sorry, but i do not still get it on how to use the GroupButton, did you see the attached image i attached, it is the current GUI of my application, i read about the ToggleButton and it says it implements check box and radio button, and in my knowledge, toggle means like the state of 0 when toggled 1 then toggle back to 0 like for binary. Sorry, maybe i am totally all wrong, but i just need a guide on someone to tell me how to do it, to let my...Leave a comment:
-
Downloading and will read, if i do not understand hope someone will give me an head start of the code or something.
Thanks.Leave a comment:
-
Sorry for the bump, i have not tried ButtonGroup, can you like guide me on it, as i am not sure, as i said, my first time using NetBeans, i can't find a guide which really explains on how to use ButtonGroup.Leave a comment:
-
-
I have attached how my GUI looks like, please comment and help me, thanks.
...Leave a comment:
-
I know about ActionListener and ActionPerformed , but i do not know how to use the groupButton, i am new to NetBeans, this is actually my school project, and my lecturer asked us to do using NetBeans, which we do not know how to use it, as we use Notepad to learn Java coding, its like so different in NetBeans, so i needed help.
Thank you, help is going to be really appreciated.Leave a comment:
-
Need some help for a application to computation of series parallel circuits!
Hi, my name is WanYee, i need some help on an application i am currently doing, the application is like a calculator to find current resistance and etc... of a series-parallel circuit, my problem here is, if i have 2 buttons named "Series" & "Parallel", when the user clicks on "Series" noting happens first, but when i press the button "Calculate" , i want to let my calculate button to use the series formula,...
No activity results to display
Show More
Leave a comment: