I have a log4j.xml with a customized appender like: <appender name="console" class="com.example.MyAppender"> <layout class="org.apache.log4
How to make function selectRecords("select * from Seva_Details"); written in a JFrame accessible in another, separate JFrame? public void selectRecords(String S
I know Java 16/17/18 is not compatible with java 8 (android), but is-it a way to generate byte-code for android to execute the program on my phone? Or trans-cod
I am writing a Gradle project with Springfox-swagger-ui 3.0.0 to present nice swagger UI with Api documentation. compileOnly "io.springfox:springfox-swagger-ui:
In my project which need jdk 1.8, but there is default openjdk 17 in my mac. So I remove it from Library/Java/JavaVirtualMachines. But when I run java -version
I've been trying to create a simple register form using GUI and I am having a hard time in saving the user inputs from JTextfield to a txt file. So far this is
I know core Java, I want to learn Maven/Gradle. But I want to know why maven or gradle is required. is there any way to understand the problem
I am wondering if it is possible to perform a fade out/fade in animation on a specific line of a textview. I have a two line textview which I would like the "ti
I have some Game entity that I want to map in GameDto. In Game I have another Game field basedOn. In GameDto I have basedOnName, basedOnId and basedOnCheckBox f
I have recently started using JedisCluster for my application. There is little to no documentation and examples for the same. I tested a use case and the result
Is there any way that I can run ClipboardManger in the background on Android 12 I developed a clipboard application where any text I copy it, It will save in my
This is the working code to capture screenshot for failure testcases in Extent reports I am trying to put inside TESTNG listeners: @AfterMethod public void tear
I am trying to replace one word in a txt file with a new one from user input (Using Java in Eclipse IDE). For example: My txt file is as follows: Jacket 12 59.9
I have to create a program in java, which is based on an ordering system. I have the following classes : orders, orders list, supplier, supplier list, payment,
ex: abc:1234567,cd:2345678,efg:3456789012 expected outcome 2345678 I tried (?!abc)\d{7,7} my result: 1234567
I have configured crashlytics as per Firebase Documentation https://firebase.google.com/docs/crashlytics/get-started?platform=android. But crash reports not gen
ex: abc:1234567,cd:2345678,efg:3456789012 expected outcome 2345678 I tried (?!abc)\d{7,7} my result: 1234567
I have three test case in different java file and want to invoke it using tomcat server by clicking html button. This is my html <form action="case1" method=
I have three test case in different java file and want to invoke it using tomcat server by clicking html button. This is my html <form action="case1" method=
I have a simple application it fails to load with the below error APPLICATION FAILED TO START Description: An attempt was made to call a method that does not ex