Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~17.7K People Reached
Favorite Tags

62 Posted Topics

Member Avatar for jakx12

title says it all, basically what i cant figure out how to do, is to check if a certain session value is equal to nothing. ISSET does not work for the context in this situation. Please help, i know its basic i just cant grapple it. I have searched high …

Member Avatar for wadeshuler
0
4K
Member Avatar for gauravagg2
Member Avatar for jakx12

Hey everyone, I am new to js and am writing a bookmarklet. For some reason cookies are not working at all. I have tried numerous setCookie, delCookie etc functions and none work, so I am using the simplest form of setting a cookie and it still ceases to work. Here …

0
121
Member Avatar for mihir.p
Member Avatar for dani_member

Ok I suggest having an object called conversation. Each object will have its own JScrollPane that contains the chat manuscript. Thus you will only need to add this to the JTabbedPane. Then below the JTabbedPane would be the text area and the button and when the button is clicked it …

Member Avatar for dani_member
0
415
Member Avatar for jakx12

How would one get the values from a wav file. Would you use a data stream or audio stream? Thanks, jakx12.

Member Avatar for jakx12
0
73
Member Avatar for jakx12

Ok Iv been doing some research on plotting a sound file with the amplitude as the y value and frequency as the x. I cant seem to find much to be honest.. Has anyone done this or know how i could start. It can be with just .wav files, cuz …

Member Avatar for jakx12
0
2K
Member Avatar for jakx12

So I have a boolean representation and inside that representation contains shapes. All the points of the shape must be true in the boolean array. For some reason its not putting the points on the array. Here is my code, please help me! [CODE] for (int d = 0; d …

Member Avatar for leiger
0
124
Member Avatar for jakx12

Ok so i need to be able to clone objects with two arraylists of the same object. Thus when i try and clone recursion occurs. I need to clone the objects because I have to be able to have a list divided up into tabs and have it ordered into …

0
57
Member Avatar for jakx12

Hey ok so im getting this error. no idea why, could you guys help? Controller action - [CODE]def confirm @title = "Confirm" if request.post? confirmation = params[:confirmation] account = Account.find_by_username_and_confirmation_code(params[:confirmation].username, params[:confirmation].code) if !account.nil? account = Account.update_attribute("confirmation_code", "") if account.save flash[:success] = "Congratulations you have now confirmed your email!" redirect_to :action …

0
67
Member Avatar for sleek182

Im actually doing neural networks at the moment (teaching myself). If you want to predict financial stocks then neural networks are perfect. They are brilliant at finding trends and patterns in things and could be utilised in your idea. If you want to do some neural network stuff on the …

Member Avatar for peter_budo
0
145
Member Avatar for jakx12

Ok so I have a couple questions on JavaFX. I have three javaFX scripts all of which contain their own scene and stage. However, I want a main class or script to decide when to open and when to close the current stage. So for example, the user will be …

0
52
Member Avatar for jakx12

Ok so what does mysql return when the select query doesnt exist. So say I query the database: SELECT username FROM user WHERE username='test' AND password='test' Ok so say test doesnt exist what will the database return because i code in java and have made a method that should return …

Member Avatar for nav33n
0
145
Member Avatar for jakx12

Ok so what i want to be able to do is connect to a mysql database. Here's my code so far: [CODE] Connection connection = null; try { // Load the JDBC driver String driverName = "postgresql-8.4-701.jdbc4.jar"; // MySQL MM JDBC driver Class.forName(driverName); // Create a connection to the database …

Member Avatar for masijade
0
528
Member Avatar for jakx12

Ok so im thinking of building a chat application like msn in java. Would JMF be the best option or has anyone got any other ideas. Also are there any tutorials or open source code at there that someone could point me to? Many thanks, jakx12

0
83
Member Avatar for jakx12

Ok so im building a level editor for this game. What the code i cant working does is, when the button is clicked it should get the selected cell from the jtable and set a value for it. However, for some reason I cannont get it working. Here is the …

Member Avatar for quuba
0
262
Member Avatar for jakx12

I know we are not supposed to ask for code, but could someone please tell me how I would do this. Not write code, just give me guidelines. thanks

Member Avatar for jakx12
0
95
Member Avatar for sbhavan

window.setAlwaysOnTop(boolean); window is the name of your jframe and replace boolean with true or false depending if you want the visible to be on top. Also do what msn does, play a sound.

Member Avatar for sbhavan
0
556
Member Avatar for coud_ren_26

[CODE] int[][][] testArray = new int[10][5][5]; [/CODE] That is the syntax for a 3 dimension array of ints.

Member Avatar for kvprajapati
0
128
Member Avatar for PhiberOptik
Member Avatar for philjava

hey, ok vernon provided you with an almost complete answer. I dont know if you understand yet that methods that are private cannot be accessed outside the class. It is also bad programing to make everything public. Therefore you should employ 'getters' and 'setters'. Setters make a variable something and …

Member Avatar for philjava
1
146
Member Avatar for latinajoyce

OK, i didnt really look at your code to much, but this is what you need to do. You need to break the string up into char's using this method: getChars(). Store this in an array list. You should then find then store this in an ArrayList. Then you need …

Member Avatar for jakx12
0
159
Member Avatar for scias23

why dont you just change the format of the users input. Instead of making the value of there input a string make it a double

Member Avatar for amitrail
0
115
Member Avatar for divya931987
Member Avatar for gcardonav

to run my java code from terminal i use this command: java -jar "then the path to the file in quotes"

Member Avatar for jakx12
0
141
Member Avatar for jakx12
Member Avatar for NotNull
0
166
Member Avatar for axeeffect2002

What do you mean by rendering different views? Is it for example rendering pictures and drawing the images to the screen?

Member Avatar for axeeffect2002
0
72
Member Avatar for ragnarok511

Well if your own a mac use applescript because it would be much simpler on widows use something like auto hot key, rather then java.

Member Avatar for Dukane
0
79
Member Avatar for bervin
Member Avatar for jakx12

Ok so im basically new to computer vision, but i would love to expand my knowledge in java and do some computer vision stuff. So what would be the best library to use with lots of documentation and support? Essentially id like to do object tracking and see if there …

0
64
Member Avatar for jakx12

Ok so basically I just wanted to see if anyone had any ideas for me. Basically I want to do a project in java because i havnt done one for ages. Im fluent in java so that means i can do relatively complicated things. Id prefer for some software ideas …

Member Avatar for jakx12
0
115
Member Avatar for jakx12

The title says it all. Is it possible if so how would you code the kernel etc. Also is there an open-source project or something with the kernel etc already written? Again many thanks, jakx12.

Member Avatar for jakx12
0
84
Member Avatar for jakx12

I cant find a decent explanation anywhere! How can i use the serialport component in .NET 2008 to send and receive data. Also whats the common code syntax for this component. If any one could point me to a decent tutorial that would be great! Im fairly new to the …

Member Avatar for jakx12
0
95
Member Avatar for jeffc418

ok i am not a javascript expert, i also do not know why this is in the php forum, but ill give it ago ;). If you are worried about having a pop-up message not working in some browsers; dont be. Pretty much every browser uses javascript. If there browser …

