Open Excel File Through java Get link Facebook Twitter Pinterest Email Other Apps June 24, 2014 Desktop.getDesktop().open(new File("h://Member.xls")); Get link Facebook Twitter Pinterest Email Other Apps
Simple Sign up design. Android. December 07, 2019 <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" tools:context=".Signup" tools:showIn="@layout/activity_signup"> <ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" android:fillViewport="true" tools:ignore="MissingConstraints"> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertic Read more
Cart page design in android. December 07, 2019 <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" tools:context=".Cart" tools:showIn="@layout/activity_cart"> <LinearLayout android:id="@+id/activity_cart_list" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:weightSu Read more
Set Date on jDateChooser and retrieve record from database. June 23, 2014 d5 = ((JTextField)jDateChooser1.getDateEditor().getUiComponent()).getText(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Calendar c = Calendar.getInstance(); try { c.setTime(sdf.parse(d5)); } catch (ParseException ex) { Logger.getLogger(Commity.class.getName()).log(Level.SEVERE, null, ex); } c.add(Calendar.MONTH, 1); // number of days to add d5 = sdf.format(c.getTime()); System.out.println(""+d5); try { java.util.Date date = new SimpleDateFormat("yyyy-MM-d").parse(String.valueOf(d5)); jDateChooser1.setDate(date); } catch (ParseException ex) { Logger.getLogger(Commity.class.getName()).log(Level.SEVERE, null, ex); } try { Class.forName("com.mysql.jdbc.Driver"); java.sql.Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3305/commity", Read more