javafx implementation of data transfer between controller s
Here are the contents of two posts: https://blog.csdn.net/u012880338/article/details/69063776 https://www.jianshu.com/p/6950b68970da
Communication between avafxcontrollers Background: Recently, I was finishing the design and needed to make things with JavaFX, but I didn't touch it before, so I had to start to do it. However, I can't find too ...
Posted by bkbragg on Sun, 19 Jan 2020 07:04:47 +0100
Front end cross domain problem solving process record I used
First of all, I'm lazy. I haven't recorded my work for a long time. I hope I don't forget my original intention.
Recently, I have such a demand. We are equipment software companies. Therefore, one of the functions is to modify the IP and port of our own management interface. After the modification, ...
Posted by aconite on Sun, 19 Jan 2020 05:00:43 +0100
Using itext5 to export PDF form documents
Recently, I got a requirement, which needs to export PDF documents. There are many ways to realize it on the market. After testing and research, I decided to use itext5 to realize it. If I don't say much, I'll do what I say.
1. Dependent import
<!-- https://mvnrepository.com/artifact/com.itextpdf/i ...
Posted by nuttynibbles on Thu, 16 Jan 2020 12:09:47 +0100
Analysis of tts TextToSpeech source code principle of android system and customization of tts engine
TextToSpeech is the text to speech service, which is a native interface service provided by Android system. The native tts engine application can download the resource file of the corresponding language through detecting the system language, so as to achieve the ability of broadcasting the text of the s ...
Posted by Renlok on Sat, 11 Jan 2020 06:18:46 +0100
How can Android judge whether the soft keyboard pops up (display)
In development, sometimes when you exit the interface, if the keyboard pops up, you need to close the keyboard first, and then exit the Activity, how can you change the operation? Please see the following ways?
if (inputMethodManager.isActive(editText)) {
Toast.makeText(MainActivity.this, "display", Toast.LENGTH_SHORT). ...
Posted by TashaAT on Mon, 06 Jan 2020 21:42:57 +0100
ABCD custom entrypoint
order
This paper focuses on the use of jib custom entrypoint
maven
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>0.9.10</version>
<configuration>
<container>
<ports>
<port>8080</port&g ...
Posted by Adrianphp on Mon, 06 Jan 2020 01:09:57 +0100
android adds a triangle icon in the upper right corner and displays text inside the icon
The new module of item 1 has an icon on the right which is displayed in the upper right corner, as shown in the figure
After thinking about how to use shape to draw a background, put it in the upper right corner, draw out the words as if there is a problem in putting them on the display, google it and find a piece of informati ...
Posted by incarnate on Sun, 05 Jan 2020 19:02:44 +0100
Using google maps to develop positioning function in angular4 +
Preface
Here is the link to register google map api key( I am a link. ), the unregistered partners can register. google map needs to be used.
Here is the JS tutorial link( Tutorial links ), and Official documents
In addition, there must be a VPN, or the map will not load
text
First, create an angular4 + program,
ng new go ...
Posted by linux1880 on Thu, 02 Jan 2020 04:31:27 +0100
Android self implementation percentage layout
In development, component layout is the work that everyone must face in daily development. For Android, there are five common layouts, namely:
LinearLayout (linear layout)
Tablelayout (table layout)
Relativelayout
Absolute layout
FrameLayout (frame layout)
However, if we can layout the interface in a percentage way in th ...
Posted by goatboy on Wed, 01 Jan 2020 11:32:06 +0100
No photos can be obtained after photos are taken, such as Xiaomi Huawei mobile phone
Problem Abstract: no photos can be obtained after photos are taken with Xiaomi Huawei mobile phone
Scene appears
Ordinary camera call, pass in a path in intent, and call this intention.
There is no problem in the glory 8X of the test machine. You can get the photos.
In Xiaomi system and Huawei's maimang 4, there are no photos on the path.
/* ...
Posted by chrisdarby on Mon, 23 Dec 2019 22:34:12 +0100