176 Posted Topics

Member Avatar for SuchANewb

he didn't include a question mark, but he did ask a question. he wants to make his app capable of adding (or performing some other operation) a number to the existing result... anyways. suchanewb, you see, when you have such a calculator the equal sign, square root, and squaring lead …

Member Avatar for dheaven
0
363
Member Avatar for atplerry

flash builder is really easy. adobe has tutorials on its site for how to use flash builder/flex... as far as styling goes, you can use css to style your application in flash builder too.

Member Avatar for bibiki
0
94
Member Avatar for Morley93

have you by any chance included a super(g) somewhere in either your constructor or paintComponent or repaint() method? if yes, remove it.

Member Avatar for Morley93
0
555
Member Avatar for bibiki

hey there, I am trying to test strings using regex to make sure that the string may represent a monomial. that is, it must be 123123213x^213123. I am having difficulties to find any helpful information on how to test for ^. I am trying this: [+|-][0-9]*[.][0-9]*[x\^]? but I get a …

Member Avatar for bibiki
0
116
Member Avatar for bibiki

Hey there, I have already built my system to log in but I am having difficulties in proceeding with the new panel I want to show after log in is successful. This is how I'm doing it: I have built different panels for each use case of my app. So …

Member Avatar for bibiki
0
123
Member Avatar for bibiki

Hey there, I am building a small database app where I allow users to input and retrieve information in and out of database. As part of my application I have this table courses and a java file Course.java that models a Course object. My Course objects have field variables courseID, …

Member Avatar for JamesCherrill
0
115
Member Avatar for rotten69

well, let me chip in my two cents. The math I think you need for the kind of skills I think you want is called Discreet Math. You learn there predicate calculus as thines mentioned. In addition you will learn some graph theory and combinatorics there. This, I believe, would …

Member Avatar for bibiki
0
215
Member Avatar for i_ignore08

check lines 25-27 in your code and see what you might be doing wrong. that is where you're setting that zero that you're getting.

Member Avatar for bibiki
0
137
Member Avatar for sk8ergirl

you better study for the final you'll have the next week as you might prepare better for it if you invest tonight's time on it. Java - next time.

Member Avatar for hfx642
0
123
Member Avatar for JavaPrograms

JavaPrograms, as an idea, I would recommend you replace your switch case statement with if-elseif statements and I believe you'll see the problems times variable is giving you. otherwise, NormaR1 has helped you a lot. just take a break, and get back to your code after a few minutes.. and …

Member Avatar for bibiki
0
485
Member Avatar for begueradj

let us say you have a two dimensional array with dimensions 5, 5. now, you have 25 elements in it, right? every element holds either one or zero. for each element draw a panel. if it is zero, draw road, if it is one draw wall. put each of the …

Member Avatar for JamesCherrill
0
430
Member Avatar for poojavb

you can do the filtering on the database. this is actually very easy in sql based databases. perhaps a key up handler should be defined. every time a key is released, the database should be queried for records that contain the string you have in your input field, or whatever …

Member Avatar for poojavb
0
1K
Member Avatar for bibiki

