69 Posted Topics
Re: 1st of all, what must happen when u click on what? do u want it like the game? to click and the block moves over to the open slot? or just 1 click to sort it all?? | |
Re: what is currently happening when you run this? plz to add code tags to you code | |
Re: haha rule 1: never learn code out your head rule 2: think logically rule 3: practice... | |
Re: your code will have to be done here... [CODE]public void actionPerformed (ActionEvent e){ JFrame frame2 = new JFrame ("Binary to Decimal Conversion"); frame2.setVisible(true); frame2.setSize(500,300); JLabel label = new JLabel ("Binary"); JPanel panel = new JPanel(); JButton b2d = new JButton("Convert to Decimal Now!"); JTextField text = new JTextField(25); frame2.add(panel); panel.add(text); … | |
Re: a simple if-else statement could do this if type = admin goto adminPage else goto userPage | |
Re: normally such assignments provide a formula to work it out? [QUOTE]P = (Pv*R) / [1 - (1 + R)^(-n)][/QUOTE] that formula will work out the monthly payments ... where Pv = amount of loan APR = Annual Percentage Rate (one year time period) R = Periodic Interest Rate = APR/ … | |
Re: [QUOTE=C Newbie;1161778] [B]positive decimal integer[/B][/QUOTE] as far as i know...integers dont have decimal values... | |
I have no idea whats wrong here, i am fairly new to java.. heres my code.... [CODE] private JPanel pnlLogin, pnlFinalLogin,pnlUser, pnlPass = new JPanel(new BorderLayout()); btnLogin = new JButton("Login"); lblUser = new JLabel("Username:"); lblPass = new JLabel("Password:"); pnlUser.add(lblUser, BorderLayout.WEST); //pnlUser.add(txtUser); pnlPass.add(lblPass, BorderLayout.WEST); //pnlPass.add(txtPass); pnlLogin.add(pnlUser, BorderLayout.WEST); pnlLogin.add(pnlPass, BorderLayout.CENTER); pnlLogin.add(btnLogin, BorderLayout.EAST); … | |
How would i be able to reference to a file in my resources.. lets say i got a default template.dotx (word 07 template) in my resource folder... how would i be able to point to it when i publish my app? thanx Phoenix911 | |
i got a site that is hosted by google, i have to write a program that creates/updates pages on the site... i got the google site API... but i have no idea where to go to.... so far my app logs in to the site, and access my documents, which … | |
i need some help on where to start... i have to get an xml file and n xsl file(already created) merge the to... so that the stye sheet is applied.... sofar all i can do is, is select the 2 files... where to go after that im not sure... any … | |
Re: i still dont think its solved... XD | |
hey as the title says, i would like to fill my datagridview from a class i have, this class already gets all the info from my database.... how would i get to fill my DGV... and another question, how will i change my column header names.... i have this [CODE]dgv_Calls.Columns[0].HeaderText … | |
hey every1 im struggling with something simple, that i cant figure out, or im on the wrong track. the user must enter an id of any sort, 1 - 8 numbers, if it is less than 8 numbers it must be left padded with 0s. and the 1st character must … | |
hey hey... just want to know, if theres some kind of way to prohibit the user from entering data into a combobox... i dont want to use a list box... to must space taken, and no point in disabling it... as then i cant select an item... please help thanx … | |
hey guys/girls i do need some help with my application(console) at the moment, im reading from my SQL DB, into classes for each table...(or to the respective classes) anyway... i cant seem to get the update part right, for instance i'd like to change someones surname... [CODE]public static DataSet ReadClientData(string … | |
the question reads as follows.... show how u can efficiently multiply an integer that is read from the keyboard by 100, without using the operator *. use the << operator several times.... ok i can do this using overload.... or thats the only way i can think of... or is … | |
all i can do is get each line at a time.... how can i read it to only read till the space.... plz help.... heres my lil bit of code [CODE] while (getline(iofile,line)) { cout << line << endl; }[/CODE] plz i know i can use this aswell for line … | |
[B]THE QUESTION[/B] with a positive integer s read from the keyboard, find all sequences of two or more consecutive integers whose sum is = to s.... for example.... if user enters 15 result should show 1 2 3 4 5.... 4 5 6... 7 8.... [B]MY TRY[/B] [ICODE]#include <iostream> #include … |
The End.