32,204 Topics

Member Avatar for
Member Avatar for massivefermion

I want to learn web programming with Java. I'm using eclipse neon with tomcat 8.5.13. My question is do these tools support asynchronous programming and server push technologies or should I use other tools? Thanks

Member Avatar for rproffitt
0
232
Member Avatar for divinity02

hi this is jus a question. if you are doing a program that uses a GUI, with the radiobutton, checkboxes and so on why do you have add an import for all the jradiobutton and jcheckbox. is is necessary to add an import for each of them

Member Avatar for JamesCherrill
0
179
Member Avatar for ka-ii

i have learn this Java since last month for my work purposes. i wanted do this exercise. this is Vending Machine Program. I don't if write it in a wrong way. So i need somebody to show me the in my code. i know there must be wrong somewhere in …

Member Avatar for JamesCherrill
0
15K
Member Avatar for umutcanergun

Hello there, I am working on a school project, this project is a program that separates the entered words into syllables, but now I have made my algorithm according to our country but I can not decide in one place I will do it by using the program sequence but …

Member Avatar for JamesCherrill
0
112
Member Avatar for ahmedrizwan1

public class roughLargestSmallest { public static void main(String[] args) { System.out.println(" Enter a sentence "); String x = IO.readString(); compress(x); } public static String compress(String original) { int count = 1; StringBuilder builder = new StringBuilder(); for (int i = 1; i < original.length() - 1; i++) { if (original.charAt(i) …

Member Avatar for JamesCherrill
0
250
Member Avatar for pranitha_dolls

good afternoon to every body iam doing my final year btech(cse).iam thinking to do mini project in java. i have less knowledge how to start,how to get title,how to proceed .can any one please give ur advice to me...........................

Member Avatar for Sharon_5
0
157
Member Avatar for washington kays

hello guys i am looking for anything that has to do with virtual reality. i am doing a research on the application of virtual reality in e-commerce so if you have anything that is in line with virtual reality please help me. thank you

Member Avatar for happygeek
0
108
Member Avatar for Michael_69

Hi guys, can you help me with a MIPS Asm exercise. It's the first time that i coding in this language... I solved the exercise in Java, you can get some help to convert it to MIPS? thanks a lot to everyone Java code: public class Exrcise1 { public static …

Member Avatar for ddanbe
0
370
Member Avatar for newprogrammer14

This might be a simple problem but I had difficulties finding a solution. I'm trying to return data in specified formats for the same input. I've data in two tables - Book_Details and Book_Summaries - which I need to combine in fixed formats. My requirement is that I need to …

Member Avatar for newprogrammer14
0
344
Member Avatar for patk570

Hey Everyone, I am looking for possibly a CRM that can be used for multiple items: 1. Invoicing 2. Credit Card Processing 3. Front End Website 4. Customer Area/Members Pages 5. Admin Area 6. Integrate with Quickbooks? 7. Manage Employees (Time and Sales) 8. Inventory Management Any advice would be …

Member Avatar for gottaloveit
1
186
Member Avatar for Sagar_9

Hello All, I'm currently working on a project which requires me to encrypt multiple text files at one go. I am able to retrieve the name of the files through listfiles() but how am i supposed to pass those files to File variable so that the encrypt method can encrypt …

Member Avatar for Sagar_9
0
2K
Member Avatar for davewylie

I have been alerted o the fact that there are "security issues" with Javascript, but have no idea what the issues are. I have written a webpage in HTML which incorporates a menu written in Javascript. A user alerted me to the fact that the menu does not appear with …

Member Avatar for rproffitt
0
215
Member Avatar for Sameer_8

Hello i have an other code that bother me because i am confused what i should do take a llok to the questions first: **Example 2: The GradeBook Class: Consider the attached GradeBook class. Complete the following tasks: 1-Modify the determineClassAverage method so it allows the user to enter the …

Member Avatar for JamesCherrill
0
264
Member Avatar for k2k

hi, does anyone know how to insert a background picture to a JPanel? I have googled around, found something seem more difficult than it should be, and a simple one as below but not showing the pic. [code] midBoard = new JPanel(); JLabel pic = new JLabel(new ImageIcon("Sunset.jpg")); //midBoard.setBackground(java.awt.Color.RED); midBoard.add(pic); …

Member Avatar for JamesCherrill
0
14K
Member Avatar for subhaac

I'm trying to implement Callable for Strassen's algorithm to multiply two matrices. I'm new to this, and i'm having a few issues and I can't figure it out for the life of me :( . The first problem is that the program prints out 0 for all the elements of …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Sameer_8

Hi i have other problems in other class the questions is ** The Person class Create a class called "Person" that includes three pieces of information as instance variables: a name, address, and age. Your class should have a constructor that initializes the three instance variables. Provide a set and …

Member Avatar for Sameer_8
0
197
Member Avatar for Sameer_8

Hello everyone, I have a reall small questions and i am stuck in the end of my code. I need just someone explane it to me please or maybe i am confused. Take a look... Questions: **Create a class called "Employee" that includes three pieces of information as instance variables: …

Member Avatar for Sameer_8
0
1K
Member Avatar for Violet_82

Hi guys, as I have never used any design pattern I thought I might try to learn something by developing a small application. What I'm thinking is something like a radio controlled car simulation - I mean a really really simplified version of it of course - something like creating …

Member Avatar for Violet_82
0
314
Member Avatar for hbk619

I've been googling and going round in circles, simply put: when the button is clicked i want an image of a card to appear. [CODE]class Actions extends JFrame implements ActionListener { JTextArea textarea = new JTextArea(2,25); JButton twist = new JButton("Twist"); JButton bust = new JButton("Bust"); public Actions() { super("Twist …

Member Avatar for Akshay_8
0
2K
Member Avatar for Jerome_5

Have an online app "keepCalling.com" that allows one to make calls to land lines over the internet. Has worked for years but now I find that new devices after java installation are not recognized by the online app. Looking for a way to generate reports for what might have failed. …

Member Avatar for Traevel
0
304
Member Avatar for Goldfinch

I have been comparing a Java GUI program's start time to both native apps and another Java based app, and I have concluded that my program is launching a little too slowly, or at least a little slower than I would like. I think it's taking too long to load …

Member Avatar for JamesCherrill
0
241
Member Avatar for sireiz

Hi, I have a view say a Button, i made a border for it in a paint application, now i wwant to use that border as the border for my button, how can i do that in such a way that it looks well on all screen sizes?

Member Avatar for shivya_1
0
257
Member Avatar for PulsarScript

What does mean by saying polymorphism allows programming in general rather then programming in specific?

Member Avatar for JamesCherrill
0
303
Member Avatar for Mark_65

The following code will allow me to add a table row line and I can add the starting amount with the first amount input into the first row, but if I add a row and enter in an amount I want it to add or subtract that as well. Thanks …

Member Avatar for broj1
0
2K
Member Avatar for insanely_sane

Hola people :D So now that my holidays have begun... I'm bored :P I have decided to make random stuff with Java. So till now I have upgraded my checkers game (added high scores, color 'themes' for the board, etc.), made a music player kind of thing (used JFileChooser and …

Member Avatar for David_97
0
2K
Member Avatar for ahmedrizwan1

public static void main(String[] args) { System.out.println(" Enter a terminating value "); double term = IO.readDouble(); System.out.println(" How many numbers will you enter "); double numbers = IO.readDouble(); //reading the value of how many numbers the user will enter System.out.println(" What is the largest number you will enter ?"); while(numbers<1){ …

Member Avatar for rproffitt
0
574
Member Avatar for macdonald12

Dear contributers of Daniweb, Currently I'm working on an Android/Java project, where I'm running into a problem with the following code. private List<Property> filteredList; private List<Property> propertyList; public List<Property> getPropertyList() { Boolean useFilter = false; if (!filter_town.trim().equals("")) useFilter = true; if (filter_bedrooms > 0) useFilter = true; if (useFilter) { …

Member Avatar for JamesCherrill
0
314
Member Avatar for Saboor880

Hi! I have create a simple desktop application (CRUD operation) using java derby by using the library "derbyclient.jar" I want to deploy it on another computer which not have netbeans IDE installed. I ''clean and build '' the project and a jar file created in dist folder of my project …

Member Avatar for JamesCherrill
0
596
Member Avatar for ADENIJI_1
Member Avatar for JamesCherrill
0
80
Member Avatar for la_1

The End.