32,199 Topics

Member Avatar for
Member Avatar for sankubha

I am Using tablecellrendere for a table to add a JPanel at the fourth column.... It is adding to all ..... But i want to add a textfield at first row only....

Member Avatar for mKorbel
0
971
Member Avatar for purity_1

how can i come up with a code in java that shows the number of apartments in a block, the number of blocks in the estate and AT the same time show the cost of renting an apartment the name of the tenant in the apartment and how i can …

Member Avatar for JamesCherrill
0
150
Member Avatar for sammygreat1234

Hi All Kindly assist am having issue with the following code, where did i get it wrong? Only the first Block condition is execute, even if B<PA, the second block does not execute. Am using Netbean PA =((1.1 * P2) / (1.46 * P3)); B = 3 * P4; D …

Member Avatar for JamesCherrill
0
111
Member Avatar for joseph.lyons.754

Hey Guys, What i want it to do : 1. Combobox is displayed with a list of countys ie Limerick Dublin Cork 2. Choose County brings up second Combobox with countys towns and villages. 3. Hit search brings up relevant towns and vilages from the county chosen. What it does: …

Member Avatar for joseph.lyons.754
0
288
Member Avatar for Vish0203

Hi, I was working on an application but i'm stuck at a point now.. I'm able to send the chat messages but unable to receive any... I have two threads, 1 for sending message and another for receiving but receiving part isn't working! I think the problem is with multithreading! …

Member Avatar for Absaar
0
285
Member Avatar for ExtraKanin

Hello everyone. I'm having trouble about Internal JFrames as my code is compiling but it doesn't run. Can someone give me an advice as to how to make it work? Also the reason why I wanted to make internal JFrames is that I'm using layout managers on my panels so …

Member Avatar for JamesCherrill
0
134
Member Avatar for Priti_P

Hello, Am new in Struct I followed link http://www.tutorialspoint.com/struts_2/struts_examples.htm for making simple hello project in struts using eclipse but when i complete the coding and go for the execution, when I write the word in that box as an input (for saying hello). and click on Say Hello button, it …

Member Avatar for stultuske
0
310
Member Avatar for murali2489

Hi All, I have just finished reading fundamental topics in Java and now i have decided to do a New Project in Java which comprises all basic features of Java. I need help in Understanding/visualizing the architecture / Design model for my Project. Specification is : 1 . Develop a …

Member Avatar for stultuske
0
320
Member Avatar for durgesh1

hello all i need to fetch data from two column let me tell how i like to fetch this,i have two table first column is **ledger** in which there is **groupname,balance**.now in seconed table whic name is **groupcreate**,here is **under and name column** heare you *****can create your own group …

Member Avatar for 1stDAN
0
171
Member Avatar for joeymenje

First off this is for my little server, and i am having a problem. this is saying im missing a statment but i dont see how. if you can take 5mins to look over this and tell me what you see i did wrong, it will make my day. look …

Member Avatar for JamesCherrill
0
141
Member Avatar for mikewyatt

I have a JLayered pane that has a large sized JLable that is showing an image that is used to show a background image. This is on the default layer. Inside I have many items such as lables, textfields, tables and other such things. These are set for the pallet …

Member Avatar for mikewyatt
0
161
Member Avatar for rotten69

Hi everyone, I consider myself as a java beginner because I haven't been involved in a lot of projects. I'm opening this thread to raise awareness that we don't have java projects thread primarily for beginners and it could help advanced java programmers in terms of practising their java knowledge. …

Member Avatar for renato.francia
4
863
Member Avatar for keaikitse

I am an IT graduate willing to learn java, can anbody help me how to get the syntax write please

Member Avatar for pritaeas
0
33
Member Avatar for jakhondi

Can anyone help me get my output to display in my textArea? When I click the button, when the program is running, it wll display console output since I am using System.out.printf, but now I want it to show in my GUI. Any help would be appreciated. Thank you.

Member Avatar for JamesCherrill
0
187
Member Avatar for ghosh22

Hi Sorry I am posting again. I am trying to make a web form for my new website. I am doing the coding myself because I cannot afford to hire a coder for me. I need some help from you. Please forgive me for all my idiotic questions! Now, here's …

Member Avatar for almostbob
0
202
Member Avatar for Yorkiebar14

