35,617 Topics

Member Avatar for
Member Avatar for blockard

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"?

Member Avatar for Ulfson
-1
56
Member Avatar for js180

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 …

Member Avatar for Dani
-1
321
Member Avatar for YashSmith

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?

-2
30
Member Avatar for YashSmith

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.

Member Avatar for rproffitt
0
26
Member Avatar for Ray brad

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.

Member Avatar for Dani
2
89
Member Avatar for 勾玉

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 …

Member Avatar for elary
3
86
Member Avatar for shane_18

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

Member Avatar for Salem
-1
24
Member Avatar for mateopg

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 …

Member Avatar for PabloRef
2
82
Member Avatar for JuanB

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

Member Avatar for Dani
0
22
Member Avatar for Bdill7

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 …

Member Avatar for hostingspell
2
80
Member Avatar for mateopg

I need opinions or advice on an application that I want to program in Java to learn programming logic through short questions.

Member Avatar for rproffitt
0
39
Member Avatar for DavidKroukamp

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 …

Member Avatar for Bdill7
5
23K
Member Avatar for Mr.M

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.

Member Avatar for WilliamOG
1
129
Member Avatar for TaraRiddle

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!

Member Avatar for WendyDolan
0
1K
Member Avatar for sarfaraz_2

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 …

Member Avatar for DEEPAK_84
0
65
Member Avatar for ASubhan

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.

Member Avatar for DEEPAK_84
1
89
Member Avatar for ruhiparveen0310
Member Avatar for Kajal_14
Member Avatar for ASubhan

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.

Member Avatar for trueframe
0
60
Member Avatar for varone

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 …

Member Avatar for varone
2
136
Member Avatar for Karen Morrow
Member Avatar for jprog1000

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 …

Member Avatar for aishamushtaq
2
197
Member Avatar for JILA
0
13
Member Avatar for Naija kid_1

Hi, Goodday everyone, I'm new to web development, please if I had questions, could I ask on her for a help reply?

Member Avatar for Dani
0
97
Member Avatar for nikk8a

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 …

Member Avatar for Sachin_41
0
10K
Member Avatar for Vijay_34

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.

Member Avatar for Esteban_5
1
115
Member Avatar for Lius

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 …

Member Avatar for Jan_315
0
900
Member Avatar for jayashree10
Member Avatar for Shawne

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!

Member Avatar for Shawne
0
358
Member Avatar for narayanabhilash

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' …

Member Avatar for Aliyan_1
0
1K
Member Avatar for jayashree10

Describe prototypal inheritance in JavaScript. How does it differ from classical inheritance in other programming languages?

-2
33
Member Avatar for techlifelk

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 = …

Member Avatar for Dani
0
33K
Member Avatar for kukuruku

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]

Member Avatar for Washington AM
0
9K
Member Avatar for Artin_1

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 …

Member Avatar for Reverend Jim
0
108
Member Avatar for raj_41

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.

Member Avatar for Sajid_21
0
218
Member Avatar for abhishek_s_n
Member Avatar for Sofiia
0
1K
Member Avatar for abod_1

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.

Member Avatar for Reverend Jim
1
79
Member Avatar for Alex8585

It is to make some changes to an existing app, does anyone know how to use this tool? :)

Member Avatar for rproffitt
0
55
Member Avatar for Mindmade

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?

Member Avatar for Gulshan_6
-2
49
Member Avatar for GAMA44D
Member Avatar for Mindmade
Member Avatar for yddevelopers
-1
77
Member Avatar for Mindmade
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-2
53
Member Avatar for Mindmade
Member Avatar for Mindmade
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-1
447
Member Avatar for OmarAli84

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 …

Member Avatar for Shiva p
0
3K
Member Avatar for Zeroday-AIAST
Member Avatar for Read a Book

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 …

Member Avatar for AndreRet
1
444
Member Avatar for Mindmade

The End.