Updated send message form and build

This commit is contained in:
Sambo Chea 2021-05-21 10:55:37 +07:00
parent 77592e1e15
commit 80c1da4e36
2 changed files with 7 additions and 4 deletions

View File

@ -1,9 +1,11 @@
annotation.processing.enabled=true annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false annotation.processing.enabled.in.editor=false
annotation.processing.processor.options=
annotation.processing.processors.list= annotation.processing.processors.list=
annotation.processing.run.all.processors=true annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
application.title=SendMessageApp
application.vendor=CUBETIQ
auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml
build.classes.dir=${build.dir}/classes build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned: # This directory is removed when the project is cleaned:
@ -26,10 +28,11 @@ dist.archive.excludes=
dist.dir=dist dist.dir=dist
dist.jar=${dist.dir}/SendMessageApp.jar dist.jar=${dist.dir}/SendMessageApp.jar
dist.javadoc.dir=${dist.dir}/javadoc dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes= excludes=
file.reference.messaging-client-0.0.1.jar=../Projects/messaging-client/build/libs/messaging-client-0.0.1.jar file.reference.messaging-client-0.0.1.jar=../Projects/messaging-client/build/libs/messaging-client-0.0.1.jar
includes=** includes=**
jar.compress=false jar.compress=true
javac.classpath=\ javac.classpath=\
${file.reference.messaging-client-0.0.1.jar} ${file.reference.messaging-client-0.0.1.jar}
# Space-separated list of extra javac options # Space-separated list of extra javac options
@ -56,7 +59,7 @@ javadoc.splitindex=true
javadoc.use=true javadoc.use=true
javadoc.version=false javadoc.version=false
javadoc.windowtitle= javadoc.windowtitle=
main.class=com.cubetiqs.swing.SendMessageCommandLine main.class=com.cubetiqs.swing.SendMessage
manifest.file=manifest.mf manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false mkdist.disabled=false

View File

@ -178,7 +178,7 @@ public class SendMessage extends javax.swing.JFrame {
JOptionPane.showMessageDialog(this, JOptionPane.showMessageDialog(this,
"Message sent successfully!", "Message sent successfully!",
"Send Message", "Send Message",
JOptionPane.OK_OPTION); JOptionPane.INFORMATION_MESSAGE);
} }
} catch (Exception ex) { } catch (Exception ex) {
JOptionPane.showMessageDialog(this, JOptionPane.showMessageDialog(this,