no...
(wish it was not the holidays for school but my teacher don't know this ether -shi-)
and some of the code i cant change because of the editor > NetBeans <
Type: Posts; User: op117
no...
(wish it was not the holidays for school but my teacher don't know this ether -shi-)
and some of the code i cant change because of the editor > NetBeans <
package trivia;
import java.awt.CardLayout;
/**
*
* @author odis
*/
public class MainJFrame extends javax.swing.JFrame {
int CAL, OUT;
no the code is still the same, was in the entire code posted i think in post #2
all i see is img updates and how it's placed in a jframe.
JLabel (Java 2 Platform SE v1.4.2)
is this it?
<CODE>
public void setText(String text)
<CODE>
because that is what im using
im looking in the API and have not found the up method...
16751674JLabel (Java 2 Platform SE v1.4.2)
yes, the problem is that is will run and display a 0 but not up date
afew screen shots
jLabel4 = new javax.swing.JLabel(""+OUT);
contentions to force string out put
we are both a bit confused but we will figure it out...
and i added a graf to try to help1673
... a bit confused so i have to make a new method? so just trying to add and call the variable will not work like using a CLI based program? can you give a example of how its done?
if the right button is clicked it add +1 to the value thin displays it in the text jLabel to say 1 , 2 ,3 ,4 ect only if the right button is pressed
i meant to change the valble CAL to OUT for out put if this may help here is the entire code it runs but i need to fix this little bug be 4 i finish the program becouse it some what make the program,...
im having trouble with passing a value be tween jbuttons in a card layout, im having the buttion add 1 to a value that is called in the outer jframe by a text filed
// the values are called...
i have declared the value of 0 to ScoreQuiz
now after the user hits the button it adds 1 to the value of ScoreQuiz, and moves to the next card in the set
the next card has a label to display the...
im trying to find out how to pass
INT ScoreQuiz=0;
after button is pressed that the code for it is
ScoreQuiz++;
((CardLayout)(mainPanel.getLayout())).show(mainPanel, "card7");
i will search the bowels of the internet and will post links latter on of what i find search time < 2 weeks probably of google pages ect...
can a jTable manage like text files, creation, deletion, moding of the files? and reference the variables, or have it saved in all one file so the jTable can lode up with the content of the file in...
jTable for the questions / answers can that store it efficiently? also can it be called from another part of the application, was doing some research and found little a bout jTables.
if you could youse a jTable wood it be a possible solution? How wood that work?
here is a explanation i found for this.
java - How do I access the content of folders inside a jar file? - Stack Overflow
import java.util.*;
import java.net.*;
import java.util.jar.*;
class...
Your approche sounds nice, also I'm making this for a compintition, and will latter realse this to teachers for their class room reviews as free were. How wood a jTable to create and manage all the...
whats the best set up for the text files 5 of them like this? answers1.txt, answers2.txt, answers3.txt, answers4.txt, questions.txt, or run it all in the same file?
making a portable text based trivia game, whats the best way for the question and answer system set up. TXT files, DB., ECT. also the PC that will run this will not have access to any network...
this is what im converting to card layout..1410 in a .zip file site up loader wood not let it be any outer way...
there is all the .java files note no logic is done trying to get GUI working first...
for netbeans it's different due to the code generation ect. cant find any thing on this for 7.2 version that is were im having trouble.
there is no good tourtals online for this here is my code + errors
private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {
CardLayout card = (CardLayout)...
will try the GUI resigned did not know a bout that. will look in to it thinks.