35,618 Topics

Member Avatar for
Member Avatar for silvercats

usually we can get X,Y coordinates in java applications. I want to get the x,y coorsinates of a given flash file in a jsp page usibg java? how can I do it?

Member Avatar for ryantroop
0
168
Member Avatar for Sci3nc3F1cti0n

Hey guys, I just started learning HTML/Javascript yesterday and I just wanted to mess around a bit. I'm working on a few things dealing with user input but I've come accross a little snag. I want it to take in 3 inputs, do an operation, and then output the answer. …

Member Avatar for Zagga
0
249
Member Avatar for ronaldpaul

Hi, I just popped in on a website named http://n-frames.com/. I would like to know what kind of jquery or css effects they are using in-order to achieve the layering effect on the images while scrolling the page as I would like to use this effect in one of my …

Member Avatar for Zagga
0
186
Member Avatar for evan.winstead.7

Hey! I am trying to learn some LWJGL, and wanted to know the best source to learn from, that could be a youtube channel or a text tutorial, but something with videos is much prefered.

Member Avatar for evan.winstead.7
0
229
Member Avatar for techyworld

Hi am working on jsf, am changing the css file, but when i view it in browser, it does not apply the change. Can i know why am having this issue and how can i resolve it?

Member Avatar for masijade
0
126
Member Avatar for pritaeas

For all people having issues building the right regex: I just came across this nice little helper, which allows you to describe what you want using chained methods. https://github.com/jehna/VerbalExpressions

0
121
Member Avatar for gyno

To some of the you in here who uses Netbeans IDE for Java progaraming language, how do i link my code in Netbeans environment up with HTML file which i want to run as **Applet** in a browser

Member Avatar for iamthwee
0
97
Member Avatar for Jollyboy

hi, want to know how to make grids of an image using java. if posible some1 plz help me providing code to do that. i want the full Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Member Avatar for iamthwee
-2
142
Member Avatar for mesbahuk

In my *Java to C#* Conversion Project, at one point I came to use java's `startsWith(string prefix, int toffset)` method. I used a substring to solve it for C#. Java Code Snippet: String str1 = "one over the coocoo's head"; String str2 = "someone"; System.out.println(str1.startsWith(str2, 4)); C# does not have …

Member Avatar for JoeProgrammer
0
416
Member Avatar for nikolaos

