Posts by Gilcecler Carneiro • 49 points
5 posts
-
2
votes1
answer229
viewsQ: How to add a Library in the main module [ module-info.java ]?
I use the jssc package to access serial port. I added it to the main module module DeskCheck { requires java.desktop; requires java.logging; requires jssc; } But I believe I’m doing it wrong,…
-
1
votes0
answers53
viewsQ: I cannot call print method () and pass serial port instance
In summary: this object variable _serialPort of Form1 I want to use in the Print Class and in the other Form: Config_serial : Form public partial class Form1 : Form { static SerialPort _serialPort;…
c#asked Gilcecler Carneiro 49 -
0
votes1
answer23
viewsQ: Retrieve a Jcombo content in another class
I need to capture the content of this Jcombo that will have door (com1, com2. etc) for in the other class print set port for printing. I’m not getting. public class Form1 extends javax.swing.JFrame…
javaasked Gilcecler Carneiro 49 -
0
votes1
answer106
viewsQ: How popular is Jcombobox with an array of strings?
I have a class that inherits from JFrame and has a JComboBox comboBoxPorta = new JComboBox();. I would like to popular this combo with the serial ports. I have a function in another class to print…
-
1
votes0
answers59
viewsQ: How to use hexadecimal write on serial port
I have a java routine to print on a serial port. I need to pass this routine to c# are very similar, but I believe I’ve bumped into some differences: byte btCmds[] = new byte[200]; stValue = "748";…