35,618 Topics
![]() | |
Hi ALL we are doing a prject on VPN or virtual private networks.. for this we have created the front end.. and in many pages there are operations performed such as file uploading, create users and so on.. so when these submit or upload buttons are clicked the server needs … | |
hi im a new memeber .iv started learning java recently. i was wondering could anyone help with this problem because i just cant seem to work out where i'm going wrong. its my method call thats giving me the proplem...i think. if anybody has any solutions i would be grateful … | |
I have recently encoutered an error that I have failed to figure out while trying to implement something in MVC. I have used a similar code on another program which seems to work but I cant figure out why this one is not working. I get the error code "cannot … | |
i require to submit a crime reporting system as my major project in engg. can anyone provide me with a similiar code in [B]java[/[B][/B]B] is there any way to store images and videos in a database...and then retrieving them from a java application.. plz five some example.. thank u in … | |
i am trying to add a bmp image file to a panel but i dont no how. i have been trying a few different code but nothing seems to be working for me. [code] ImageCanvas imageCanvas = new ImageCanvas(this,bi); visibleArea.add(imageCanvas, BorderLayout.CENTER); [/code] this code makes the area where th image … | |
In netbeans I added a scroll pane + bar inside one of my JPanels. When I drag enough items into the JPanel, the size of the JPanel increases in netbeans. How do I get it so that it stays at a fixed size, so I can use the scroll bar? | |
i want to replace a word in string by other word how do this simply ? | |
How to print Tokenizer and Split out put in Text Area? Normally is use System.out.print() to print them. I wan it print in Text Area or something like text area, anyone can help me out? Thanks. | |
Hello everyone, I am in big trouble, actually, I am developing a chat in Java. I am still on the server part, but the problem is that when i am clicking on a button to instantiates a class, the whole program freeze, please help me to figure out this problem. … | |
In JSP, request.getParameter(x) returns a null value if x is integer.So what to use to get integer value of x? | |
Hi guys, I have a J2ME application that I'm developing in NetBeans. It's ok. I however added one jar reference, let's call it x.jar, which is being seen by Netbeans. Upon compiling however, netbeans calls Preverify.exe with classpath references. It is not including this x.jar. It's causing preverify to return … | |
hi is it possible to poen some ports in java. give code for this. thank u. | |
hi i am having a bit of trouble displaying the mouse position in JTextField. i have currently done this code. i need to display the x and y positions inside the textfield. [code] private JTextField xTextField, yTextField; private int mouseX, mouseY; JPanel mousePanel = new JPanel(); xTextField = new JTextField … | |
Not sure how to call the methods in this program. [CODE]import javax.swing.JOptionPane; public class Main_Class { private static final char Y = 0; /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub /** * @param args */ // declare variables int input1, input2, … | |
So I have been messing around with Swing and am starting to grasp general functions with buttons and text boxes etc.. But what I want to do is have a main page (JFrame Form) with 3 buttons and when I click whichever button I want it to open another JFrame … | |
Hi all! I have several tables in an MsAccess db and I would like to read all data of a certain column to a Hashmap. With 3 tables and using static array, it' working but i have about 300 tables. With the static array, I used sg like this: [code=java] … | |
The Problem: Aircraft fly from one point to another. At the same time, birds fly around. The objective is to determine whether the aircraft will encounter birds or be able to reach its destination safely. The airspace is divided into 100 squares (10 x 10 squares). For simplicity, we shall … | |
I'm reading Data structures and algorith analysis by Weiss lately. There's just one part that doesn't make sense to me at all. [CODE=java]public class QuadraticProbingHashTable<AnyType> { public QuadraticProbingHashTable() { this(DEFAULT_TABLE_SIZE); } public QuadraticProbingHashTable(int size) { allocateArray(size); makeEmpty(); } public void makeEmpty() { currentSize = 0; for (int i = 0; … | |
Is there an easy way to incorporate a JSP forward directive inside an html "<a>" (anchor tag) I'm trying to do something like: <td> <a <jsp:forward page = "MyFacility.jsp"/> > Test Three Forward</td> but cannot get the syntax correct. I'd like to have the "Test Three Forward" appear as the … | |
[i] Topic The topic of this question is: How does the @NamedQuery work? [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] The purpose of this code is understand why the Netbeans ide constructed @NamedQueries that refer to an object Content … | |
Hi all, I am using JCIFS jar to connect samba server. Is there any possible to increase session time. | |
[i] Topic The topic of this question is: tracking the content of an array in a session bean debug sessionbean1.java [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] The purpose of this code is to try to find the best … | |
Hi all, i am doing online banking project in java. i have MINI statement page which displays LAST 10 transactions. And i have DOWNLOAD link on MINI statement page. Onclicking the DOWNLOAD link "SAVE as" dialog box should popup asking users to save the ministatement to their locations on the … | |
I have a problem with my program. When i try to compile it it says i need a ; can someone try to compile it and please help me? [CODE]//This program will represent a pizza public class Pizza { private double cost; //the cost of the pizze private String crust; … | |
Hi everybody. I am writing a program that calculates the amount of Carbon Dioxide produced in a year from waste by a few selected households and comparing how recycling can reduce the CO2 footprint. However, I believe the code is correct; I am just not getting the expected output. So, … | |
Hi Guys! I am trying to get a scroll bar to go to the lowest position possible. I am using a chat program and it bothers me that I have to scroll down to see new messages! I googled around and found lots of answers for flash, and other languages … | |
HI all wonder if someone can help, i want to be able to printout specific elements within an arrayList without using array keys. I have the following code, which will print out every element in the array. I want to print out every 2nd element. So so i had a … | |
Name: The name of this file is table_autoincrementedId Hello and Thank you in advance for any assistance. Purpose: The project is a Visual web JavaServerFaces project that is in the same folder and that imports the app library. Modeled after the tutorial at Using Java Persistence API Within a Visual … | |
I have the following as my code, and i cant figure out why i am getting this error. I think it has to do with my While statement. Please help! [code] import javax.swing.*; import java.lang.String; public class FollowingDate { public static void main(String[] args) { String date, month, day, year; … |
The End.