Hello, I have recently started to develop my own game in Java and am just starting to get the hang of it. I've watched various tutorials on making an engine etc and have picked up quite a lot. I am struggling with one problem though, I have a world and …

Member Avatar for Yorkiebar14
0
330
Member Avatar for ccsj2206

I need help making this to display the results into a Jframe GUI instead of a console im failry new to java so please help me thanks, here is the code ive used: import java.util.ArrayList; public class ThreeArrayLists { public static void main(String[] args) { ArrayList priceList = new ArrayList(); …

Member Avatar for JamesCherrill
0
734
Member Avatar for sammygreat1234

Hi Programmers, Am working on a project, event made me completely lost touch with Coding, but now i want to be back fully. Am trying to get an OUTPUT using if/if else statement, my code has no errors but does not return result either, Any help or idea on what …

Member Avatar for JamesCherrill
0
177
Member Avatar for teppuus

Hello, I am trying to create an MDI application and am having problems with one of the frames. Walking through the errors, the first error points to a list generated by Netbeans code that I think is the null problem. When I look further down the error list, I get …

Member Avatar for JamesCherrill
0
1K
Member Avatar for dendenny01

I am a beginner in java does not know much about it. But to practise it I have tried to simulate the popular game Hangman using simple methods.Please Guide me with the code In this program the words are given by the user and then they are converted in to …

Member Avatar for JamesCherrill
0
323
Member Avatar for sankubha

I have java tcp socket programming...... In that i need to send a file from client to server .... at the same time i need to chat with that client ...... by what way i can do this ...

Member Avatar for kapildeven89
0
178
Member Avatar for shaifali ranyal

i want to add scroll bar to scroll this page..this page is user log-in form... to add more fields i have to add scroll bar how can i do so ..pls help package user; import java.awt.Color; import java.awt.Container; import java.awt.Font; import javax.swing.*; public class form extends JFrame package user; import …

Member Avatar for shaifali ranyal
0
339
Member Avatar for game06

is there a function for: ex1: String = "2+2.3/34" output: double = 34.0 ex2: String = "45/4+3-0.4" output: double = 0.4 so, find the last operator and take the next number into double. note there are no spaces.

Member Avatar for JamesCherrill
0
236
Member Avatar for JacobAbrham

Hello, I am taking Java fundamental course and I've came up with a confused character i.e # on assigning variable name on Java lately. I have surfed the internet a lot but all I could find is only oprerators, keyword and reserved words are not allowed. so why is # …

Member Avatar for Banderson
0
202
Member Avatar for sathya88

How to parse a string data " B. Prakash 98400 51038 B.M. LAL BROS., TYRjijbEALERS 3 Whites Road, Royapettoh,thennai r 600 014. Ph: 2852 4560 Fax: +91-44-2858 8306 Email: bmlalbros@etn.iiet'" conisder this is my string data and i need to fetch name, address, phone , email seperately is there any …

Member Avatar for somjit{}
0
290
Member Avatar for dgrblr

I have an existing Access database that works well using Access. However, the HR department has convinced management to change to Java as the programming language of choice. I have done very little programming in Java, and have NO CLUE how connect to an Access database (2003), how to read, …

Member Avatar for peter_budo
0
422
Member Avatar for cool_zephyr

I was trying to send an email using javaMail API using my own smtp server to gmail/hotmail/etc..I put the following code to specify smtp server's settings Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.host", "my smtp host"); props.put("mail.smtp.port", "my smtp host's port"); Session session = Session.getInstance(props, new javax.mail.Authenticator() { protected …

Member Avatar for cool_zephyr
0
276
Member Avatar for mgold

I was just wondering if anyone other than me thought that it would be incredibly usefull to have a language that was both dynamic AND statically typed. **Using Java as a example, it could do the following:** **1)** Define a special dot operator that auto type casted something of type …

Member Avatar for ~s.o.s~
0
210
Member Avatar for bibiki

hey there, I am looking at a maven project that makes use of another maven project. say project A and project B. In context.xml in project A, I see these two lines <value>classpath:oneFile</value> <value>classpath:otherFile</value> I have been trying to figure out what is the actual value of classpath, so what …

Member Avatar for bibiki
0
184
Member Avatar for Morley93

Hi all, I have recently been give a project to create an invoicing system for a small business. The system needs to be able to easily add new customers and store them for usage within invoices. There also needs to be a form to enter invoice data and invoices need …

Member Avatar for 1stDAN
0
259

The End.