31,001 Topics

Member Avatar for
Member Avatar for firepower
Member Avatar for stultuske
0
265
Member Avatar for Ashish_8

Hello i am not able to print the arabic language in java. I have converted the arabic in unicode . But when i read thos unicode as string in java and try to print out .I am getting ????? . Please help soon

Member Avatar for IndieDeV2002
0
1K
Member Avatar for sk8ergirl

I have JList and the JList contain names of fields of table in the db this is my code. I'm stuck in writing the query I understand that the sql query should be like this "SELECT column_name1,column_name2..etc FROM" however now I got the column formated this `// System.out.print(aa + bb);' …

Member Avatar for rubberman
0
227
Member Avatar for Pinakin_1

I am doing a project which requires to find the majority color in a given image. I tried to wirte the code but could not. Lot of errors. Can anyone help me and provide me the code??? As the deadlines are in the next month You can mail me the …

Member Avatar for dlarytm
-1
99
Member Avatar for eldiablo1121

Hello, I have to write a program which reads in a text file and sees the parsing symbols brackets, parentheses, and braces, and use stack implementation to have a balance symbol checker. My code compiles fine, but the output is strange, I know it has to do something with my …

Member Avatar for JamesCherrill
0
164
Member Avatar for humorousone

Ok, here's the situation. I've got a package filled with 4 .java files. Mainpackage: Console.java ReadTextFile.java WriteTextFile.java Main.java In Main.java, I'm trying to call a method within AQAReadTextFile2013.java, which also happens to be called "AQAReadTextFile2013". I've tried calling it using the line: * AQAReadTextFile2013.AQAReadTextFile2013("filepatharguement") * AQAReadTextFIle2013("filepatharguement") Within 'main', but they …

Member Avatar for humorousone
0
419
Member Avatar for aaa12bv
Member Avatar for edward.park.94

My program should use `print` and `println` statements to draw a building on my console window. The building will have a variable number of stories and windows on each story. The windows also will be of varied heights and widths. Everything works fine, but I am having trouble with the …

Member Avatar for JamesCherrill
0
146
Member Avatar for firepower

i'm testing a metdhod that is filled with how the window is going to be like.I use assertequals but i don't know what to type in the expected.

Member Avatar for firepower
0
66
Member Avatar for ganges

hi friends, have nice time I am using Eclipse kepler 32 bit i am using windows 7 32 bit jdk, jre 1.7 32 bit versions previously its working fine now its not opening i cant rectify this problem can you people help me to fix this problem

Member Avatar for ganges
0
147
Member Avatar for LiquidCloud

So i'm in ap computer science right now and ArrayList are confusing the **** out of me. We're working on a program in which we have to create a method that adds an "ap exam class" to an ArrayList heres what it looks like: private ArrayList<APExam> myExams; myExams = new …

Member Avatar for LiquidCloud
0
148
Member Avatar for nyepoypo

can anyone help me to put a countdown timer in a dialog box. i want to prompt the user when the time expires. tnx!

Member Avatar for Xabush
0
1K
Member Avatar for anisha.silva

Hi, I want to know how do i write the grammer for the program below in JavaCC. app(name : 'First App') { View(id: top) { Label(id: l1, text: 'Hello') Button(id: b1, text: 'Press') Button(id: b2, text: 'Exit') } } appreciate a reply thanks

Member Avatar for anisha.silva
0
287
Member Avatar for chan6212
Member Avatar for stultuske
0
2K
Member Avatar for asif49

What's a good software development methodology to follow for a project where you initially know nothing. So an experimental project where you will need to seek out APIs and so on as you carry out research and figure out what needs to be created. I'm required to follow a design …

Member Avatar for JamesCherrill
0
138
Member Avatar for MistaGeorge

So what I'm trying to do is pass the values of one class to the other. So with the code i have i believe what is happening is im not passing the values. But im passing the referenced location. import java.util.Arrays; public class numbers { int[][] x = {{6,10,14,31,32},{12,23,12,11,22}}; public …

