35,618 Topics
![]() | |
Since this is a discussion forum, I dare use it to announce a new release of the best (IMO) Java open source discussion software, JForum. There isn't much new in terms of functionality or bug fixes, but it now runs natively on JakartaEE 10 - meaning you need Tomcat 10.1 … | |
What model of Android phone would you start with for testing a Java app? Is there one phone of which you can say, "Well, it works fine on here. There’s a good chance it’ll work on 75% of other Android phones and tablets"? | |
I have been searching online for a program that will: -reads in number of times a user wants a coin flipped -flip the coin that many times, printing out result of each coin flip -print out the total number of heads flipped and total number of tails flipped the application … | |
My Java application crashes with a NullPointerException when trying to access an object property. Here's the problematic code: public class Test { public static void main(String[] args) { String text = null; System.out.println(text.length()); // NullPointerException here } } How can I properly handle this scenario? | |
I'm facing a database connection error in my MySQL-based application. The credentials are correct, but I keep getting: ERROR 1045 (28000): Access denied for user 'admin'@'localhost' Is it a privilege issue, host misconfiguration, or MySQL version mismatch? Seeking expert developers in the USA to resolve and optimize the database connection. | |
My name is Ray Brad. I am a learner in Salesforce development and administration, and I also have knowledge of Java concepts. If anyone has questions related to these topics, feel free to comment, and I will do my best to answer them. | |
This project is a cross-platform Kafka GUI client. A star would be appreciated to support the open-source effort by the author. Thank you! # Features of Kafka-King * View the list of cluster nodes, dynamically configure broker and topic settings. * Support for consumer clients to consume messages from specified … | |
Hii I am a developer working on a blockchain MVP development. I want to add MVP features to the app, but I am not sure where to start. Can anyone provide some guidance? Thank You | |
Hello everyone, I’m working on a project to develop an educational software aimed at teaching programming logic to beginners. The app will focus on short questions and mini-games to make learning engaging and interactive. It’s targeted at university students in their first semesters and will primarily use Java as the … | |
Hi I am thrilled to join the the dev community. I think, i will contribute to this community by asking & responding your questions and queries | |
i am using bluej and this code compiles but doesnt save the input and unique file extension to the same document. I am new so this may seem elementary but any help would be appreciated. thank you // File with a timestamp in the filename import java.io.IOException; import java.nio.file.Files; import … | |
I need opinions or advice on an application that I want to program in Java to learn programming logic through short questions. | |
I have seen many people struggling with Reading files and writing files in java, also a great problem is how to edit a file too. So in this code snippet I have put all these problems into one small program in hopes to help others. So this code snippet will … | |
Hi DW, I've faced an issue with my project, it has been working these years till I think last year or the other year. When I sync it fails saying unable to resolve dependency no matter which version I try I get similar error differs with version number. | |
Is there any method in java to generate random number (integer, byte or float) ? Please tell me if any i need it in my program. If possible please give full example. Thanks! | |
Hello, i've cleared my java certification exam and got the job interview. The interview will be held in the next month on 22 September 2024. I want to prepare for each every questions because i believe it would be the toughest round with BlackRock. This is my best call and … | |
Reflect on your experience with object-oriented programming (OOP) in Java. Discuss how concepts like inheritance, polymorphism, and abstraction have helped you in your projects. Share examples and personal insights. | |
hey friends could you please tell me that how many types are there | |
| |
Hello !! "I want to learn Java data structures and algorithms (DSA). I have recently learned Java object-oriented programming (OOP). Suggest me best tutorials for learning. | |
Hello, I have simple problem for professionalist (that i think ) but i asked all available AI about it and none was able to help and solve problem. so nothing is able to help me in this. I have simple app that show 3 colored axes and camera that move … | |
Hi everyone, I'm Karen and I'm a newbie who is learning java 😊 | |
Hello, I have a program which creates multiple balls and bounces them off when they collide. This works fine. import java.awt.Rectangle; public class Ball{ private int x = 0; private int y = 0; private int radius; private int panelwidth = 500; private int panelheight = 500; private int xDx … | |
if i provide you with my project OOP java can you transform him for me to GUI | |
Hi, Goodday everyone, I'm new to web development, please if I had questions, could I ask on her for a help reply? | |
Hello friends, I am stuck at a point in downloading multiple files as a single zip such that - the generated zip by my code for user download seems to be not a properly formed one. While trying to open the generated zip, I get an error as - "Cannot … | |
So here, I am gonna to ask developers around which is the most popular language is used to develop a game for students or professionals. | |
Need help with JTable header group : Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.table.JTableHeader cannot be cast to id.co.aal.common.GroupableTableHeader this is the part of table drawing ..... if(tabledraw) { tabledraw=false; for (int k = 0; k < m_data.getColumnCount(); k++) { TableCellRenderer renderer; if (k==Kehadirantable.COL_ALOKASI) renderer = new CheckCellRenderer(); else { DefaultTableCellRenderer … | |
How this concept is related to JavaScript's asynchronous nature? | |
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null. The error is from this line of code: home.addItem(new ModelItem(ID++, "Original Nuggets Meal", "", 90, "KFC", new ImageIcon(getClass().getResource("icon/img2.png")))); i use the correct folder as it is in a package in the same source of the file. please help! | |
Dear All, In my Application i am downloading a file. on button click using servlet. after clicking the button servlet called and download dialog box opens with open / save and cancel button. i want to trace these button events. on open or save i want to update status 'true' … | |
Describe prototypal inheritance in JavaScript. How does it differ from classical inheritance in other programming languages? | |
I get the following exception Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null My code is java.net.URL auth = getClass().getResource("auth.jpg"); Icon auth1 = new ImageIcon(auth); java.net.URL alert = getClass().getResource("alert.jpg"); Icon alert1 = new ImageIcon(alert); java.net.URL insuf = getClass().getResource("insuf.jpg"); Icon insuf1 = new ImageIcon(insuf); java.net.URL inva = … | |
Is it OK to have if statement in the constructor Thanks [CODE] public class CTime { private int start_hour; private int end_hour; private int start_minute; private int end_minute; public CTime(int h1,int m1,int h2,int m2){ if(h1>=7 && h2<17 && h2*60+m2>h1*60+m1){ setStartHour(h1); setStartMinute(m1); setEndHour(h2); setEndMinute(m2); } }[/CODE] | |
I've just finished reading Eric Matthes' Python Crash Course. A book which I found great to learn Python within a short time. The learning process wasn't really hard for me as I was already familiar with programming in other languages. Now I'm done with it and I've just started learning … | |
If any of you have hands-on experience in developing texting platforms or have insights into the considerations involved, I would greatly appreciate your input. Factors such as real-time capabilities, scalability, integration with messaging protocols, and compatibility across devices are of utmost importance. | |
heyy guys.. m implementing PEER TO PEER FILE TRANSFER.. What protocol should I use? TCP or UDP? And why? | |
Hello, I am a programmer, but I stopped a long time ago due to the situation in our country, and I want to work again. Please help me with some money to buy your brother’s laptop from Syria. | |
It is to make some changes to an existing app, does anyone know how to use this tool? :) | |
Hi guyz, What is the main purpose of alpha and beta testing? From your own personal experience. Why is Beta Testing is very much important in mobile app development? | |
What are the best platforms that you would prefer for mobile app development? | |
Hi guyz, What are elements in web design? | |
Hi guyz, Is AI is more efficient in understanding the nature language in the space of software development? | |
Hi guys, what are the different types of java applications | |
Hi guyz, What are the APIs you guys using to build an SEO softwares? | |
Hi guyz, What are the 2 main types of software? not specifically, in general. | |
Hey guys!~ the code below is generating this error message "Type mismatch: cannot convert from int to ResultSet" there is no integer types in the database i have made sure they are all strings. I tried making a JavaBean and then just calling it frmo the JSP but when compiling … | |
| |
Hello everyone, i am in some kind of testing stage where i want to test some security flaws on websites/browsers with the cookies. I want to generate google cookies with a different time period. (older than 2 months). Firstly I will try to integrate into the browser via JS Secondly … |
The End.