codage de l'ouverture du menu et du pdf

This commit is contained in:
leofranch
2021-11-28 19:36:23 +01:00
parent 5ce152f0d2
commit f79ed0995b
+1 -1
View File
@@ -22,7 +22,7 @@ class PDFTest {
frame.setBackground(Color.gray);
frame.setVisible(true);
PDF doc = new PDF(new File("F:/test_pdf1.pdf"));
PDF doc = new PDF(new File("C:/Users/public/test.pdf"));
JScrollPane scrollPane = new JScrollPane(doc);
scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);