Member Avatar for mschroeder
0
214
Member Avatar for Aamit

here is what your opening html tag and head tags should look like. [CODE] <html> <head> <title>YOUR TITLE HERE<title> <link rel=stylesheet type=text/css href=YOURCSSFILE.css> </head> [/CODE]

Member Avatar for almostbob
0
335
Member Avatar for emiola
Member Avatar for ProgrammersTalk
Member Avatar for jakx12

Ok so what i'd like to know is how to have two where statements in a mysql delete query. I get an error if i do this: [ICODE]mysql_query("DELETE FROM user_notifications WHERE username='$acc' AND WHERE notification='$note2'") or die(mysql_error()); [/ICODE] Any help would be much appreciated, I know this is a silly …

Member Avatar for vinothkumarc
0
313
Member Avatar for alexgv14

ok, I suggest doing something like this: [CODE] <?php function image() { $min = 1; //The first number one of your images has $max = 3; //The highest number you image has $number = rand($min, $max); $url = "http://website.com/~ub/_ubr/wp-content/themes/ubcmi/images/icons/" . $number . ".jpg"; //change the url to your url //for …

Member Avatar for alexgv14
0
138
Member Avatar for dmanw100

I tend just to set borders and use padding. That is probably the easiest way to achieve a box. I also use relative for positioning. This is because alot of my sites are dynamic, thus meaning they may have more or less content inside the box at different times. Using …

Member Avatar for jakx12
0
119
Member Avatar for jumbla

easy ;) here you go: [CODE] <form method="post" name="boxsearchform" action="search.php"> <label>Choose Something to search: <select name="choosevar"> <option value="Title">Title</option> <option value="Colour">Colour</option> </select> name="search" src="go.gif" /> </form> [/CODE]

Member Avatar for jakx12
0
119
Member Avatar for cali_dotcom

i suggest: setting up a table that has fields determine what the sub catagories parent is. That is is the easiest way. When displaying the links, you will need to select all from the database were the parent category is equal to the previous link clicked. I suggest you do …

Member Avatar for death_oclock
0
127
Member Avatar for ~Sake

almostbob is correct, i prefer though a bit of both, perhaps having a excluded admin back end, with the same feel and design as a user control panel

Member Avatar for jakx12
0
83
Member Avatar for shasha821110

i suggest just building a cms, with a simple cart system, and using perhaps paypal or something like that to accept online payments. Personally i do not use xml, but will be glad to help you with PHP aspect if it. Im stuck for a project at the moment! jakx12

Member Avatar for shasha821110
0
632
Member Avatar for Lizapotter

ok, its actually not that hard to build one yourself; if you want a calender for each individual user. You'd set up the db thusly: table name: new_date: fields: username, date, notes So the code would be simple, the user would have infront of him or her a calender, very …

Member Avatar for jakx12
0
119
Member Avatar for progurammaar

i suggest for your navigation problem simply by creating a css table and putting all the links in one page, lets say leftnav.php. On your page where you want that navigation table use this php code: [ICODE]<?php include("leftnav.php"); ?>[/ICODE]

Member Avatar for progurammaar
0
110
Member Avatar for sacarias40

ok i suggest taking the date from the db. Then using a algorithm to figure out if the date selected subtracted from todays date is larger then 30. The algorithm could be like this. We need to add a new field in the db. Lets call this b30. This stands …

Member Avatar for sacarias40
0
307
Member Avatar for jakx12

ok so the code inserts into the database a default status when the user sign ups. But I get an error saying: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''status' ) Values(`asd.asd`, …

Member Avatar for mschroeder
0
162
Member Avatar for websurfer

$userinput = $_POST[example]; $result = mysql_query("SELECT * FROM example WHERE year='$userinput'") or die(mysql_error()); $total = mysql_num_rows( $result ); if ($total == 0){ echo "The year " .$userinput ." already exists!"; } else { mysql_query("INSERT INTO example (year) VALUES('$userinput') ") or die(mysql_error()); echo "The year: " .$userinput ." has been added …

Member Avatar for websurfer
0
356
Member Avatar for jakx12

Im a newbie at this stuff, so could someone please post how to alter a table so that i can make a field called numbers to be auto incremented. I dont know how to do this please. The table is called blog. Or can you post how to setup a …

Member Avatar for nav33n
0
77

The End.