私はLinuxでSTMP/POP3クライアントを開発したい(クライアント側のみ)。私はデジタル証明書を使用してデータを暗号化したい(私はエンドツーエンドのセキュリティを提供しようとする)。私はまた、簡単なインターフェイス(テキストフィールド、送信ボタン、受信トレイなど)を作成したい。私の質問は:私はjava(これが可能な場合)またはC/C + +(この場合、私はインターフェイス - > QTのためのいくつかのツールを使用する必要があります)でこれを行う必要があります。どう思いますか? 私の2番目の質問:アイデアや推薦や役に立つリンク(または私に役立つもの)があれば、それを感謝します。あなたの最初の質問についてLinuxのSMTP/POP3クライアント
-1
A
答えて
1
(それが可能だ場合)私はJavaでこれを行う必要があるか、C/C++
あなたはあなたと快適に感じる、とあなたは私をしたい場合は、任意の言語を使用することができます私はあなたがスイングやJavafxを使用してグラフィックインターフェイスを作成するのはとても簡単で、あなたの目標を達成するのに役立つ多くのlibrairesがあるので、あなたはjavaを使うことをお勧めします。
そして、あなたの2つ目の質問について
あなたが任意のアイデア/勧告や役に立つリンク
を持っている場合は、最初からご案内します便利なチュートリアルを見つけることができますが、このウェブサイトで終わりを告げます:JavaMail API Tutorial - Tutorialspoint
ここでは単純なアプリケーションインターフェイスです。JavaFxを使用して作成したプロジェクトで開始するには、次の手順を実行します。
Simple Application UI Using JavaFX Desktop Screen-shot
Main.java
package application;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.fxml.FXMLLoader;
public class Main extends Application {
@Override
public void start(Stage primaryStage) {
try {
AnchorPane root = (AnchorPane)FXMLLoader.load(getClass().getResource("Email.fxml"));
Scene scene = new Scene(root,400,400);
scene.getStylesheets().add(getClass().getResource("application.css").toExternalForm());
primaryStage.setScene(scene);
primaryStage.show();
} catch(Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
launch(args);
}
}
EmailController.java
package application;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
public class EmailController {
@FXML
private ResourceBundle resources;
@FXML
private URL location;
@FXML
private TextField fromField;
@FXML
private TextField toField;
@FXML
private TextField loginField;
@FXML
private PasswordField passwordField;
@FXML
private TextField subjectField;
@FXML
private TextArea messageField;
@FXML
private Button deleteButton;
@FXML
private Button sendButton;
@FXML
void initialize() {
}
}
Email.fxml
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.PasswordField?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<fx:root type="AnchorPane" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/8.0.111" fx:controller="application.EmailController">
<children>
<Pane prefHeight="522.0" prefWidth="761.0">
<children>
<VBox prefHeight="522.0" prefWidth="761.0">
<children>
<GridPane gridLinesVisible="true">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="328.0" minWidth="10.0" prefWidth="131.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="635.0" minWidth="10.0" prefWidth="630.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label alignment="CENTER_RIGHT" prefHeight="23.0" prefWidth="136.0" text="From : ">
<font>
<Font name="Segoe UI" size="18.0" />
</font>
</Label>
<TextField fx:id="fromField" GridPane.columnIndex="1" />
<Label alignment="CENTER_RIGHT" prefHeight="17.0" prefWidth="134.0" text="To : " textAlignment="CENTER" GridPane.rowIndex="1">
<font>
<Font name="Segoe UI" size="18.0" />
</font>
</Label>
<Label alignment="CENTER_RIGHT" prefHeight="17.0" prefWidth="134.0" text="Login : " textAlignment="CENTER" GridPane.rowIndex="2">
<font>
<Font name="Segoe UI" size="18.0" />
</font>
</Label>
<TextField fx:id="toField" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<TextField fx:id="loginField" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label alignment="CENTER_RIGHT" prefHeight="17.0" prefWidth="134.0" text="Password : " textAlignment="CENTER" GridPane.rowIndex="3">
<font>
<Font name="Segoe UI" size="18.0" />
</font>
</Label>
<PasswordField fx:id="passwordField" GridPane.columnIndex="1" GridPane.rowIndex="3" />
</children>
</GridPane>
<GridPane prefHeight="240.0" prefWidth="681.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="659.0" minWidth="10.0" prefWidth="152.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="722.0" minWidth="10.0" prefWidth="609.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints />
<RowConstraints minHeight="10.0" prefHeight="30.0" />
</rowConstraints>
<children>
<Label alignment="CENTER_RIGHT" prefHeight="23.0" prefWidth="150.0" text="Subject : ">
<font>
<Font name="Segoe UI" size="18.0" />
</font>
</Label>
<TextField fx:id="subjectField" GridPane.columnIndex="1" />
<Label alignment="CENTER_RIGHT" prefHeight="23.0" prefWidth="150.0" text="Message : " GridPane.hgrow="ALWAYS" GridPane.rowIndex="1" GridPane.vgrow="ALWAYS">
<font>
<Font name="Segoe UI" size="18.0" />
</font>
</Label>
<TextArea fx:id="messageField" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="1" GridPane.rowSpan="2">
<GridPane.margin>
<Insets top="10.0" />
</GridPane.margin>
</TextArea>
</children>
<VBox.margin>
<Insets left="30.0" right="30.0" top="20.0" />
</VBox.margin>
</GridPane>
<Pane prefHeight="200.0" prefWidth="200.0">
<children>
<Button fx:id="deleteButton" layoutX="220.0" layoutY="30.0" mnemonicParsing="false" prefHeight="30.0" prefWidth="150.0" text="Delete">
<font>
<Font name="Segoe UI" size="24.0" />
</font>
</Button>
<Button fx:id="sendButton" layoutX="450.0" layoutY="30.0" mnemonicParsing="false" prefHeight="30.0" prefWidth="150.0" text="SEND">
<font>
<Font name="Segoe UI" size="24.0" />
</font>
</Button>
</children>
</Pane>
</children>
</VBox>
</children>
</Pane>
</children>
</fx:root>
関連する問題
- 1. LinuxマシンのTPTPクライアント
- 2. LinuxのTCPクライアント/サーバ
- 3. Linux - Syslogクライアント
- 4. linuxのMSMQクライアントのサポート
- 5. LinuxクラスタのWindows上のHadoop2クライアント
- 6. (のlinux/C++での)Conecting TCPクライアント
- 7. LinuxクライアントからのWCFサービスの使用
- 8. クライアントとサーバ間のLinuxスニファLibpcap
- 9. Linux(Raspberry Pi)の電話帳アクセス(PBAP)クライアント
- 10. oracleインスタント・クライアントzipファイルのインストール(Linux)
- 11. クライアント証明書HttpClient .Net Core Docker Linux
- 12. TFTPサーバコードをtftp linuxクライアントでテストする
- 13. LinuxプロジェクトでJavaプロジェクトをクライアントにデプロイ
- 14. MongoDB GUIクライアント(クロスプラットフォームまたはLinux)
- 15. 単一のセッションでLinux X11の複数のクライアント
- 16. Cの単純なLinux Bindシェル - クライアントへのシェルコントロールの返信
- 17. LinuxからWindowsへのSVNサーバーの移行 - クライアントへの影響?
- 18. Apache FTPSクライアントstore UNIX/Linux/MaxからのFTPSサーバのファイル
- 19. cx_Oracle.InterfaceError:私は、任意のOracleクライアントをインストールするには、Linuxの
- 20. XMLフォーマットをサポートする任意のLinux SQL Serverクライアント(コマンドライン)?
- 21. Linux OS用のGithub GUIクライアントはありますか?
- 22. * ARGV [] Linuxのソケットプログラミングでは、サーバからクライアントへ
- 23. アマゾンマイクロec2サーバー(Amazon Linux)にSVNクライアントをインストールするには
- 24. OpenSSL SRP経由でLinuxサーバで動作するAndroid SRPクライアント
- 25. マルチキャストサーバーとクライアントとして動作するLinuxソケット
- 26. LinuxマシンでIPAクライアント(FreeIPA)を設定する
- 27. PostgreSQL 9.3.3クライアントをLinux Mintにインストールするには?
- 28. ヘッドレスLinuxサーバでgitクライアントを使用する
- 29. gitサーバーとクライアントがLinuxにセットアップされました
- 30. linux cクライアント - データ送信能力を追加する
は、あなたの意見をありがとう! –