Hey there, I am trying to build a small survey for a homework assignment. So, I have the following code: [CODE] $con = mysql_connect("localhost","user", "mypassword"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("mydatabase", $con); $slq = "INSERT INTO results VALUES('', '', '', '', '', '', '', '', …

Member Avatar for bibiki
0
153
Member Avatar for pradeep_java

harinath, he is looking for how to store a number with 10^6 digits, not 10^6 itself.

Member Avatar for JamesCherrill
0
1K
Member Avatar for bibiki

Hey there, I built the following app; A frame that with three sections inside it. Each section is actually a panel. The first panel is a form I use for saving soccer matches on my database; The second holds only one button that reads textfields from the form above and …

Member Avatar for bibiki
0
556
Member Avatar for judeabao

it's easy. All you have to do is check if a diagonal, a row, or a column contains only Xs or Os. If you find such a diagonal, row, or column, the game is over, you have a winner. else, keep going. At the end, you have code to check …

Member Avatar for Taywin
0
165
Member Avatar for bibiki

Hey there, I am aware of GridLayout, BorderLayout and FlowLayout classes. However, I find them not to work satisfactorily well for me when trying to layout the entire content in a frame. What I usually do is this: I identify parts that I want in my window. For each part, …

Member Avatar for bibiki
0
108
Member Avatar for Dmiller071

Dmiller071, you left too much to be assumed. try posting your code, or maybe the entirety of the compiler complaint you get so that one can know where to look for an issue. first off you assumed you coded correctly, but turns out you have not. you are assuming your …

Member Avatar for Taywin
0
191
Member Avatar for bibiki

hey there, I am trying to build a small around soccer/football matches. So, I have built a class that models a Match (Match.java). It only contains field variables like hostid, guestid, matchid, result, and such, and setter and getter methods. When I retrieve matches from my sqlite database, I build …

Member Avatar for bibiki
0
673
Member Avatar for bibiki

Hey there, I have taken earlier this tutorial on adobe's site for building an application for mobile devices. The tutorial provides a war file. After deploying the war file on my tomcat server, a few directories are built. Most importantly, WEB-INF folder. This folder contains some java files on one …

Member Avatar for bibiki
0
93
Member Avatar for xoid

for what? to do your home work? no one will help you. you ought to show some work and tell us where exactly it is you are having difficulties before anyone will help you. otherwise, you might get price offers for doing you homework.

Member Avatar for xoid
0
87
Member Avatar for sarathsshanker
Member Avatar for bibiki
0
60
Member Avatar for yazz110

you can also look for the first post in this java forum, and you'll find there some very good resources. even free books, some really good, as I have heard people say. you should look and see what you like.

Member Avatar for peter_budo
0
283
Member Avatar for arcticM

I have been having this same problem these days. This is how I intend to go about it. if you do it this way, let me know how it turns out: I am assuming you have a tree (or multiple trees). determine the greatest depth of the tree/trees. build a …

Member Avatar for urtrivedi
0
130
Member Avatar for bibiki

hey there, in Java, I can take a text file and build a two dimensional array out of it. I hope I can do that in PHP as well but I can't seem to be able to do it. these are the specifics of my problem: I have an xml …

Member Avatar for Insensus
0
2K
Member Avatar for bibiki

hey there, I am trying to write a simple script that lets me remove lines from a file. I have an elementet.txt file that contains one-word lines. I thought that if I put the file lines onto an array, and then put back the array elements back on file, excluding …

Member Avatar for bibiki
0
124
Member Avatar for desert564

your main method is wrongly written, in the first place. [CODE]public static void main(String[] args)[/CODE] because I find it hard to read through code that uses no indentation I haven't read it all, so you perhaps might have other problems as well.

Member Avatar for NormR1
0
257
Member Avatar for bibiki

Hey there, seems like this part of DaniWeb is not as active as other parts, but in hope I get an answer, I'm asking. I have this xml file: [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="site.xsl"?> <navigation> <link> <name>About</name> <content></content> <target>www.google.com</target> </link> <link> <name>Friends</name> <content></content> <target>www.google.com</target> </link> <link> <name>Archive</name> <content></content> …

Member Avatar for bibiki
0
145
Member Avatar for balaji44

Hey there, I hope you have solved your problem already. But just in case you haven't, I thought I'd reply. I am very new to XML, but I think you have some problems in your code. You open and close your X12Summary twice within the code. As far as extracting …

Member Avatar for bibiki
0
195
Member Avatar for rahafrouz

this sounds like a nice idea. I tried some brief googleing, and turns out that java can be used for this kind of purposes. There even seems to be a java audio to text api, and such. try this and see if you may utilize this for your idea, or …

Member Avatar for azzaid
0
205
Member Avatar for bibiki

Hey there, I might not be able to accurately describe my problems, but I'll do my best. I am taking these tutorials on adobe website that walks me through building a flex web application. In order to take the tutorials, I needed to previously deploy a war file that sets …

0
243
Member Avatar for PHIPH

I would like to put in my two cents. I took a java class the first time in 2003. I was told in class to use cmd and notepad only. After a week, I dropped the class. I quit my job in 2007 in a bank. I decided I wanted …

Member Avatar for jwenting
0
182
Member Avatar for spartanace

if you run an applet once via a browser, the browser will remember your applet, and will output what it has in its memory instead of the new version of the applet. therefore, you need to clean your browser's memory to run the new version of your applet if you've …

Member Avatar for NormR1
0
540
Member Avatar for arka.sharma

I might be wrong, but I think you should do your research on image recognition instead of pattern recognition, and you might find a solution easier that way. otherwise, I don't know anything about either recognition, just thought I'd give an idea.

Member Avatar for JamesCherrill
0
134
Member Avatar for bibiki

hey there, I have this java 3D home assignment I need help with. I would greatly appreciate it if someone could direct me to a solution. I need to build create a 3 D digital clock and add some key navigation to it. I managed to add the key navigation …

1
102
Member Avatar for bibiki

hey there again, I am trying to build a small mechanism that lets me store product names and prices on a produktet.txt file. the file should hold lines as follows: product1 price1 product2 price2 . . productN priceN So, I built a small panel with three rows and one column. …

Member Avatar for bibiki
0
146
Member Avatar for student.09

@Ahmed, this last you posted is a little wrong, I think. because, assume the string is a valid one, then according to the way you described in this last post, the count variable should be 4 at the end, not five (if there are six characters, and five of them …

Member Avatar for benqus
0
4K
Member Avatar for bibiki

hi again, I think I installed Java 3d correctly... I can compile code, but the code won't run. this is the error I am getting: [QUOTE] # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0949c964, pid=3832, tid=3604 # # JRE …

Member Avatar for bibiki
0
163
Member Avatar for sirlink99

try putting the println statement that Norm mentioned inside your paintComponent method, and if you only see one set of values showing in your standard output, what you are actually doing is that you are only drawing a picture with only the last set of values you have calculated. just …

Member Avatar for sirlink99
0
160
Member Avatar for sirlink99

by any chance you're using jGRASP? I know that using jGRASP this happens frequently. If so, look for a Run menu on your menu bar, and there you have 'Make this main project' or something... this is of course assuming you are sure you're not adding Resistor... instead of Longitude... …

Member Avatar for NormR1
0
342
Member Avatar for aguele

have you picked what language to study? I assume you want java since you posted in a java forum. you can start with [URL="http://www.youtube.com/watch?v=Hl-zzrqQoSE"]this[/URL], or start reading the topmost thread in this forum.

Member Avatar for sirlink99
0
122
Member Avatar for WolfShield

your maintextarea variable does not hold anything. just assign it something, I guess new JTextArea(); Eiting: it's null. that's what your error message is telling you.

Member Avatar for WolfShield
0
148
Member Avatar for bibiki

I have this file that contains an instance of some Machine object. When I compile the file I have, it says that the class uses a deprecated API, meaning the Machine object. I tried looking for it in [URL="http://download.oracle.com/javase/6/docs/api/"]this[/URL] link, but I find nothing. I was wondering if anyone who …

Member Avatar for bibiki
0
151
Member Avatar for bibiki

I have been thinking of making a graphing calculator for practice. However, I do not know how to assign to a variable an expression. What I exactly mean is: let's say x is a variable, and y a function of x. I can just define the function inside the code, …

Member Avatar for bibiki
0
119
Member Avatar for Gata_Salvaje

I suspect you are trying to measure the relevancy between two strings based on how many common substrings they have. if so, then you should build a method that extracts the unique parts of each string and saves them in arrays (my first thought), and then, check which array is …

Member Avatar for ztini
0
5K
Member Avatar for sneaker

not only is it not a question. it is an advertisement and closer to spam than any question gets.

Member Avatar for sneaker
0
566
Member Avatar for gomonkeyninja

you need an if statement. you need to check if a record held on the array you stored information corresponds to a player that is younger than 25 AND that has a batting average greater or equal to .280. is this of any help?

Member Avatar for bibiki
0
371
Member Avatar for SMITA6076

I guess you could have an array that holds 1-9. and, each time a number is typed in your text fields, as long as it is between 1 and 9, inclusive, you set the corresponding value in the initial array I suggested to 0. Every time a user types in …

Member Avatar for Ezzaral
0
115
Member Avatar for aodpreacher

i assume you need to update somewhere your variable i inside your printedges method

Member Avatar for bibiki
0
420
Member Avatar for kukuruku

could be the derivative a function named u. depends on context. if it is calculus, it most likely is the derivative of u.

Member Avatar for JamesCherrill
0
77

The End.