69 Posted Topics

Member Avatar for gabz16

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??

Member Avatar for gabz16
0
235
Member Avatar for miraclebos
Member Avatar for miraclebos
0
167
Member Avatar for rollon

haha rule 1: never learn code out your head rule 2: think logically rule 3: practice...

Member Avatar for wasimmalik
0
128
Member Avatar for jxmst32

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); …

Member Avatar for phoenix911
0
366
Member Avatar for Frii

a simple if-else statement could do this if type = admin goto adminPage else goto userPage

Member Avatar for phoenix911
0
135
Member Avatar for simplyflawless

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/ …

Member Avatar for phoenix911
0
164
Member Avatar for C Newbie

[QUOTE=C Newbie;1161778] [B]positive decimal integer[/B][/QUOTE] as far as i know...integers dont have decimal values...

Member Avatar for phoenix911
0
2K
Member Avatar for phoenix911

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); …

Member Avatar for phoenix911
0
112
Member Avatar for phoenix911

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

Member Avatar for phoenix911
0
96
Member Avatar for 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 …

Member Avatar for phoenix911
0
169
Member Avatar for phoenix911

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 …

Member Avatar for phoenix911
0
109
Member Avatar for phoenix_dwarf
Member Avatar for phoenix911

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 …

Member Avatar for phoenix_dwarf
1
153
Member Avatar for phoenix911

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 …

Member Avatar for phoenix911
0
606
Member Avatar for phoenix911

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 …

Member Avatar for pilipino93
0
143
Member Avatar for phoenix911

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 …

0
61
Member Avatar for phoenix911

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 …

Member Avatar for jephthah
0
199
Member Avatar for phoenix911

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 …

Member Avatar for Ancient Dragon
0
122
Member Avatar for phoenix911

[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 …

Member Avatar for siddhant3s
1
202

The End.