35,618 Topics
![]() | |
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? | |
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. … ![]() | |
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 … ![]() | |
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. | |
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? | |
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 | |
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 ![]() | |
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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ![]() | |
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 … | |
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:"); … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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[]) { … | |
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 | |
hi all i want to ask you how to connect java to remote ms access in another computer thanks in advance | |
● 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. | |
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 } } … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi all how are you i need help if any one can help with an Open Source Hotel Managment Prog.. | |
Why to have service when we can create classes,interfaces and can use the property inheritance? | |
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 … | |
Is there a way for JSP to get value from id element in a html? Just like what javascript doing document.getElementById.value |
The End.