reset password email

Fixed: WordPress not sending reset password email

WordPress not sending reset password email or account registration email is a common problem faced by WordPress beginner bloggers. Some of the questions they ask me are why is WordPress not sending contact email notifications, why am I not getting reset password email on an e-commerce website.…

How to check if a string contains a digit and return true

String class in java represent character strings .Just like other constants Strings values cannot be changed.String objects  can be shared and they are immutable.Example of a  string in java String str=”Eric loves programming”. Today we are going to use different String class methods to write…

Creating bottom navigation view in Android application

Creating bottom navigation view in Android application

Today we are going to learn how to create Android bottom navigation view which makes applications functions easily accessible to the user by just one click. Let get started. We are going to create a new Project in Android Studio and name it as “BottomNavigation“…

How to create a splash screen in android

How to create a splash screen in android

When an Android application starts for the first time in a device, it takes some time before the application loads.Instead of showing a blank screen that, its good as a developer to design a splash screen that tells a user to either hang on it…

JLabel -example

Creating a JLabel with Text Example

Below code creates a Simple JLabel with Text Example using JLabel() constructor method.Note that JLabel class has several methods.   /** * * @author Eric * Email:kawi3462@gmail.com * Site:www.techoverload.net */ import java.awt.FlowLayout; import javax.swing.JFrame; import javax.swing.JLabel; public class JLabelText extends JFrame { public JLabelText() {…

setEnabled

Check whether a JLabel is Enabled or Visible.

JLabel.setEnanbled() methods enable a JLabel or make it visible in it container.If you set false, the JLabel is not visible and if set truth, the JLabel is visible. Below code creates two JLabels, one is enabled and the other is not enabled. /** * *…

ImageIcon

Add ImageIcon to a JLabel and center it

/** * * @author Eric * Email:kawi3462@gmail.com * Site:www.techoverload.net */ import java.awt.FlowLayout; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.ImageIcon; public class JLabelImageIcon extends JFrame { public JLabelImageIcon() { super("JLabel with Image Icon Example"); setSize(400,400); setLayout(new FlowLayout()); ImageIcon icon=new ImageIcon("C:/Users/acer/Downloads/java.png"); JLabel label=new JLabel("Java Icon ",icon,JLabel.CENTER); add(label); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);…

Write a function that takes an array of integers as an argument and returns a value based on the sums of the even and odd numbers in the array.

Write a function that takes an array of integers as an argument and returns a value based on the sums of the even and odd numbers in the array. Let X = the sum of the odd numbers in the array and let Y = the…

java function

Write a java function that accepts an integer array and returns 1 if it is a centered array, otherwise it returns 0.

An array with an odd number of elements is said to be centered if all elements (except the middle one) are strictly greater than the value of the middle element. Note that only arrays with an odd number of elements have a middle element. Write…