What do you want to save?
Add Code snippet
New code examples
-
Java 2022-02-01 21:22:06
customize jcomboboc
package net.codejava.swing.combobox; import java.awt.Color; import java.awt.Component; import java.awt.Font; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.ListCellRenderer; public class MyComboBoxRenderer ext... Add solution -
Other 2022-02-01 20:51:14
filters in xml
package demotest; import java.io.IOException;import java.util.Date; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; imp... Add solution -
Javascript 2022-01-31 03:57:19
Manually Parsing Plain text in Node.js
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=fy2RF9JR1BI */ // Import dependencies const fs = require("fs"); // Read the text file and split it on new lines const lines = f... Add solution -
Java 2022-01-31 01:31:41
otp verification in spring boot
//Your authentication key String authkey = "YourAuthKey"; //Mobile number to which OTP needs to be sent String mobiles = "+91XXXXXXXXXX"; //Your otp value to be sent. String otpValue = "12345"; URLConnection myURLCo... Add solution -
TypeScript 2022-01-30 22:51:00
concat string typescript
var str1 = new String( "This is string one" ); var str2 = new String( "This is string two" ); var str3 = str1.concat(str2.toString()); console.log("str1 + str2 : "+str3) // str1 + str2 : This is string oneThis is string two Add solution -
Other 2022-01-30 20:06:36
poi color palette
import java.io.FileOutputStream; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.FillPatternType; import org.apache.poi.ss.usermodel.IndexedColors; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.xssf.usermodel.X... Add solution