Calculating manpower project using java

This tutorial will teach you how to alculating manpower project using java. Paste the code inside the Cal Button double projectdays,projecthours,works,tot; projectdays = Double.parseDouble(txtdays.getText()); projecthours = Double.parseDouble(txthours.getText()); projectdays = Double.parseDouble(txtemp.getText()); tot = projectdays * projecthours * projectdays; txttot.setText(String.valueOf(tot)); Paste the code inside the Exit Button System.exit(0);  

Calculating manpower project using java Read More »

JCombo box Search using Java mysql

This tutorial will teach you how to search records using JComboBox Java and Mysql. we will teach step by step. First we have to load the JComboBox following code will help you to load the Jcombobox private void employeeID() { try { Class.forName(“com.mysql.jdbc.Driver”); con = DriverManager.getConnection(“jdbc:mysql://localhost/melwa”,”root”,””); pst = con.prepareStatement(“select * from employee”); ResultSet rs =

JCombo box Search using Java mysql Read More »

URL Test using Java network programming

This tutorial will teach you how to test Url.defined in the URL class to retrieve information about the URL. public class URLTest { public static void main(String[] args) { URL obj; try { obj = new URL(“https://www.tutussfunny.com”); System.out.println(“Protocal : ” + obj.getProtocol() ); System.out.println(“host : ” + obj.getHost() ); System.out.println(“Port : ” + obj.getPort()); }

URL Test using Java network programming Read More »