flowchart TD
subgraph 远程Docker界面空白流程
A[问题描述] --> B[检查Docker API是否启用]
B --> C[修改Docker配置文件]
C --> D[重启Docker服务]
D --> E[验证解决方案]
end
flowchart TD
subgraph 远程Docker界面空白流程
A[问题描述] --> B[检查Docker API是否启用]
B --> C[修改Docker配置文件]
C --> D[重启Docker服务]
D --> E[验证解决方案]
end
uses (...)
, SynCommons, SynCrypto, SynEcc, SynLZ;
var
LJWT: TJWTAbstract;
LToken: string;
begin
LJWT := TJWTHS256.Create(StringToUTF8(ASecret), 0, [jrcIssuer, jrcSubject], [], 60);
try
LToken := UTF8ToString( LJWT.Compute(['LanguageId', 'IT', 'CurrencyId', 'EUR'], 'MyApp', 'TheUser') );
WriteLn('Token: ' + LToken);
finally
LJWT.Free;
end;
end;
procedure CreateForm(FormClass: TFormClass; var Reference);
修改工程文件:
Application.Initialize;
Application.CreateForm(TmainForm, mainForm);
Application.ShowMainForm:= False;
if LoginForm.ShowModal then
begin
Application.ShowMainForm := True;
Application.Run;
end
else
begin
Application.Terminate;
end;
erDiagram
User ||--o Registry : 使用
Registry ||--o Docker : 包含
gantt
title 实现JAVA程序界面空白的流程
dateFormat YYYY-MM-DD
section 创建窗口
创建窗口 :a1, 2022-01-01, 5d
section 设置窗口标题和大小
设置窗口标题和大小 :a2, after a1, 3d
section 添加需要显示的组件
添加需要显示的组件 :a3, after a2, 3d
section 显示窗口
显示窗口 :a4, after a3, 2d
unit Main;
interface
uses
Androidapi.JNI.GraphicsContentViewText,
Androidapi.JNI.App,
Androidapi.JNI.JavaTypes,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Dialogs,
FMX.Layouts,
FMX.StdCtrls;
type
TMainForm = class(TForm)
Button1: TButton;
Label1: TLabel;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
MainForm: TMainForm;
implementation
{$R *.fmx}
procedure TMainForm.Button1Click(Sender: TObject);
begin
ShowMessage('Hello, World!');
end;
end.
procedure TTADQuery.Button1Click(Sender: TObject);
begin
ADOQuery1.close;
ADOQuery1.SQL.Clear;
ADOQuery1.SQL.Add('insert into user_table(user_name,user_pwd,power_level'
+')values('''+edit1.Text+''','''+edit2.Text+''','''+edit3.Text+''')');
ADOQuery1.ExecSQL;
edit1.clear; //清空文本编辑框的输入内容
edit2.clear;
edit3.clear;
end;
[MSSQL_Pool]
DriverID=MSSQL
Pooled=True
Server=192.168.2.188
Database=yqsh_SmartTable
User_Name=sa
Password=123
POOL_CleanupTimeout=0
POOL_ExpireTimeout=0
POOL_MaximumItems=50
CharacterSet=UTF8
[MySQL_Pool]
DriverID=MySQL
Pooled=True
Database=ungsm
User_Name=root
Password=1234
POOL_CleanupTimeout=0
POOL_ExpireTimeout=0
POOL_MaximumItems=50
Server=192.168.2.188
UseSSL=True
CharacterSet=utf8
[SQLite_Pool]
Pooled=True
Database=smarttable.db
POOL_MaximumItems=10
DriverID=SQLite
uses ShellApi; ... ShellExecute(Handle, 'open', 'c:\Windows\notepad.exe', nil, nil, SW_SHOWNORMAL) ;
struct snd_card {
int number; /* number of soundcard (index to
snd_cards) */
char id[16]; /* id string of this card */
char driver[16]; /* driver name */
char shortname[32]; /* short name of this soundcard */
char longname[80]; /* name of this soundcard */
char mixername[80]; /* mixer name */
char components[128]; /* card components delimited with
space */
struct module *module; /* top-level module */
void *private_data; /* private data for soundcard */
void (*private_free) (struct snd_card *card); /* callback for freeing of
private data */
struct list_head devices; /* devices */
······
}
@WebServlet("/*")
public class LyyBaseServlet extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
request.setCharacterEncoding("UTF-8");
response.setContentType("application/json;chartset=utf-8");
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
doPost(request,response);
}
protected void jsonResponse(HttpServletResponse response,Object o) throws IOException {
ObjectMapper mapper=new ObjectMapper();
mapper.writeValue(response.getOutputStream(),o);
}
}
<link rel="stylesheet" type="text/css" href="js/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="js/themes/icon.css"/>
<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
// 引用形式的描述信息
// 读取图片文件
File file = new File("image.jpg");
BufferedImage image = ImageIO.read(file);
import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;
public class ImageUtils {
public static BufferedImage loadImage(String filePath) throws Exception {
File file = new File(filePath);
BufferedImage image = ImageIO.read(file);
return image;
}
}
C:\Program Files\Embarcadero\RAD Studio\12.0
C:\Users\Public\Documents\RAD Studio\12.0\Samples\
C:\Program Files\Common Files\