No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
62 Posted Topics
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 … | |
Re: how about a network messaging app? | |
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 … | |
Re: 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 … | |
How would one get the values from a wav file. Would you use a data stream or audio stream? Thanks, 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 … | |
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 … | |
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 … | |
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 … | |
Re: 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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 | |
Re: 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. | |
Re: [CODE] int[][][] testArray = new int[10][5][5]; [/CODE] That is the syntax for a 3 dimension array of ints. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 | |
Re: to run my java code from terminal i use this command: java -jar "then the path to the file in quotes" | |
Can you program an os in java with a kernel and bootloader written in assembly or c++ or something? | |
Re: What do you mean by rendering different views? Is it for example rendering pictures and drawing the images to the screen? | |
![]() | Re: 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. ![]() |
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 … | |
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 … | |
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. | |
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 … | |
Re: 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 … | |
Re: 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] | |
Re: yes do what nav33n says. Also check that the table and db actual exist. | |
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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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] | |
Re: 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 … | |
Re: 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 | |
Re: 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 | |
Re: 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 … | |
Re: 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] | |
Re: 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 … | |
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`, … | |
Re: $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 … | |
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 … |
The End.