| Chunk |
|---|
| Conflicting content |
|---|
/** * A loading priority comparator */ <<<<<<< HEAD public static final Comparator |
| Solution content |
|---|
/** * A loading priority comparator */ public static final Comparator |
| File |
|---|
| RendererConfiguration.java |
| Developer's decision |
|---|
| Version 1 |
| Kind of conflict |
|---|
| Attribute |
| If statement |
| Return statement |
| Static initializer |
| Chunk |
|---|
| Conflicting content |
|---|
subColor = new JButton();
subColor.setText(Messages.getString("MEncoderVideo.31"));
subColor.setBackground(new Color(configuration.getSubsColor()));
<<<<<<< HEAD
subColor.addActionListener((ActionEvent e) -> {
Color newColor = JColorChooser.showDialog(
looksFrame,
Messages.getString("MEncoderVideo.125"),
subColor.getBackground()
);
if (newColor != null) {
subColor.setBackground(newColor);
configuration.setSubsColor(newColor.getRGB());
FFMpegVideo.deleteSubs(); // Color has been changed so all FFmpeg temporary subs will be deleted and make new
=======
subColor.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Color newColor = JColorChooser.showDialog(
looksFrame,
Messages.getString("MEncoderVideo.125"),
subColor.getBackground()
);
if (newColor != null) {
subColor.setBackground(newColor);
configuration.setSubsColor(newColor.getRGB());
SubtitleUtils.deleteSubs(); // Color has been changed so all temporary subs will be deleted and make new
}
>>>>>>> a00ebf2a50d740f4c1a3cef36646e950bf207f9a
}
});
builder.add(subColor, FormLayoutUtil.flip(cc.xyw(13, 14, 3), colSpec, orientation)); |
| Solution content |
|---|
subColor = new JButton();
subColor.setText(Messages.getString("MEncoderVideo.31"));
subColor.setBackground(new Color(configuration.getSubsColor()));
subColor.addActionListener((ActionEvent e) -> {
Color newColor = JColorChooser.showDialog(
looksFrame,
Messages.getString("MEncoderVideo.125"),
subColor.getBackground()
);
if (newColor != null) {
subColor.setBackground(newColor);
configuration.setSubsColor(newColor.getRGB());
SubtitleUtils.deleteSubs(); // Color has been changed so all temporary subs will be deleted and make new
}
});
builder.add(subColor, FormLayoutUtil.flip(cc.xyw(13, 14, 3), colSpec, orientation)); |
| File |
|---|
| TranscodingTab.java |
| Developer's decision |
|---|
| Combination |
| Kind of conflict |
|---|
| Comment |
| Method invocation |