2,611 Recommended Topics
Remove Filter | |
Hello, May I know why the frame pops up double when I call it? Thank You! Login.java (line 63); import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.FileReader; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JTextField; public class Login{ JFrame frame = new JFrame(); JButton loginButton = … Programming java | |
Hi DW. Anyone who knows how can I achieve this? `List<String> dynamic[i];` The reason why I need this is that I'm creating a dynamic list with nested lists so there's no fixed number of data the list can be, this is inside the `for` statement which receive the json data … | |
Hi guys, I am relatively new to Python and have been working on a calculator application. It is relatively simple, but I would like to share it with everyone here in the group. I hope that there is someone in Daniweb who can guide me through Python. As I read … Programming python | |
My son uses Anaconda so I thought I'd install it so we could collaborate. I downloaded and installed the latest version. When I ran Anaconda Navigator, the first thing it told me was "there is a new version available". That's when I started having misgivings, but I downloaded and installed … Programming python | |
Hi everyone I have a problem when I run the vb.net program on VS2010 the following error appears: Error while trying to run project: Unable to start program 'G:\TREEVIEW_uc_cr\bin\debug\Treeview_UC.exe' Please help in solving this problem. Thank for advance | |
I don't get what's the problem with this Dictionary created using Arraylist and Socket . I get SocketException error I don't know why also I tried to created a method to read.... ClientCode: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.util.Scanner; import java.net.SocketException; public class Client … | |
I am looking for a tool for create CSV flat files for my eBay abd Alibaba stores. Can anyone please guide me for a best solution? Thanks | |
## Introduction ## In Android projects, **DataSource** classes act as entry points to interacting with local or remote data sources. Their dependencies tend to be HTTP clients, the database, or DAOs, and their dependents are usually **Repository** classes. In this tutorial, we will learn how to provide a fake **DataSource** … | |
## Introduction ## In this tutorial, we will learn how to create an instrumented test for Navigation Components. ## Goals ## At the end of the tutorial, you would have learned: 1. How to test Navigation Components. ## Tools Required ## 1. Android Studio. The version used in this tutorial … | |
Hi Everyone! I am new here, and the main purpose of joining this community is getting some help. Actually, I am designing a PHP website where I need to fetch US vehicles data into PHP. I have already used this source to get the vehicle's dataset from here https://www.back4app.com/database/back4app/car-make-model-dataset. Still, … | |
## Traversal In Binary Tree : ## **Preorder traversal (NLR) :** 1. Visit the root(N) 2. Traverse the left subtree of root in preorder(L) 3. Traverse the right subtree of root in preorder(R) **Inorder Traversal (LNR) :** 1. Traverse the left subtree of root in inorder(L) 2. Visit the root(N) … | |
Hello there, I created a "users" table on MySQL and created a few columns namely "accountbalance", "ledgerbalance" and "dailybalance" (all three: BIGINTs). I created a test user and added some random figures. I am trying to retrieve the value of this columns (unique to the user) and them pasted separately … | |
hey I'm beginner learning php have hard time to Insert data to product in database with image because the category I did make it work but now I need to update data the same style that I add it with the Insert Code: <?php include('./pro_crud/config.php'); $sql_cat = "SELECT * FROM … | |
Hi this is Palak, I am in third year of my engineering and my interest and strength is python, to enhance my skills into next level I need more study in this field therefore I want to know which python course will be best for me to enhance my skills … Programming python | |
I have a couple of scripts from the same template but different version. I am using php and mysql. I need to know how to update the mysql database and the script from version 1 to version 2 with a single click. | |
So I'm new to programming and currently, I'm creating a school project with Visual Basic and .NET, I know that I might either have a problem with formatting or converting or assigning a value(which I don't know how to do) but whatever I try the multiplied result always gives me … Programming vb.net | |
I'm making a book system, although I'm stuck. My goal is to let a user input again after the user inputs. ex. User inputs Book 1 then User wants to input another and make it Book 2. Also, I want to let the user return to the main menu if … | |
Hi, I'm new here and pretty new to c++ and programming in general. During one of my first excercises I tried to work with classes but I don't know how to output an class object in another class. Here is my Code with the text in [] (Circle.cpp) where I'm … Programming c | |
Create a program that displays the result of a sales transaction. The calculation requires three numbers. The first number represents the product price. The second number is the salesperson commission. These two numbers should be added together. The third value represents a customer discount; subtract this third from the result … Programming c++ | |
Disclaimer: this is a project work. I might be having issues with the follow but here is what I am doing: push changes to github travils builds image and pushes to docker AWS EKS pulls the image and starts container now my issue is the following variable is undefined: const … | |
I just racked my brain for the past hour trying to fix a bug, and learned something new in the process. I always thought that the jQuery function `.data('key')` was a wrapper for `.attr('data-key')`. It turns out that's not the case! Take the example: `<div data-key="foo">`: I can use `data('key', … | |
Unable to execute the VB.Net code even can't view in Print Preview after clicked. Anyone there to help me. I'm new to VB.Net. Imports System.Drawing.Imaging 'Imports IDAutomation.Windows.Forms.LinearBarCode Imports System.Drawing.Printing Imports System.Configuration 'Imports GenCode128 Imports System.Data.SqlClient Public Class Form1 Dim table2 As New DataTable Dim dte = Date.Now() Dim PrintDoc As … Programming vb.net visual-basic | |
## Introduction ## When working with Espresso tests, you might have found it hard to make Espresso wait for background tasks to complete before performing other actions or assertions. Fortunately, the classes in the Espresso **idling** package exist to cover this use case. In this tutorial, we will learn how … | |
## Introduction ## In this tutorial, we will learn how to load data asynchronously into a **ListAdapter** (*a subclass of **RecyclerView.Adapter***). ## Goals ## At the end of the tutorial, you would have learned: 1. How to serve asynchronous data to a **ListAdapter**. ## Tools Required ## 1. Android Studio. … | |
# Introduction # As we move into 2022, businesses will continue to look for ways to become more data-driven. This means that knowing how to use Structured Query Language, commonly called SQL or 'Sequel', will remain an essential skill for data scientists, analysts, and developers. In this post, we'll provide … | |
## Introduction ## In this tutorial, we will learn how to filter and validate Intents fired from the application under test. ## Goals ## At the end of the tutorial, you would have learned: 1. How to filter and validate Intents in Espresso tests. ## Tools Required ## 1. Android … | |
I am using the code below to populate the DataGridView. I need help in that the Barcode Image is not being generated according to the txtLab.text amd the alphamumeric value. Please see attached image. Thanks Private Sub btnAdd_Click(sender As System.Object, e As System.EventArgs) Handles btnAdd.Click Dim alphaNumeric As String = … | |
Hello all, I have a question I have a list view in eg and there are songs in it now I want when I click on a button that he plays all the music in succession but I can't get that done can someone send me an example? Thank you | |
FPDF is a class that provides a useful way to deal with PDF documents using dynamic content. Sometimes, according to a special circumstance, also would be valuable to send directly the PDF as attachment e.g. send an invoice automatically after processing a payment. In this example we use a html … | |
I'm trying to create two car objects, that move across the frame, in opposite directions, at different heights so they don't collide. This type of programming is new to me, and after following the only example I'm provided with, I still can't get this to work. All the code I … |
The End.