I want to list all files and directories from a start point using recursion. Here is my code. import java.io.File; import java.io.IOException; public class RecursiveWalk { void recursive (File[] allfiles) throws IOException{ for (File file : allfiles) { if (file.isDirectory()) { System.out.print("directory:"); System.out.println(file.getCanonicalPath()); recursive (file.listFiles()); } else { System.out.print(" file:"); …

Member Avatar for JamesCherrill
0
3K
Member Avatar for tanha

Hi, I have been reviewing and reading the docs for the VLCJ but unfortunately could not come to a conclusion of configuring and running it correctly. It is appreciated if someone placing an example, snippet or tutorial of that.

Member Avatar for tanha
0
2K
Member Avatar for kedxu

The setSize() method of a Frame only resizes the frame itself, not the canvas inside. Is there a way to resize a frame based on what size you want the interior to be? I made this image to explain what I'm talking about: I used setSize(500,500); http://oi44.tinypic.com/4uymur.jpg I suppose I …

Member Avatar for kedxu
0
181
Member Avatar for kedxu

If I am given the exact coordinates of three vertices in image-space (as in, the numbers are not integers, but can be rounded to find their location on the screen), how can I determine which pixels are inside the triangle and should be colored? If you look at the diagram …

Member Avatar for kedxu
0
420
Member Avatar for MasterHacker110

I am trying to find a scripting language for some simple tasks etc... I tried python - dont like the whitecpace thing. Ruby - just a weird language. Javascript on the other hand has syntex that I like - C/C++/C#/Java like - and it uses curley braces. But the draw …

0
84
Member Avatar for kedxu

So I have a PrintWriter as a class variable which is created upon initialization. I want to make sure it gets closed when the Applet closes, but overriding the destroy() method doesn't seem to work (a System.out.println inside the method does not appear). 1. should I be doing this in …

Member Avatar for kedxu
0
223
Member Avatar for kedxu

Right now I know that Applets can add any listener with the addMouseListener() method. But what I want to know is if I can make my custom class a mouse listener without having an Applet add it itself.

Member Avatar for kedxu
0
94
Member Avatar for Dennis_1

I know this is gonna be an easy fix, but I can't see it! Why won't this work? import java.util.Scanner; public class Elevator { public boolean doorOpen=false; public int currentFloor = 1; public final int TOP_FLOOR = 5; public final int BOTTOM_FLOOR = 1; public static void main(String args[]) { …

Member Avatar for murali2489
0
133
Member Avatar for arif.lone.92

sir I can able to save java program in the jdk bin that shows me a cammond that you can,t save your programme contact your admannistater on windowes8

Member Avatar for JamesCherrill
0
48
Member Avatar for lena1990

hi all i want to ask you how to connect java to remote ms access in another computer thanks in advance

Member Avatar for lena1990
0
234
Member Avatar for babyani

● Do questionnaire Upon completion, the responses are scored and the total is displayed. The points awarded for the responses are: 1 point for response A, 2 points for response B and 3 points for response C. You may assume that the names entered are unique.

Member Avatar for JamesCherrill
0
211
Member Avatar for cool_zephyr

I have developed a login page which needs to access the database for login information. I have put all the user authentication functions in my DAO class which is a singletone class class DAO { //DAO is a singletone class public boolean authenticateUser(username,password) { //authentication process done here } } …

Member Avatar for cool_zephyr
0
194
Member Avatar for murali2489

Hi All, I am trying to write a code which checks whether the username and password stored in the database matches to the string created locally and displays it in console. The program connects to the database and gets the string from the table space correctly, but the problem is, …

Member Avatar for murali2489
0
288
Member Avatar for Yarra

So I am making a 3D game using Java 8. The question I am to ask will not concern any of the features specific to JAva 8 though. But if any of you have played a shooter game or simply minecraft. How do I mimic the mouse free look behavior …

Member Avatar for JamesCherrill
0
136
Member Avatar for Mr.M

Hi DW I've created a project on NaviCoder for java and when I tryied to export the project I had a problem then I redo my project using the Netbeans and that where I was then able to export or should I say build the jar file which is an …

Member Avatar for JamesCherrill
0
253
Member Avatar for robgeek

Hey everyone, I was attempting to get the lastmodified file from a folder, and to do so I used File.listFiles() method which is returning a null pointer exception even though the folder is not empty. I had this piece of code working about two days ago and I am not …

Member Avatar for sirlink99
0
8K
Member Avatar for murali2489

Hi All, I am new to use of database in Java. I am trying to write a simple java application which connects to my Database and sends some query and retrieves the output. I have downloaded MariaDB and then created a database named iff and created tablespaces which has some …

Member Avatar for murali2489
0
519
Member Avatar for Dardan89

Hi all how are you i need help if any one can help with an Open Source Hotel Managment Prog..

Member Avatar for pritaeas
-2
38
Member Avatar for amrita111

Why to have service when we can create classes,interfaces and can use the property inheritance?

Member Avatar for jwenting
-1
146
Member Avatar for tanha

Hi, I have a png image wihtout background and want this png to be my JFrame where the transparent section must be transparent; I have tried different ways I used the setOpaque(), setOpacity(), ImageIO but no clue. I want only my transparent png as JFrame. Any idea and solution will …

Member Avatar for tanha
0
2K
Member Avatar for mydreamgirl

Is there a way for JSP to get value from id element in a html? Just like what javascript doing document.getElementById.value

Member Avatar for stultuske
0
2K

The End.