No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have a JList that becomes populated from click on buttons. My question that i need help with is, is it possible to use a function of the JList to get the string from a selected index and make a substring? thanks. |
|
Alright im really struggling here... I have a multiple buttons that can be pushed and within the action listener i want the item added to my list model, and the running total to be incremented by the amount i specifiy within the actionperformed statement. for whatever reason i am having … |
|
First of all, i have a program where when i click a button an item is added to a list and at the same time i'm trying to get a double to display elsewhere. I am just in a funk right now and cannot think properly. what is good. when … |
|
Hey guys, i'm new to the Java and have stumbled on a few things. When a button is clicked on my program an string is printed to a JList model. Ex. Snickers Bar ............$1.00 Now what i am trying to do is keep a running total of all these items … |