Member Avatar for MistaGeorge
0
422
Member Avatar for anestistsoukalis

My main idea is to find an algorithm ( Java ) that takes the random letters which someone has typed in a JoptionPane for instance and then instantly by pressing "Find words" i would like the program to derive all those words that match my letters from a dictionary stored …

Member Avatar for iamthwee
0
218
Member Avatar for Wilfred_2

A blue passenger train moves southwards at a speed of 120km/hr. Unfortunately as it enters a junction it collides with a brown goods train moving northwards. The collision happened 50 minutes after the goods train takes off. Using a Java program illustrate the answer.

Member Avatar for JamesCherrill
0
121
Member Avatar for Mohamed_30
Member Avatar for JamesCherrill
0
232
Member Avatar for johnef_sh

I am working on a Google Map api3, I am adding points on the map and save it to my database this part is working fine now in the end of adding the map and click on save and close I need to redirect to another page which will tell …

Member Avatar for johnef_sh
0
248
Member Avatar for LyingInAHammock

Out of my depth a little :-) How do I create a pair of longitude and latitudes to create a polygon showing a 2 mile radius of a particular longitude and latitude? in Java Android. I know how to find your current longitude and latitude but I just can't figure …

Member Avatar for jwenting
0
556
Member Avatar for jackjuma12

Hi guys I need some help pls. Can somebody help me a jsp login code. The code should select username,password and userlevel fields from a database(say employee). If both username and password are correct, it should check the userlevel. If the user level is "admin", should load the admin home …

Member Avatar for JamesCherrill
0
114
Member Avatar for Ndey yassin
Member Avatar for isslam.akkilah.5

1 00:00:01,600 --> 00:00:04,080 54545<b>Mr Magnussen, please statss434e your full name for the record.</b>65565 i tried this it work if the number are there but if there is no number it set the beginning 0 so i need the fourm to read a number between string if it was at …

0
64
Member Avatar for isslam.akkilah.5

am trying to read file in java but i have an issue bufferReader are stating from number 2 `public static String lineLengths() { try { String file = "C:\\\\Users\\\\isslam\\\\Documents\\\\NetBeansProjects\\\\AnimeAid\\\\tra.srt"; BufferedReader br = null; try { br = new BufferedReader(new FileReader(file)); } catch (FileNotFoundException e) { System.out.println(e); } String line; while((line …

Member Avatar for isslam.akkilah.5
0
143
Member Avatar for Doogledude123

So I have a button which adds a "Miner" then removes the cost of the Miner. The problem is that it is taking away too much, double the cost, and also will not buy if the current gold is equal to the cost. I have no idea why it is …

Member Avatar for sepp2k
0
295
Member Avatar for theGrinch

I'm trying to use html onclick in java servlets like this; ShoppingCart cart = new ShoppingCart(); out.println(" <h1><button type=\"button\" onclick=\"cart.addBook(b.getIsbn())\">add</button> </h1>"); addBook is a method in ShoppingCart class, and I'm calling it when the button is clicked, but it's not getting called. Please help.

Member Avatar for Tu Dinh
0
4K
Member Avatar for Amudha.M

Blob b=rs.getBlob(12); bytes[] imagebytes=new bytes[(int)b.length()]; Image image; image=getToolkit().createImage(imagebytes); ImageIcon icon =new ImageIcon(image); jLabel22.setIcon(icon); This will not work. help me to display the image

Member Avatar for JamesCherrill
0
231
Member Avatar for stud101

Hi, am so new to java programming and I need help to create an address book. Am using this project to test my self.(http://sis.ashesi.edu.gh/courseware/cms/mod/resource/view.php?id=218). Please this is my writen code but I need help to add, edit, delete, and the rest of the functions. Or better if someone can guide …

Member Avatar for JamesCherrill
0
311
Member Avatar for Doogledude123

Could someone give me a few reasons why an Application isn't terminating on close? `*THIS IS FOR A JavaFX APPLICATION*`

Member Avatar for JamesCherrill
0
1K

The End.