📄 barcodelicense.java
字号:
package com.bokai.barcodes;
class BarcodeLicense
{
BarcodeLicense()
{
_licType = 1;
_licUser = "Licensed User";
_licSerial = "";
_trialDays = 999999999;
}
String getBarcodeExtraText()
{
return "";
}
String getInvalidLicenseShortText()
{
return null;
}
String getLicenseText(String s)
{
return "This software is licensed to: " + _licUser + ".";
}
int getLicenseType()
{
return 1;
}
String loadLicense(String s)
{
return null;
}
static final int LIC_VALID = 1;
static final int LIC_TRIAL = 2;
static final int LIC_TRIAL_EXPIRED = 3;
static final int LIC_INVALID = 4;
static final int LIC_DEMO = 5;
protected int _licType;
protected String _licUser;
protected String _licSerial;
protected int _trialDays;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -