35,618 Topics
![]() | |
Hi everyone! I want to secure my URL to my webapplication so that nobody can get straight to the maps on the server wich are in the url. Can anyone help me with this? Thx | |
Could any one pleace tell me, can I run a java program on a system that does not have a java virtual machine?if yes,how could I do it? | |
I'm a neewbie in this help what's wrong with this one.. <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> <%@ page import="java.sql.*" %> <% //create a Connection, Statement, and ResultSet object to connect to the database Connection con = null; Statement stmt = null; ResultSet rs = null; String queryText … | |
hi all, I am trying to design a game app that uses a swing gui as a main menu. so far I have been a little confused as to how I get my 'start new game' button to actually launch the game. I have googled event handlers and cannot seem … | |
I have a class that fetches a record but dont think I need to use List object because I am fetching one record and not an array of records. [code=java] public List getRecords(){ ResultSet rs = null; Statement stmt = null; Connection connection = null; List rows = new ArrayList(); … | |
Could I run a java program without installing the java vitual machine on the computer?If yes how could I do it? | |
Can any one tell my why the images[i] is not affective? [code] /* * TPanel.java * * Created on December 9, 2007, 7:42 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package keycards; /* * TPanel.java * … | |
Hello everyone. I have to write a program that needs to use generics. I'm basically just hoping someone can guide me in the right direction here. Lets say I need a program that loads different crates onto a boat. I have to have a boat class (generic class), then other … | |
Hey i have to create a vector in order to store shapes,in specific circles. but i have no idea of how to do such a thing. if anyone is able to help lemme know. thanks in advance. | |
Hey guys, How do you tell which type of GUI should you use ? I'm making a swing application but everytime I look at a Java example / tutorial they tend to use different ones for each example. Is there a reason? I'm guessing so which leads me to which … | |
[CODE] private int[][] gameBoard; private int[][] scratchBoard; public Intboard(int[][] world) { gameBoard = world; scratchBoard = world; } public void updateBoard() { gameBoard = scratchBoard; } //...skipping a bunch of confirmed working methods... public void advanceOneGen() { for(int x = 1; x<gameBoard.length-1; x++) { for(int y = 1; y<gameBoard.length-1; y++) … | |
Hey I have a problem of how can i modify the bankAccount in order to count how many instances of the class have been created. I think of that but the problem is that don't know how to add it to the original program : private static int instanceCount = … | |
Hey guys, Got my logger working as i wanted it to.. basically it just logs to a file using java.utils.logger anyway now got a problem. I'm wanting to duplicate the logging output to a JTextArea on my GUI. So I thought of building a wrapper class but to my suprise … | |
hi, i am new beginner of the java & i want to create a application such using applet for create user - student & admin. | |
not sure if i'm using the right term... i'm having a prototype built and i found that the programmer I hired isn't using php to show form errors. he's using javascript. there are 20 different forms in this app, from user profiles to submitting photos and videos. the site is … | |
Hi, Need help in creating a small java user interface through which we can make a connection to MS Access database with (username and password) , the user interface should ask for a username and password to connect to that specified database, once verified username, should get connected to the … | |
Hello, I am new to java and was looking all over the place for a pop up type warning box coding for java. If someone has any ideas, that would be excellent! Thanks! | |
Hi, I am wanting to reverse mod 128 or 255 on ASCII values, does anyone know how to do this? Thanks | |
Hello. I've recently started to explore the world of Java ME, and now ther's only one problem. Compiling. I've installed Java adk 1.6, Sony Ericsson SDK and even some tool I found under Suns Java ME section but the compiler still doesn't find the ME packages. Hope somone could post … | |
Hi all, I need to write this program today and I really struggle :-( Would you be able to help at all? public class ISPN { private int[] authorId; private int[] programId; /** * Creates a new instance of ISPN */ public ISPN(int[] anAuthorId, int[] aProgramId) //constructor that takes two … | |
Hello All, This is suppose to be my finished code for my "PacMan Game". All this "game" is suppose to do is to allow a Pacman to eat dots that can be placed on the screen at any location by clicking the mouse. It has a main class and a … | |
i need some help with the SlowMovevertical method, i dont know how to incorparate it correctly into my source code to make it work? thanks if you can help. | |
As an example, consider the following array of 9 integers in the range 1 to 5: [2, 3, 2, 1, 4, 5, 2, 3, 1] The count array would contain the following values: [2, 3, 2, 1, 1] Working from this set of counts, the sorted array would be: [1, … | |
I am a final year student and thinking of a project topic to do. Any suggetion? | |
Hi all, I like to see a project documentation and code. I like to see documentation that includes UML, activity diagram, sequence diagram and code. Where can I found such a documentation of some project? Is some good documented project available on the internet ? | |
I have this code that i used for shoopping and adding to cart. but the problem here is that when i add to cart it'll not display the artist song that i choose and add 'em to cart rather it uses the one from another class. Please how do i … | |
please i need some help with this, i want to display the curent date n time at the bottom of this page. when i run it . THANKS. [code=java] import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.swing.event.*; import java.util.Calendar; /* <applet code=" The.class" height=20 width=20> </applet> */ public class The … | |
Hey all, I'm not gonna ask for help with code or anything. What I would like is some help with an idea for a project I have, it's for college. Basically the spec for it is: Design a new keypad for a phone, to type sms' with one finger, and … | |
Hi people, I am wantng to read a key in as an argument that will duplicate itself to the exact character length as the plaintext , read from a text file. E.g. key = deceptive Then i need it to repeat until the end of the plaintext file length as … | |
Hi guys and girls. I’m a bit of a newbie and I hope I haven’t posted in the wrong thread but I need a little help. I am trying to mess about with Greg calendar. I have been told to make a diary app and was hoping to use this … ![]() |
The End.